Skip to content

ci: allow deploying a specific dashboard-backend tag - #96

Draft
alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:chore/dashboard-backend-image-tag
Draft

alanpeixinho wants to merge 1 commit into
kernelci:mainfrom
profusion:chore/dashboard-backend-image-tag

Conversation

@alanpeixinho

Copy link
Copy Markdown

Summary

  • Rename compose tag variable to DASHBOARD_BACKEND_IMAGE_TAG for ingester and pending_aggregations_processor (default latest).
  • Add optional dashboard_backend_image_tag on Build and Deploy (workflow_dispatch); value is passed to the deploy host for that run only.
  • Reject invalid tags and verify the image exists on GHCR before compose down.
  • Document the variable in README and .env-example.

Pushes to main are unchanged (empty input → latest).

* rename IMAGE_TAG to DASHBOARD_BACKEND_IMAGE_TAG, so the variable names the
  image it selects
* accept that tag as an optional workflow_dispatch input on Build and Deploy,
  forwarded to the deploy host so a bad dashboard release can be rolled back
  without server access
* validate the tag charset and check it exists in GHCR before the stack is
  shut down, so a typo fails the run instead of leaving nothing running
* document the variable in README.md and .env-example
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.

1 participant