Skip to content

Serve a latest package channel beside stable - #251

Merged
guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:guanzhousong/package-channels
Nov 12, 2026
Merged

guanzhousongmicrosoft merged 1 commit into
documentdb:mainfrom
GuanzhouSong:guanzhousong/package-channels

Conversation

@GuanzhouSong

Copy link
Copy Markdown
Contributor

stable stays on DocumentDB 1.0 for now, and the package site can only serve one release. So 1.2 cannot be installed from the repository at all: the installer and every documented repository line resolve to stable.

This adds a second channel, latest, beside it. The next installer defaults to latest and keeps stable behind --stable.

Channel APT DNF
stable (unchanged) https://documentdb.io/deb stable ubuntu24 https://documentdb.io/rpm/rhel9
latest https://documentdb.io/deb latest ubuntu24 https://documentdb.io/rpm/latest/rhel9

stable keeps its URLs, paths and DOCUMENTDB_VERSION; a build from this branch and one from main differ only in timestamps. latest gets its own pools, so each channel's index lists only its own release, and is selected by a new variable, DOCUMENTDB_LATEST_VERSION (set to v1.2-0). The inventory, signature and smoke checks cover both channels and fail if latest is missing or serves the wrong release.

The install pages are not changed here: they still describe stable and the installer the site pins today. They change together with the installer pin in a follow-up.

CI cannot show the first signed deploy of latest; after it I will check deb/dists/latest/InRelease and rpm/latest/rhel9 against the published key. The Pages artifact grows from about 155 MB to about 222 MB.

DocumentDB 1.2 is out, but stable stays on 1.0 for now. The next
installer defaults to a latest channel, so publish one: APT suite
`latest` and DNF baseurl rpm/latest/rhel9, mirrored from
DOCUMENTDB_LATEST_VERSION or else the newest release. stable keeps its
URLs, paths and variable.

Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
@guanzhousongmicrosoft
guanzhousongmicrosoft merged commit 331376b into documentdb:main Nov 12, 2026
3 checks passed
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