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.

Document release qualifier source boundary

rcourtmand742a8784154
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 034a5b58f7..7b0b4f74fc 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -602,7 +602,11 @@ upgrade, update, release, or artifact-selection behavior.
candidate bytes
before exercising the same local runtime through the Helm install/upgrade
smoke. The reusable `qualify-release-containers.yml` workflow owns this
- proof. Standalone candidate dispatches and dry runs invoke it inside the
+ proof. That reusable qualifier must not accept a caller-selected source
+ revision: it inherits the caller event's immutable `github.sha`, checks out
+ that commit without persisting credentials, verifies the checked-out HEAD,
+ and binds candidate-manifest verification to the same SHA before executing
+ repository code. Standalone candidate dispatches and dry runs invoke it inside the
candidate workflow; publishing releases invoke it as a sibling of inert
draft staging so qualification and upload overlap without weakening the
activation join.
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 9aa247cac1..5a3a79f4b8 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -1526,6 +1526,11 @@ func TestReleaseContainerQualificationBindsCheckoutToCallerCommit(t *testing.T)
if err != nil {
t.Fatalf("read create-release.yml: %v", err)
}
+ contractBytes, err := os.ReadFile(repoFile("docs", "release-control", "v6", "internal", "subsystems", "deployment-installability.md"))
+ if err != nil {
+ t.Fatalf("read deployment-installability contract: %v", err)
+ }
+ contract := strings.Join(strings.Fields(string(contractBytes)), " ")
qualifier := string(qualifierBytes)
qualifyJob := workflowJobBlock(t, qualifier, "qualify")
@@ -1548,6 +1553,15 @@ func TestReleaseContainerQualificationBindsCheckoutToCallerCommit(t *testing.T)
t.Fatalf("release container qualification must not accept an arbitrary source ref: %s", forbidden)
}
}
+ for _, required := range []string{
+ "must not accept a caller-selected source revision",
+ "checks out that commit without persisting credentials",
+ "binds candidate-manifest verification to the same SHA",
+ } {
+ if !strings.Contains(contract, required) {
+ t.Fatalf("deployment installability contract is missing the release source-trust boundary: %s", required)
+ }
+ }
callerJobs := map[string]string{
"build-release-candidate.yml": workflowJobBlock(t, string(candidateBytes), "qualify-release-containers"),