chore: upgrade pgautoupgrade from 16-alpine to 17-alpine #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "upgrade-341922a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recipe upgrade — bump PostgreSQL sidecar (pgautoupgrade) one major version: 16-alpine → 17-alpine.
HedgeDoc app image (
quay.io/hedgedoc/hedgedoc:1.11.0) is up-to-date perabra recipe upgradeand left untouched.Image tag table
pgautoupgrade/pgautoupgrade:16-alpinepgautoupgrade/pgautoupgrade:17-alpinecompose.postgresql.ymlUpstream release notes
Recipe version bump
Patch (
-z): a sidecar infrastructure bump (Postgres major viapgautoupgrade), no app change, no recipe-level breaking change. The PR does NOT bump thecoop-cloud.${STACK_NAME}.versionlabel — the operator publishes the new release at merge time:Operator action required
pgautoupgraderunspg_upgradeautomatically on next deploy (16 → 17). Plan a brief maintenance window (one-time upgrade, seconds-to-minutes depending on DB size). Back up thepostgresvolume before deploying — the recipe already wiresbackupbot.backuphooks, so operators using backup-bot are covered.Direct-deploy verification (cc-ci dev swarm)
Deployed the WIP
compose.postgresql.ymloverlay underdev-hedgedoc.ci.commoninternet.netand exercised a realpg_upgrade(2-phase deploy): first deployed16-alpineto seed a PG-16 datadir on the volume, then redeployed17-alpineon the SAME volume — pgautoupgrade detected the older datadir and ranpg_upgrade: "Upgrade to PostgreSQL 17.10 complete." Hedgedoc then connected to the upgraded PG-17 instance, confirmed schema intact (All migrations performed successfully— no missing migrations, indicating data was preserved through the major upgrade), and served HTTPS 200. The dev deploy was then torn down (0 leaked stacks / volumes).This is a re-attempt of the same 16→17 bump from 2026-06-19 (PR #2,
!testmeGREEN on drone build 931), which the operator closed without merging; upstream main still has16-alpine, so a fresh upgrade PR is opened here.NOT merged — for operator review.
Tested green on the cc-ci recipe CI server (full suite, cold, against this PR head). NOT merged — for operator review.
cc @trav @notplants
!testme
🌻 cc-ci —
hedgedoc@341922a2✅ passedfull logs · dashboard
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.