Skip to content

Commit f6ca015

Browse files
committed
Point RC1 testers at --version and the rebuilt RC1 images
RC1 is being rebuilt from its tag as 1.0~rc1 packages and pgN-1.0-rc1 images. The blog's README link pointed at main, which has no --version and a 404 install URL. Signed-off-by: Guanzhou Song <26541184+GuanzhouSong@users.noreply.github.com>
1 parent 24edc8f commit f6ca015

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

‎PACKAGE-INSTALL.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ sh documentdb-install.sh
1616
```
1717

1818
This installs v0.117-0 from this repository on PostgreSQL 18; add `--pg-major 17`
19-
for 17. To try v1.0-RC1 instead, enable PGDG and install the RC1 packages from the
20-
[release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1) first, as the
21-
[RC guide](https://documentdb.io/docs/getting-started/release-candidate/) shows. The
22-
installer then reuses them, adds no DocumentDB repository, and only runs setup.
19+
for 17. For disposable RC1 testing, add `--version v1.0-RC1`. The installer then
20+
downloads this host's packages from the
21+
[v1.0-RC1 release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1),
22+
verifies them against its `SHA256SUMS`, and doesn't use this repository. See the
23+
[RC guide](https://documentdb.io/docs/getting-started/release-candidate/).
2324

2425
The site serves the `install.sh` attached to the release named in
2526
`scripts/publish-installer.mjs`, and the build fails if its SHA256 changes.

‎app/services/articleService.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ sh documentdb-install.sh
205205
\`\`\`
206206
207207
This installs v0.117-0 from the package repository on PostgreSQL 18; add \`--pg-major 17\` for 17.
208-
To try v1.0-RC1 instead, enable PGDG and install the RC1 packages from the [release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1) first, as the [RC guide](/docs/getting-started/release-candidate) shows, then run the same installer.
209-
It reuses the installed packages, adds no DocumentDB repository and only runs setup.
208+
For disposable RC1 testing, run \`sh documentdb-install.sh --version v1.0-RC1\` instead.
209+
It downloads this host's packages from the [v1.0-RC1 release](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1), verifies them against its \`SHA256SUMS\` and doesn't use the package repository. See the [RC guide](/docs/getting-started/release-candidate).
210210
RC1 has no maintenance or supported upgrades, so use a disposable host.
211211
212212
## Install
@@ -1258,7 +1258,7 @@ The \`latest\` tag is a convenience alias. Pin an explicit tag for anything repr
12581258
| \`ghcr.io/documentdb/documentdb/documentdb-local:pg18-0.117.0\` | DocumentDB 0.117.0 on PostgreSQL 18 |
12591259
| \`…:pg17-0.117.0\` | DocumentDB 0.117.0 on PostgreSQL 17 |
12601260
| \`…:pg16-0.117.0\` · \`…:pg15-0.117.0\` | PostgreSQL 16 and 15 |
1261-
| \`…:pg15-1.0.0-rc1\` · \`…:pg16-1.0.0-rc1\` · \`…:pg17-1.0.0-rc1\` · \`…:pg18-1.0.0-rc1\` | [v1.0-RC1](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1), for testing only, with [no fixes to RC1 and no upgrade path](/docs/getting-started/release-candidate). No date for 1.0 yet. Use a new, empty data volume. The \`pgNN-1.0.0\` tags point at the same images today but will move to the final 1.0 build. |
1261+
| \`…:pg15-1.0-rc1\` · \`…:pg16-1.0-rc1\` · \`…:pg17-1.0-rc1\` · \`…:pg18-1.0-rc1\` | [v1.0-RC1](https://github.com/documentdb/documentdb/releases/tag/v1.0-RC1), for testing only, with [no fixes to RC1 and no upgrade path](/docs/getting-started/release-candidate). No date for 1.0 yet. Use a new, empty data volume. Don't use the \`pgNN-1.0.0\` tags: they hold an earlier RC1 build and will move to the final 1.0 build. |
12621262
| \`…:latest\` | Currently identical to \`pg17-0.117.0\` |
12631263
12641264
> \`latest\` tracks **PostgreSQL 17**, while the \`documentdb\` package on Linux pins

‎blogs/_posts/2026-10-01-versioning.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ These experimental versions are not intended for long-term use, nor will they be
2727

2828
### Release candidate installation
2929

30-
For installation instructions, see our [README.md](https://github.com/documentdb/documentdb/blob/main/packaging/README.md#clean-host-installer)
30+
For installation instructions, see our [README.md](https://github.com/documentdb/documentdb/blob/v1.0-RC1/packaging/README.md#clean-host-installer)
3131
or use the command below.
3232

3333
```bash

‎tests/packageArticles.test.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,11 @@ describe('Linux package articles', () => {
283283
expect(new Set(tags)).toEqual(new Set([FALLBACK_RELEASE.tagName]));
284284
});
285285

286-
it('serves the stable installer and adds RC1 only through preinstalled release packages', () => {
286+
it('serves the stable installer and selects RC1 only with --version', () => {
287287
expect(linuxPackagesGuideContent).toContain('https://documentdb.io/install.sh');
288288
expect(linuxPackagesGuideContent).toContain('installs v0.117-0 from the package repository');
289-
expect(linuxPackagesGuideContent).toContain('releases/tag/v1.0-RC1');
290-
expect(linuxPackagesGuideContent).toContain('adds no DocumentDB repository');
291-
expect(linuxPackagesGuideContent).not.toContain('--version v1.0-RC1');
289+
expect(linuxPackagesGuideContent).toContain('sh documentdb-install.sh --version v1.0-RC1');
290+
expect(linuxPackagesGuideContent).toContain("doesn't use the package repository");
292291
});
293292

294293
it('uses the current release package guide and artifact version', () => {

0 commit comments

Comments
 (0)