Skip to content

Commit 9dea0e6

Browse files
authored
chg/rel: default sg (#987)
1 parent 9da2115 commit 9dea0e6

File tree

2 files changed

+17
-22
lines changed

2 files changed

+17
-22
lines changed

.buildkite/pipeline.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,28 +38,23 @@ steps:
3838

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

5048
- label: "Release: finalize"
5149
if: "build.branch =~ /^wip_/"
50+
plugins:
51+
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
5252
command: |
53-
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
54-
tar zxf sg-rfc795.tar.gz
55-
chmod +x ./sg-rfc795
53+
sg release run internal finalize --workdir=. --config-from-commit
5654
57-
./sg-rfc795 release run internal finalize --workdir=. --config-from-commit
5855
- label: "Promote to public: finalize"
5956
if: build.message =~ /^promote_release/ && build.branch =~ /^wip_release/
57+
plugins:
58+
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
6059
command: |
61-
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
62-
tar zxf sg-rfc795.tar.gz
63-
chmod +x ./sg-rfc795
64-
65-
./sg-rfc795 release run promote-to-public finalize --workdir=. --config-from-commit
60+
sg release run promote-to-public finalize --workdir=. --config-from-commit

release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ internal:
2121
cmd: |
2222
set -e
2323
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
24-
sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
24+
sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
2525
- name: docker(shell):tags
2626
cmd: |
2727
set -e
2828
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
29-
sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
29+
sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
3030
- name: "git:branch"
3131
cmd: |
3232
branch="wip_{{version}}"
@@ -41,12 +41,12 @@ internal:
4141
cmd: |
4242
set -e
4343
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
44-
sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
44+
sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
4545
- name: docker(shell):tags
4646
cmd: |
4747
set -e
4848
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
49-
sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
49+
sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
5050
- name: "git:branch"
5151
cmd: |
5252
branch="wip_{{version}}"
@@ -61,12 +61,12 @@ internal:
6161
cmd: |
6262
set -e
6363
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
64-
sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
64+
sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
6565
- name: docker(shell):tags
6666
cmd: |
6767
set -e
6868
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal
69-
sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
69+
sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
7070
- name: "git:branch"
7171
cmd: |
7272
branch="wip_{{version}}"
@@ -99,12 +99,12 @@ promoteToPublic:
9999
cmd: |
100100
set -e
101101
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public
102-
sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
102+
sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/
103103
- name: docker(shell):tags
104104
cmd: |
105105
set -e
106106
registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public
107-
sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
107+
sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/
108108
- name: "git:branch"
109109
cmd: |
110110
branch="promote-release_{{version}}"

0 commit comments

Comments
 (0)