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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Skip release publish downstreams for drafts
rcourtman22a94f47d903
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.ymlindex eeb140a336..5003cb57d2 100644--- a/.github/workflows/create-release.yml+++ b/.github/workflows/create-release.yml@@ -1075,7 +1075,9 @@ jobs:# published asset bundle being well-formed, so we only run it after the# cheaper content checks pass. Skipped for the historical-backfill path# since that flow re-uploads to an already-published release and the- # smoke would just re-confirm what hasn't changed.+ # smoke would just re-confirm what hasn't changed. Also skipped for+ # draft-only runs because draft release assets are not available at the+ # public /releases/download/<tag>/ URL this smoke intentionally exercises.install_sh_smoke:needs:- prepare@@ -1098,7 +1100,8 @@ jobs:# never triggered helm publish, leaving rcourtman.github.io/Pulse/index.yaml# without any v6 chart and breaking `helm install pulse pulse/pulse# --version 6.0.0-rc.5`. Calling the workflow explicitly here is the- # canonical fix.+ # canonical fix. Draft-only runs must not publish the chart because the+ # release has not crossed the operator-controlled publication boundary.publish_helm_chart:needs:- prepare@@ -1120,7 +1123,9 @@ jobs:# customers pulling rcourtman/pulse:latest stayed on whatever the previous# successful release tagged. Calling promote-floating-tags as workflow_call# after validate_release_assets succeeds (which itself waits for the docker- # image to be pullable) guarantees the floating tags advance.+ # image to be pullable) guarantees the floating tags advance. Draft-only+ # runs must not promote floating tags because the release is still private+ # promotion state.promote_floating_tags:needs:- preparediff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.mdindex 0ec549a5f7..ef24dfc0e8 100644--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md@@ -133,7 +133,11 @@ server-side update execution surfaces.`create-release.yml` must call this workflow as a downstream`workflow_call` after `validate-release-assets.yml` succeeds for everyrelease that is not a `historical_asset_backfill_only` run; without- that wiring the smoke gate exists but never protects a release.+ that wiring the smoke gate exists but never protects a release. Draft-only+ release runs are not a publication boundary and must skip downstream+ install smoke, Helm chart publication, and floating tag promotion because+ draft assets are not publicly downloadable and those publish steps would+ advance externally visible state before operator publication.The README's pinned `pulse-installer` ed25519 key must verify`install.sh.sshsig` for the published release; this is enforced by`scripts/validate-release.sh` at build time and re-verified bydiff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.goindex 78517723e6..df7302703f 100644--- a/scripts/installtests/build_release_assets_test.go+++ b/scripts/installtests/build_release_assets_test.go@@ -207,6 +207,14 @@ func TestCreateReleaseUploadsPowerShellInstaller(t *testing.T) {}}+ publishedReleaseGuard := `needs.prepare.outputs.historical_asset_backfill_only != 'true' && github.event.inputs.draft_only != 'true'`+ for _, job := range []string{"install_sh_smoke", "publish_helm_chart", "promote_floating_tags"} {+ block := workflowJobBlock(t, workflow, job)+ if !strings.Contains(block, publishedReleaseGuard) {+ t.Fatalf("create-release.yml job %s must skip historical backfill and draft-only runs before invoking downstream workflow_call", job)+ }+ }+if !strings.Contains(workflow, `draft: ${{ github.event.inputs.draft_only == 'true' }}`) {t.Fatal("create-release.yml must pass the actual draft_only state into validate-release-assets")}@@ -1115,3 +1123,26 @@ func repoFile(parts ...string) string {segments := append([]string{root}, parts...)return filepath.Join(segments...)}++func workflowJobBlock(t *testing.T, workflow, job string) string {+ t.Helper()++ startMarker := "\n " + job + ":\n"+ start := strings.Index(workflow, startMarker)+ if start == -1 {+ t.Fatalf("workflow missing job %s", job)+ }+ start += 1+ rest := workflow[start+len(" "+job+":\n"):]+ end := len(rest)+ for _, line := range strings.Split(rest, "\n") {+ if strings.HasPrefix(line, " ") && !strings.HasPrefix(line, " ") {+ candidate := strings.Index(rest, "\n"+line)+ if candidate >= 0 {+ end = candidate+ break+ }+ }+ }+ return workflow[start : start+len(" "+job+":\n")+end]+}