Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

feat(sg): add list-build subcommand to ci#63071

Merged
burmudar merged 2 commits into
mainfrom
wb/sg/bk-add-list-build
Jun 4, 2024
Merged

feat(sg): add list-build subcommand to ci#63071
burmudar merged 2 commits into
mainfrom
wb/sg/bk-add-list-build

Conversation

@burmudar

@burmudar burmudar commented Jun 4, 2024

Copy link
Copy Markdown
Contributor

Add command to list builds in various states on a pipeline. This makes it ever so slightly for ops like scenarios like finding all running builds to cancel etc.

Test plan

Tested locally

go run ./dev/sg ci list-builds --state 'running'
✅ Fetched 2 builds for "sourcegraph" pipeline
Pipeline: sourcegraph
Build   Status    Author                   Commit          Link
276911  running   William Bezuidenhout     9a8cc2303bd8... https://buildkite.com/sourcegraph/sourcegraph/builds/276911
276910  running   Greg Magolan             59be5e4415ff... https://buildkite.com/sourcegraph/sourcegraph/builds/276910

Changelog

  • add list-builds subcommand to sg to list builds in various states

Add command to list builds in various states on a pipeline
@burmudar burmudar requested a review from a team June 4, 2024 11:27
@burmudar burmudar self-assigned this Jun 4, 2024
@cla-bot cla-bot Bot added the cla-signed label Jun 4, 2024
remove trailing '...' from commit printing
@burmudar burmudar force-pushed the wb/sg/bk-add-list-build branch from 900f54c to 68618a2 Compare June 4, 2024 11:34
@burmudar burmudar merged commit 9bbfd25 into main Jun 4, 2024
@burmudar burmudar deleted the wb/sg/bk-add-list-build branch June 4, 2024 11:41
@burmudar burmudar changed the title feat(sg: add list-build subcommand to ci feat(sg): add list-build subcommand to ci Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants