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

feat: randomize ami name on testinfra for 15.6 #1080

Merged
merged 5 commits into from
Aug 1, 2024

Conversation

samrose
Copy link
Contributor

@samrose samrose commented Jul 31, 2024

What kind of change does this PR introduce?

On the testinfra that runs for 15.6 build, gh actions was having trouble deregistering AMI if a build had failed under certain conditions.

This PR introduces a random name for the final ami that gh actions had trouble deregistering, which will prevent the test from failing due to a duplicate ami with the same name. The random name is also passed to the infra pytest run during the build as well, and the deregister action at the end on failure, complete, or cancel.

@samrose samrose requested a review from a team as a code owner July 31, 2024 19:39
@samrose samrose merged commit f4ace6e into develop Aug 1, 2024
11 checks passed
@samrose samrose deleted the sam/testinfra-15-6-fix branch August 1, 2024 14:01
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