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

fix: set pipeline variables even if build fails #5110

Merged
merged 7 commits into from
Oct 24, 2024

Conversation

zachary-bailey
Copy link
Collaborator

What type of PR is this?

/kind bug

What this PR does / why we need it:

This PR changes the logic in our pipeline template to always run the Set Pipeline Variables step, even if the build fails. This helps ensure that cleanup.sh will always be run if the packer build actually started and povisioned resources.

Which issue(s) this PR fixes:

Set Pipeline Variables would not run if the build failed.

Requirements:

@zachary-bailey zachary-bailey merged commit f1bd281 into master Oct 24, 2024
17 checks passed
@zachary-bailey zachary-bailey deleted the zb/alwaysRunSetPipelineVariablesStep branch October 24, 2024 18:33
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.

3 participants