forked from sourcegraph/deploy-sourcegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chg/rel: update pipeline to use default sg (sourcegraph#4305)
- Loading branch information
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |