Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(CDPE-6528) Input image tag name to Build-Test-Push #144

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

nwolfe
Copy link
Contributor

@nwolfe nwolfe commented Feb 26, 2024

Add optional input to the Build-Test-Push job for supplying an image tag to create in addition to the latest and timestamp-sha tags.

This enables workflows to call this and reliable know the name of the resulting image, and is a result of that fact that GitHub does not have a native way to run a workflow on a remote repository and get some sort of string-like output from it.

Since there's no way to get data back from the called workflow, instead let the calling workflow decide what name to use for the image tag.

Overall this enables this workflow to be called in automation by the CD4PE release workflows so the developer doing the CD4PE release doesn't have to manually trigger this first, find the image tag it created, then supply that image tag to a different workflow.

Add optional input to the Build-Test-Push job for supplying an image tag
to create in addition to the latest and timestamp-sha tags.

This enables workflows to call this and reliable know the name of the
resulting image, and is a result of that fact that GitHub does not have
a native way to run a workflow on a remote repository and get some sort
of string-like output from it.

Since there's no way to get data back from the called workflow, instead
let the calling workflow decide what name to use for the image tag.

Overall this enables this workflow to be called in automation by the
CD4PE release workflows so the developer doing the CD4PE release doesn't
have to manually trigger this first, find the image tag it created, then
supply that image tag to a different workflow.
@nwolfe nwolfe requested a review from a team as a code owner February 26, 2024 20:54
@nwolfe nwolfe merged commit dee7d91 into main Feb 28, 2024
2 checks passed
@nwolfe nwolfe deleted the CDPE-6528/automate-puppet-dev-tools branch February 28, 2024 19:11
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.

2 participants