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.

Align RC7 Docker install defaults

rcourtman55204cde9b93
diff --git a/docker-compose.yml b/docker-compose.yml
index 2177065852..c9dc1a81f6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,7 +2,7 @@ version: '3.8'
services:
pulse:
- image: ${PULSE_IMAGE:-rcourtman/pulse:6.0.0}
+ image: ${PULSE_IMAGE:-rcourtman/pulse:6.0.0-rc.7}
container_name: pulse
restart: unless-stopped
logging:
diff --git a/docs/release-control/v6/internal/subsystems/deployment-installability.md b/docs/release-control/v6/internal/subsystems/deployment-installability.md
index 1c8bc441d8..9360853add 100644
--- a/docs/release-control/v6/internal/subsystems/deployment-installability.md
+++ b/docs/release-control/v6/internal/subsystems/deployment-installability.md
@@ -796,6 +796,10 @@ compose image default and the standalone installer fallback constant. A draft
release workflow failure caused by stale Docker image pins is a release-packet
blocker until the defaults, tests, and evidence record are refreshed from the
new branch head.
+For the active `v6.0.0-rc.7` cut, the repo-root compose default and
+`scripts/install-docker.sh` fallback must both pin `6.0.0-rc.7`; the stable
+promotion guard remains in force by rejecting leftover `-rc.` defaults only
+when the governed `VERSION` is a stable release.
`internal/updates/` is the live deployment and upgrade planner. It owns
deployment-type detection, update-plan generation, adapter selection, server
diff --git a/scripts/install-docker.sh b/scripts/install-docker.sh
index 10347414c8..02239dec1b 100755
--- a/scripts/install-docker.sh
+++ b/scripts/install-docker.sh
@@ -6,7 +6,7 @@ set -euo pipefail
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
DOCKER_IMAGE_REPO="${DOCKER_IMAGE_REPO:-rcourtman/pulse}"
-CANONICAL_DEFAULT_PULSE_VERSION="6.0.0"
+CANONICAL_DEFAULT_PULSE_VERSION="6.0.0-rc.7"
resolve_default_pulse_version() {
if [ -n "${PULSE_IMAGE_VERSION:-}" ]; then
diff --git a/scripts/installtests/install_docker_sh_test.go b/scripts/installtests/install_docker_sh_test.go
index 8133cb0f58..9177194268 100644
--- a/scripts/installtests/install_docker_sh_test.go
+++ b/scripts/installtests/install_docker_sh_test.go
@@ -21,6 +21,10 @@ func currentReleaseVersion(t *testing.T) string {
return version
}
+func isPrereleaseVersion(version string) bool {
+ return strings.Contains(version, "-")
+}
+
func TestInstallDockerScriptUsesConfiguredImageRepoDefault(t *testing.T) {
workDir := t.TempDir()
version := currentReleaseVersion(t)
@@ -92,7 +96,7 @@ func TestRepoDockerComposeDefaultPinsCurrentVersion(t *testing.T) {
if !strings.Contains(text, "image: ${PULSE_IMAGE:-rcourtman/pulse:"+version+"}") {
t.Fatalf("repo docker-compose.yml must pin the current release version:\n%s", text)
}
- if strings.Contains(text, "6.0.0-rc.") {
+ if !isPrereleaseVersion(version) && strings.Contains(text, "-rc.") {
t.Fatalf("stable repo docker-compose.yml must not keep a prerelease image default:\n%s", text)
}
if strings.Contains(text, ":latest") {
@@ -111,7 +115,7 @@ func TestInstallDockerScriptFallbackPinsCurrentVersion(t *testing.T) {
if !strings.Contains(text, `CANONICAL_DEFAULT_PULSE_VERSION="`+version+`"`) {
t.Fatalf("install-docker.sh fallback must pin the current release version:\n%s", text)
}
- if strings.Contains(text, `CANONICAL_DEFAULT_PULSE_VERSION="6.0.0-rc.`) {
+ if !isPrereleaseVersion(version) && strings.Contains(text, `CANONICAL_DEFAULT_PULSE_VERSION="`) && strings.Contains(text, "-rc.") {
t.Fatalf("stable install-docker.sh fallback must not keep a prerelease default:\n%s", text)
}
}