Skip to content

Serve DocumentDB 1.2 from the package site - #248

Merged
guanzhousongmicrosoft merged 3 commits into
documentdb:mainfrom
GuanzhouSong:guanzhousong/release-1.2-package-site
Nov 12, 2026
Merged

guanzhousongmicrosoft merged 3 commits into
documentdb:mainfrom
GuanzhouSong:guanzhousong/release-1.2-package-site

Conversation

@GuanzhouSong

Copy link
Copy Markdown
Contributor

documentdb.io serves v1.0-0 today: the APT and YUM repositories, the fallback release on /packages, and the version pins and upgrade steps in the install guides. This moves them to v1.2-0.

The deploy's drift check fails unless FALLBACK_RELEASE matches the mirrored tag, so the repository can't switch to 1.2 without this. The upgrade steps change too: the 1.2 documentdb-setup restarts PostgreSQL itself when it still runs the replaced libraries, and a re-run without --admin-user keeps the admin passwords. The current steps reset the admin password and only cover v0.116 and v0.117. The Docker guide says a newer image leaves an existing volume alone; the 1.2 image updates the extensions at start, one way.

install.sh stays pinned to v1.0-0: the v1.2-0 asset has the same SHA256.

Merge order:

  1. Publish the v1.2-0 release. Until then the package repository CI job fails, because it downloads the public release. Publish the 1.2 documentdb-local image too; latest is still 1.0.0.
  2. Right before merging, set the repository variable DOCUMENTDB_VERSION to v1.2-0. The deploy fails if it and releaseInfo.ts disagree.
  3. Merge. Once it deploys, hosts on the stable repository get 1.2 on their next package upgrade.

The deploy's drift check fails unless the fallback release matches the
mirrored tag, so DOCUMENTDB_VERSION can't move to v1.2-0 without this.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
The 1.2 setup restarts PostgreSQL itself when it still runs the replaced
libraries, and a re-run without --admin-user keeps the admin passwords.
The old steps reset the admin password and only covered v0.116/v0.117.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
The 1.2 image runs ALTER EXTENSION ... UPDATE on a 1.0 or later volume
at start, so the claim that a newer image leaves the schema alone is
wrong once 1.2 is the latest image.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
@guanzhousongmicrosoft
guanzhousongmicrosoft marked this pull request as ready for review November 12, 2026 19:00
@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit 0d47fc7 into documentdb:main Nov 12, 2026
5 of 6 checks passed
guanzhousongmicrosoft pushed a commit that referenced this pull request Nov 12, 2026
stable stays on 1.0 for a week after the 1.2 release, as the image's stable tag does. This reverts #248; re-apply it when stable moves.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Co-authored-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants