Skip to content

fix(build): propagate packaged version through cluster artifacts#164

Merged
pimlock merged 2 commits intomainfrom
fix/159-propagate-cluster-version/pmlocek
Mar 7, 2026
Merged

fix(build): propagate packaged version through cluster artifacts#164
pimlock merged 2 commits intomainfrom
fix/159-propagate-cluster-version/pmlocek

Conversation

@pimlock
Copy link
Collaborator

@pimlock pimlock commented Mar 7, 2026

🏗️ build-from-issue-agent

Closes #159

Summary

Propagate the computed Cargo/package version through Docker and cluster packaging paths so deployed clusters report the built artifact version instead of the workspace default.
Keep release publishing aligned by tagging published images with both latest and the explicit version tag while preserving existing cache scope inputs.

Changes Made

  • deploy/docker/Dockerfile.server, tasks/scripts/docker-build-component.sh: pass the computed Cargo version into server image builds, including local fallback builds.
  • tasks/scripts/docker-build-cluster.sh, tasks/scripts/docker-publish-multiarch.sh: package the Helm chart with the computed version/appVersion and clear stale chart tarballs before packaging.
  • deploy/kube/manifests/navigator-helmchart.yaml, deploy/docker/cluster-entrypoint.sh: replace the hardcoded chart filename with a runtime placeholder and resolve exactly one bundled chart at container start.
  • .github/workflows/docker-build.yml, .github/workflows/publish.yml: compute the cargo version in CI, propagate it into Docker builds, and publish explicit version tags alongside latest.
  • architecture/build-containers.md: document runtime version propagation and dual-tag publishing.

Deviations from Plan

None — implemented as planned.

Tests Added

  • Unit: N/A
  • Integration: Built navigator/server:dev and navigator/cluster:dev with synthetic/computed versions and verified the packaged chart filename and embedded server version changed accordingly.
  • E2E: N/A

Documentation Updated

  • architecture/build-containers.md: documented version propagation for server and cluster artifacts plus dual-tag publishing.

Verification

  • Pre-commit checks passing (unit tests, lint, format)
  • E2E tests passing (if e2e/ files were modified)
  • Architecture documentation updated

Closes #159

Pass the computed cargo version through Docker and cluster packaging paths so deployed clusters report the built artifact version while keeping latest and explicit version tags aligned.
Keep the runtime fix focused on Docker/server artifact versions and leave the bundled Helm chart path/version unchanged.
@pimlock pimlock requested a review from drew March 7, 2026 01:31
@pimlock pimlock merged commit 37be129 into main Mar 7, 2026
10 checks passed
@pimlock pimlock deleted the fix/159-propagate-cluster-version/pmlocek branch March 7, 2026 02:17
drew pushed a commit that referenced this pull request Mar 16, 2026
Pass the computed cargo version through Docker and cluster packaging paths so deployed clusters report the built artifact version while keeping latest and explicit version tags aligned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Propagate package version into cluster-reported version

1 participant