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

ci: fix delete-runner #1185

Merged
merged 1 commit into from
Jan 29, 2024
Merged

ci: fix delete-runner #1185

merged 1 commit into from
Jan 29, 2024

Conversation

ldevulder
Copy link
Contributor

If we want to check in case of failure during deletion we have to disable the "exit on 1st error" option of the shell.

Verification runs:

  • CLI-K3s-OBS_Dev with job cancelled in GH, so the runner was deleted by GCP
  • CLI-K3s-OBS_Dev with runner killed in GCP, so GH detected it and set the steps in cancelled state

In both cases the delete-runner step should exit in a "green" state, as the runner is deleted as expected, so no error to report.

If we want to check in case of failure during deletion we have to
disable the "exit on 1st error" option of the shell.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
@ldevulder ldevulder self-assigned this Jan 29, 2024
@ldevulder ldevulder requested a review from a team as a code owner January 29, 2024 08:57
@ldevulder ldevulder merged commit 9759fe3 into main Jan 29, 2024
17 of 21 checks passed
@ldevulder ldevulder deleted the fix-delete-runner branch January 29, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants