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.

Parallelize exact-version Docker publication

rcourtmandca06991c298
diff --git a/.github/workflows/publish-docker.yml b/.github/workflows/publish-docker.yml
index 68cace07f8..eaea1a8eac 100644
--- a/.github/workflows/publish-docker.yml
+++ b/.github/workflows/publish-docker.yml
@@ -30,8 +30,15 @@ permissions:
jobs:
publish:
+ name: Publish ${{ matrix.image }} image
runs-on: ubuntu-24.04
timeout-minutes: 60 # Increased for multi-arch builds with QEMU
+ strategy:
+ fail-fast: false
+ matrix:
+ image:
+ - server
+ - control-plane
permissions:
contents: read
packages: write
@@ -117,6 +124,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Assemble and push Pulse server image (multi-arch)
+ if: matrix.image == 'server'
id: build_server_image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
@@ -136,6 +144,7 @@ jobs:
ghcr.io/${{ github.repository_owner }}/pulse:${{ steps.version.outputs.version }}
- name: Attest Pulse server image on Docker Hub
+ if: matrix.image == 'server'
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
with:
subject-name: docker.io/rcourtman/pulse
@@ -144,6 +153,7 @@ jobs:
create-storage-record: false
- name: Attest Pulse server image on GHCR
+ if: matrix.image == 'server'
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
with:
subject-name: ghcr.io/${{ github.repository_owner }}/pulse
@@ -152,6 +162,7 @@ jobs:
create-storage-record: false
- name: Assemble and push Pulse control-plane image (multi-arch)
+ if: matrix.image == 'control-plane'
id: build_control_plane_image
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
@@ -172,6 +183,7 @@ jobs:
ghcr.io/${{ github.repository_owner }}/pulse-control-plane:${{ steps.version.outputs.version }}
- name: Attest Pulse control-plane image on Docker Hub
+ if: matrix.image == 'control-plane'
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
with:
subject-name: docker.io/rcourtman/pulse-control-plane
@@ -180,6 +192,7 @@ jobs:
create-storage-record: false
- name: Attest Pulse control-plane image on GHCR
+ if: matrix.image == 'control-plane'
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
with:
subject-name: ghcr.io/${{ github.repository_owner }}/pulse-control-plane
@@ -188,17 +201,19 @@ jobs:
create-storage-record: false
- name: Output image information
+ env:
+ IMAGE_KIND: ${{ matrix.image }}
run: |
- echo "✅ Exact-version Docker images staged successfully!"
- echo ""
- echo "Server images (linux/amd64, linux/arm64):"
- echo " - rcourtman/pulse:${{ steps.version.outputs.tag }}"
- echo " - rcourtman/pulse:${{ steps.version.outputs.version }}"
- echo ""
- echo "Control-plane images (linux/amd64, linux/arm64):"
- echo " - rcourtman/pulse-control-plane:${{ steps.version.outputs.tag }}"
- echo " - rcourtman/pulse-control-plane:${{ steps.version.outputs.version }}"
- echo ""
- echo "Pulse Agent binaries ship as release assets, not as a Docker image."
- echo "See the GitHub release page for pulse-agent-{darwin,freebsd,linux,windows}-{amd64,arm64,...}."
+ echo "✅ Exact-version ${IMAGE_KIND} Docker image staged successfully!"
+ if [[ "${IMAGE_KIND}" == "server" ]]; then
+ echo "Server images (linux/amd64, linux/arm64):"
+ echo " - rcourtman/pulse:${{ steps.version.outputs.tag }}"
+ echo " - rcourtman/pulse:${{ steps.version.outputs.version }}"
+ echo "Pulse Agent binaries ship as release assets, not as a Docker image."
+ echo "See the GitHub release page for pulse-agent-{darwin,freebsd,linux,windows}-{amd64,arm64,...}."
+ else
+ echo "Control-plane images (linux/amd64, linux/arm64):"
+ echo " - rcourtman/pulse-control-plane:${{ steps.version.outputs.tag }}"
+ echo " - rcourtman/pulse-control-plane:${{ steps.version.outputs.version }}"
+ fi
echo "Floating aliases are promoted separately at the activation barrier."
diff --git a/docs/release-control/v6/internal/records/release-acceleration-v6.3.0-rc.5-2026-08-21.md b/docs/release-control/v6/internal/records/release-acceleration-v6.3.0-rc.5-2026-08-21.md
index 39e5ee7c93..0e7e79b54a 100644
--- a/docs/release-control/v6/internal/records/release-acceleration-v6.3.0-rc.5-2026-08-21.md
+++ b/docs/release-control/v6/internal/records/release-acceleration-v6.3.0-rc.5-2026-08-21.md
@@ -158,3 +158,13 @@ two observed-size race binaries and the concurrent non-root package graph. If
the worker still cannot supply that floor, the gate reports a capacity failure
at admission instead of entering a one-shard path already known to approach
the 20-minute job timeout.
+
+The public Docker publisher also serialized two independent consumers of the
+same verified container payload: the main server image followed by the provider
+control-plane image and their attestations. The corrected publisher expresses
+those products as a two-leg, fail-independent matrix. Both legs repeat the
+exact-checkout, release-line, and candidate-manifest verification before using
+their product-specific prebuilt target; the reusable workflow still joins both
+results before `release_readiness`. This removes the observed control-plane
+assembly and attestation steps from the server-image critical path without
+changing any tag, registry, provenance, SBOM, or activation contract.
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 92ebaf68fb..541ccb92dd 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -618,7 +618,12 @@ upgrade, update, release, or artifact-selection behavior.
canonical `release_readiness` join must still require candidate container
qualification, draft release validation, exact Docker publication, installer
smoke, and every other immutable gate before activation or floating-alias
- promotion.
+ promotion. The exact-version server and provider control-plane image builds
+ are independent consumers of the same immutable container payload and must
+ publish and attest in separate matrix jobs. Each matrix leg independently
+ verifies the exact checkout and candidate manifest; the reusable workflow
+ succeeds only after both legs finish, so parallel assembly cannot weaken the
+ readiness join or the shared source-SHA boundary.
The backend runner must compile the race-enabled `internal/api` test binary
once, enumerate every top-level test from that exact binary, and generate a
deterministic manifest proving a complete, disjoint partition. Each
diff --git a/scripts/installtests/build_release_assets_test.go b/scripts/installtests/build_release_assets_test.go
index 59acd1e950..70fdce2f59 100644
--- a/scripts/installtests/build_release_assets_test.go
+++ b/scripts/installtests/build_release_assets_test.go
@@ -1406,6 +1406,10 @@ func TestReleaseWorkflowsUseSecretSafeAttestedImageBuilds(t *testing.T) {
}
publish := string(publishBytes)
publishRequired := []string{
+ `name: Publish ${{ matrix.image }} image`,
+ `fail-fast: false`,
+ `- server`,
+ `- control-plane`,
`provenance: mode=max`,
`sbom: true`,
`container_artifact:`,
@@ -1415,6 +1419,8 @@ func TestReleaseWorkflowsUseSecretSafeAttestedImageBuilds(t *testing.T) {
`target: runtime_prebuilt`,
`release_payload=${{ runner.temp }}/release-container-payload/payload/release`,
`id: build_control_plane_image`,
+ `if: matrix.image == 'server'`,
+ `if: matrix.image == 'control-plane'`,
`file: deploy/provider-msp/Dockerfile.control-plane`,
`target: control_plane_prebuilt`,
`compiled_payload=${{ runner.temp }}/release-container-payload/payload/compiled`,
diff --git a/scripts/release_control/release_promotion_policy_test.py b/scripts/release_control/release_promotion_policy_test.py
index 65da3b709e..b652c0b096 100644
--- a/scripts/release_control/release_promotion_policy_test.py
+++ b/scripts/release_control/release_promotion_policy_test.py
@@ -1719,6 +1719,10 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn("not anticipated source", artifact_validator)
self.assertIn("provenance: mode=max", publish)
self.assertIn("sbom: true", publish)
+ self.assertIn("name: Publish ${{ matrix.image }} image", publish)
+ self.assertIn("fail-fast: false", publish)
+ self.assertIn("if: matrix.image == 'server'", publish)
+ self.assertIn("if: matrix.image == 'control-plane'", publish)
self.assertIn("uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4", publish)
self.assertIn("subject-name: docker.io/rcourtman/pulse", publish)
self.assertIn("subject-name: ghcr.io/${{ github.repository_owner }}/pulse", publish)