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.

Support PVE sparse release checkout

rcourtmand6591da900d1
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 5afdef8518..d53d30da5c 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -132,6 +132,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
+ sparse-checkout-cone-mode: false
sparse-checkout: |
VERSION
docs/release-control/control_plane.json
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 0e5f8e24c8..3e27fdcec9 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -525,9 +525,11 @@ upgrade, update, release, or artifact-selection behavior.
The canonical public release workflow must run its credential-free prepare
job on the PVE compilation identity so hosted-runner allocation cannot hold
the entire dependency graph. Preparation must release that identity before
- exact-SHA compilation becomes eligible. Dedicated, credential-free PVE
- runner identities must also own the frontend embed bundle and backend race
- gate.
+ exact-SHA compilation becomes eligible. Its sparse checkout must use
+ non-cone patterns because the governed file set includes top-level files and
+ the PVE runner Git version must reject neither those files nor the exact-SHA
+ checkout. Dedicated, credential-free PVE runner identities must also own the
+ frontend embed bundle and backend race gate.
Signing, package publication, and release mutation authority must remain on
hosted jobs. The bundle job must be independent from frontend quality so
backend and browser-smoke lanes can start as soon as the bundle is available.
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 326b78cfd7..abd49ddea6 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -2293,6 +2293,9 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {
if !strings.Contains(prepareJob, "runs-on: [self-hosted, Linux, X64, pulse-pve-compile]") {
t.Fatal("release preparation must avoid a hosted-runner queue before the dependency graph")
}
+ if !strings.Contains(prepareJob, "sparse-checkout-cone-mode: false") {
+ t.Fatal("PVE release preparation must support top-level files with the runner Git version")
+ }
for _, needle := range []string{
"pulse-pve-compile",