Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Tighten rc release packet runbook

rcourtman954a7c06c7c7
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index 66d9b52601..2c879fcd04 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -10,4 +10,6 @@ For the shipped v6 `rc.1` notes, see:
`docs/releases/RELEASE_NOTES_v6.md`
For the current in-repo v6 `rc.2` draft packet, see:
-`docs/releases/RELEASE_NOTES_v6_RC2_DRAFT.md`
+- `docs/releases/RELEASE_NOTES_v6_RC2_DRAFT.md`
+- `docs/releases/V6_CHANGELOG_RC2_DRAFT.md`
+- `docs/releases/V6_RC2_OPERATOR_SUPPORT_PACK_DRAFT.md`
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index f3d1930051..00cbec4e05 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -103,6 +103,11 @@ server-side update execution surfaces.
and draft packets coherently, and each later RC should get its own draft or
published release-notes, changelog, and support packet instead of silently
rewriting the already-shipped `rc.1` operator context in place.
+ The same boundary also owns packet discoverability and operator execution
+ clarity: the release index must point at the full current RC packet rather
+ than only one markdown file, and prerelease runbook commands should stay
+ parameterized to the current candidate version instead of hard-coding stale
+ `rc.1` examples once later RCs exist.
7. Preserve release-matched installer and Helm operator documentation links through `scripts/install.sh`, `.github/workflows/helm-pages.yml`, `.github/workflows/publish-helm-chart.yml`, and the chart metadata itself so deployment guidance and packaged chart metadata do not drift back to branch-tip `main` docs when a release line or promoted tag already exists.
8. Add or change operator-facing hosted tenant runtime canary rollout, batch runtime contract reconciliation, canonical hosted route/public URL generation, or control-plane runtime-registry reconciliation through `cmd/pulse-control-plane/main.go`, `internal/cloudcp/docker/manager.go`, `internal/cloudcp/docker/labels.go`, and `internal/cloudcp/tenant_runtime_rollout.go`
9. Add or change the canonical hosted staging smoke operator path through `scripts/run_hosted_staging_smoke.sh`, `tests/integration/scripts/bootstrap-hosted-mobile-onboarding.mjs`, `tests/integration/scripts/hosted-mobile-token-runtime.mjs`, `tests/integration/scripts/hosted-tenant-runtime.mjs`, and `tests/integration/scripts/relay-mobile-token-helper.go`
diff --git a/docs/releases/V6_PRERELEASE_RUNBOOK.md b/docs/releases/V6_PRERELEASE_RUNBOOK.md
index ac6290d284..8b2604f645 100644
--- a/docs/releases/V6_PRERELEASE_RUNBOOK.md
+++ b/docs/releases/V6_PRERELEASE_RUNBOOK.md
@@ -58,7 +58,11 @@ The workflow auto-marks `-rc.N`/`-alpha.N`/`-beta.N` as prerelease.
1. `pulse/v6-release` is pushed and green in CI.
2. `VERSION` file in `pulse/v6-release` exactly matches the release input version.
-3. Release notes are prepared.
+3. The current RC release packet is prepared and internally linked:
+ - release notes
+ - changelog
+ - operator support pack
+ - `docs/RELEASE_NOTES.md` points at the current in-repo draft packet
4. `PULSE_LICENSE_PUBLIC_KEY` secret is present in GitHub Actions.
## RC Release Steps
@@ -66,11 +70,13 @@ The workflow auto-marks `-rc.N`/`-alpha.N`/`-beta.N` as prerelease.
1. Update version on `pulse/v6-release`:
```bash
+export RC_VERSION="6.0.0-rc.2"
+
git checkout pulse/v6-release
git pull --ff-only
-echo "6.0.0-rc.1" > VERSION
+printf '%s\n' "$RC_VERSION" > VERSION
git add VERSION
-git commit -m "chore(release): bump version to 6.0.0-rc.1"
+git commit -m "chore(release): bump version to ${RC_VERSION}"
git push origin pulse/v6-release
```
@@ -78,16 +84,18 @@ git push origin pulse/v6-release
- Run workflow: `Release Dry Run`
- Ref: `pulse/v6-release`
- Inputs:
- - `version`: `6.0.0-rc.1`
+ - `version`: `RC_VERSION`
- optional `note`
3. Create draft prerelease:
- Run workflow: `Pulse Release Pipeline`
- Ref: `pulse/v6-release`
- Inputs:
- - `version`: `6.0.0-rc.1`
- - `release_notes`: markdown text
+ - `version`: `RC_VERSION`
+ - `release_notes`: markdown text from the current release-notes packet
- `draft_only`: `true`
+ - Keep the current release-notes, changelog, and operator-support packet in
+ sync. Do not update only one of them and treat the packet as ready.
4. Validate draft outputs:
- Confirm assets exist and checksums match.
@@ -96,7 +104,7 @@ git push origin pulse/v6-release
5. Publish prerelease:
- Re-run `Pulse Release Pipeline` on `pulse/v6-release`
- - Same `version` and notes
+ - Same `version` and release-notes packet
- `draft_only`: `false`
- Existing unpublished draft releases for the same tag are updated in place
and their tag is retargeted to the current governed `pulse/v6-release`
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 6d8a983d47..d401491f47 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -122,6 +122,13 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertRegex(release_notes, re.compile(r"(final GA release|stable `v6\.0\.0` release)"))
self.assertNotIn("Pulse v5 Support Transition", release_notes)
+ def test_release_notes_index_points_at_current_rc_packet(self) -> None:
+ release_index = read("docs/RELEASE_NOTES.md")
+ self.assertIn("docs/releases/RELEASE_NOTES_v6.md", release_index)
+ self.assertIn("docs/releases/RELEASE_NOTES_v6_RC2_DRAFT.md", release_index)
+ self.assertIn("docs/releases/V6_CHANGELOG_RC2_DRAFT.md", release_index)
+ self.assertIn("docs/releases/V6_RC2_OPERATOR_SUPPORT_PACK_DRAFT.md", release_index)
+
def test_rehearsal_template_and_workflow_capture_ga_rehearsal_record(self) -> None:
template = read("docs/release-control/v6/internal/RC_TO_GA_REHEARSAL_TEMPLATE.md")
workflow = read(".github/workflows/release-dry-run.yml")
@@ -233,6 +240,12 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("Existing unpublished draft releases for the same tag are updated in place", runbook)
self.assertIn("Do not rewrite shipped RC notes in place", runbook)
self.assertIn("`rc.1`, `rc.2`, and later prerelease", runbook)
+ self.assertIn("The current RC release packet is prepared and internally linked", runbook)
+ self.assertIn("points at the current in-repo draft packet", runbook)
+ self.assertIn('export RC_VERSION="6.0.0-rc.2"', runbook)
+ self.assertIn("printf '%s\\n' \"$RC_VERSION\" > VERSION", runbook)
+ self.assertIn("markdown text from the current release-notes packet", runbook)
+ self.assertIn("Keep the current release-notes, changelog, and operator-support packet in", runbook)
def test_release_artifact_workflows_refuse_stable_without_matching_rc(self) -> None:
publish = read(".github/workflows/publish-docker.yml")