Skip to content

chore: terminate packer instance on workflow cancellation #512

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

Merged
merged 1 commit into from
Jan 26, 2023

Conversation

pcnc
Copy link
Member

@pcnc pcnc commented Jan 26, 2023

What kind of change does this PR introduce?

  • terminates running builder instance on job cancellation
  • tags builder instance using GITHUB_RUN_ID, which is a unique value per repository, representing the ID of the workflow which is ran at the time
  • terminates instances having the same GITHUB_RUN_ID as the current execution

@pcnc pcnc requested a review from a team as a code owner January 26, 2023 08:37
@pcnc pcnc changed the title Pcnc/terminate packer instance on cancellation chore: terminate packer instance on workflow cancellation Jan 26, 2023
@pcnc pcnc force-pushed the pcnc/terminate-packer-instance-on-cancellation branch from 0810a1e to eb493c5 Compare January 26, 2023 08:37
@pcnc pcnc force-pushed the pcnc/terminate-packer-instance-on-cancellation branch from eb493c5 to d667638 Compare January 26, 2023 08:39
@pcnc pcnc merged commit 1a20795 into develop Jan 26, 2023
@pcnc pcnc deleted the pcnc/terminate-packer-instance-on-cancellation branch January 26, 2023 13:44
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
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