Skip to content

Keep latest metrics image tags updated and set commit image tags after kubectl apply - #40577

Draft
damccorm wants to merge 1 commit into
apache:masterfrom
damccorm:metrics-fix-deploy-image-tag-order
Draft

damccorm wants to merge 1 commit into
apache:masterfrom
damccorm:metrics-fix-deploy-image-tag-order

Conversation

@damccorm

Copy link
Copy Markdown
Contributor

Fixes two issues in :beam-test-infra-metrics:deploy:

  • Tags and pushes :latest alongside :$CONTAINER_VERSION_NAME in build_and_publish_containers.sh so kubectl apply -f kubernetes/beamgrafana-deploy.yaml never pulls a stale :latest image.
  • Runs kubectl set image after kubectl apply so the deployment records the explicit :${project.lastCommitId} tag rather than being overwritten by the untagged image in beamgrafana-deploy.yaml (and guards image.split(':') when no tag is present).

@github-actions github-actions Bot added the infra label Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant