Skip to content

Auto-trigger test image build on release branch push - #559

Open
niyomukiza-mechack wants to merge 1 commit into
mainfrom
Auto--trigger-publish-image
Open

Auto-trigger test image build on release branch push#559
niyomukiza-mechack wants to merge 1 commit into
mainfrom
Auto--trigger-publish-image

Conversation

@niyomukiza-mechack

Copy link
Copy Markdown
Collaborator

What was changed

I spent some time reading through the release doc to understand the process and pain points. Release automation is a new area for me. This felt like a good starting point: Step 4 ("Publish release branch image for testing") already works, it just requires someone to manually trigger it from the Actions UI after pushing a release branch.

I added release/** to the push.branches trigger in publish-image.yml. This makes the test image build kick off automatically whenever someone pushes a release branch so no need for manually going to the Actions tab to run the workflow.

Why?

Previously, Step 4 of the release process(Link -> https://docs.google.com/document/d/1Ck_k_6xAjdVv-d7xjQfdI1ZXWu9L0xzBvuqs5NS4q24/edit?tab=t.0) required someone to manually run the publish image workflow from the GitHub Actions UI after pushing a release branch. This change auto-triggers it on
push to release/** branches.

Checklist

  1. Closes

  2. How was this tested:

Tested pre-merge by pushing a release/test-491 branch with this change. The workflow triggered automatically and completed successfully and pushed to docker.
FYI: Seems like I can't delete them, @jaypipes if you have access can you delete the release/test-491 tags please? :)
3. Any docs updates needed?

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