Skip to content

Commit

Permalink
chg/rel: update pipeline to use default sg (sourcegraph#4305)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran authored Mar 15, 2024
1 parent 22ae02b commit b690b60
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,22 @@ steps:

- label: "Release: test"
if: "build.branch =~ /^wip_/"
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
tar zxf sg-rfc795.tar.gz
chmod +x ./sg-rfc795
./sg-rfc795 release run test --workdir=. --config-from-commit
sg release run test --workdir=. --config-from-commit
- wait

- label: "Release: finalize"
if: "build.branch =~ /^wip_/"
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
tar zxf sg-rfc795.tar.gz
chmod +x ./sg-rfc795
./sg-rfc795 release run internal finalize --workdir=. --config-from-commit
sg release run internal finalize --workdir=. --config-from-commit
- label: "Promote to public: finalize"
if: build.message =~ /^promote_release/ && build.branch =~ /^wip-release/
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
tar zxf sg-rfc795.tar.gz
chmod +x ./sg-rfc795
./sg-rfc795 release run promote-to-public finalize --workdir=. --config-from-commit
sg release run promote-to-public finalize --workdir=. --config-from-commit

0 comments on commit b690b60

Please sign in to comment.