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

Create buildkite-agent step cancel subcommand #3070

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

mitchbne
Copy link
Member

@mitchbne mitchbne commented Nov 8, 2024

Description

Creates a new subcommand buildkite-agent step cancel --step "key". This subcommand can be used to cancel all unfinished jobs for a command step. We optionally allow a --force flag which will mean that we don't wait for an agent running a job to finish it before cancelling the job in Buildkite.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

@mitchbne mitchbne force-pushed the create-steps-cancel-cli-command branch from 24c3df2 to 9799810 Compare November 8, 2024 03:02
@mitchbne mitchbne marked this pull request as ready for review November 8, 2024 06:04
Copy link
Contributor

@wolfeidau wolfeidau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 🚢

@mitchbne mitchbne merged commit b0a5945 into main Nov 8, 2024
1 check passed
@mitchbne mitchbne deleted the create-steps-cancel-cli-command branch November 8, 2024 06:23
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