Skip to content

Commit 67b61a6

Browse files
authored
chg/rel: use default sg for release operations (#102)
* chg/rel: use default sg instead of custom build
1 parent 9949975 commit 67b61a6

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

.buildkite/pipeline.yaml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,22 @@ steps:
2525

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

3735
- label: "Release: finalize"
3836
if: "build.branch =~ /^wip_/"
37+
plugins:
38+
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
3939
command: |
40-
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
41-
tar zxf sg-rfc795.tar.gz
42-
chmod +x ./sg-rfc795
43-
44-
./sg-rfc795 release run internal finalize --workdir=. --config-from-commit
40+
sg release run internal finalize --workdir=. --config-from-commit
4541
- label: "Promote to public: finalize"
4642
if: build.message =~ /^promote_release/ && build.branch =~ /^wip-release/
43+
plugins:
44+
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
4745
command: |
48-
wget https://storage.googleapis.com/buildkite_public_assets/sg-rfc795.tar.gz
49-
tar zxf sg-rfc795.tar.gz
50-
chmod +x ./sg-rfc795
51-
52-
./sg-rfc795 release run promote-to-public finalize --workdir=. --config-from-commit
46+
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
@@ -22,7 +22,7 @@ internal:
2222
patch:
2323
- name: "sg ops (base)"
2424
cmd: |
25-
sg-rfc795 ops update-images \
25+
sg ops update-images \
2626
--kind k8s \
2727
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
2828
--docker-username=$DOCKER_USERNAME \
@@ -31,7 +31,7 @@ internal:
3131
base/
3232
- name: "sg ops (executors)"
3333
cmd: |
34-
sg-rfc795 ops update-images \
34+
sg ops update-images \
3535
--kind k8s \
3636
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
3737
--docker-username=$DOCKER_USERNAME \
@@ -60,7 +60,7 @@ internal:
6060
minor:
6161
- name: "sg ops (base)"
6262
cmd: |
63-
sg-rfc795 ops update-images \
63+
sg ops update-images \
6464
--kind k8s \
6565
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
6666
--docker-username=$DOCKER_USERNAME \
@@ -69,7 +69,7 @@ internal:
6969
base/
7070
- name: "sg ops (executors)"
7171
cmd: |
72-
sg-rfc795 ops update-images \
72+
sg ops update-images \
7373
--kind k8s \
7474
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
7575
--docker-username=$DOCKER_USERNAME \
@@ -98,7 +98,7 @@ internal:
9898
major:
9999
- name: "sg ops (base)"
100100
cmd: |
101-
sg-rfc795 ops update-images \
101+
sg ops update-images \
102102
--kind k8s \
103103
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
104104
--docker-username=$DOCKER_USERNAME \
@@ -107,7 +107,7 @@ internal:
107107
base/
108108
- name: "sg ops (executors)"
109109
cmd: |
110-
sg-rfc795 ops update-images \
110+
sg ops update-images \
111111
--kind k8s \
112112
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal \
113113
--docker-username=$DOCKER_USERNAME \
@@ -157,7 +157,7 @@ promoteToPublic:
157157
git checkout origin/wip-release-{{version}}
158158
- name: "sg ops"
159159
cmd: |
160-
sg-rfc795 ops update-images \
160+
sg ops update-images \
161161
--kind k8s \
162162
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public \
163163
--docker-username=$DOCKER_USERNAME \
@@ -166,7 +166,7 @@ promoteToPublic:
166166
base/
167167
- name: "sg ops (executors)"
168168
cmd: |
169-
sg-rfc795 ops update-images \
169+
sg ops update-images \
170170
--kind k8s \
171171
--registry us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public \
172172
--docker-username=$DOCKER_USERNAME \

0 commit comments

Comments
 (0)