diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 59f71bc74..fee5e8152 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -38,28 +38,23 @@ steps: - label: "Release: test" if: "build.branch =~ /^wip_/" + plugins: + - ssh://git@github.com/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://git@github.com/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 release run internal finalize --workdir=. --config-from-commit - ./sg-rfc795 release run internal finalize --workdir=. --config-from-commit - label: "Promote to public: finalize" if: build.message =~ /^promote_release/ && build.branch =~ /^wip_release/ + plugins: + - ssh://git@github.com/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 diff --git a/release.yaml b/release.yaml index 1602ade71..5749de1f5 100644 --- a/release.yaml +++ b/release.yaml @@ -21,12 +21,12 @@ internal: cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ + sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ - name: docker(shell):tags cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ + sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ - name: "git:branch" cmd: | branch="wip_{{version}}" @@ -41,12 +41,12 @@ internal: cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ + sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ - name: docker(shell):tags cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ + sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ - name: "git:branch" cmd: | branch="wip_{{version}}" @@ -61,12 +61,12 @@ internal: cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ + sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ - name: docker(shell):tags cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-internal - sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ + sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ - name: "git:branch" cmd: | branch="wip_{{version}}" @@ -99,12 +99,12 @@ promoteToPublic: cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public - sg-rfc ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ + sg ops update-images --registry ${registry} --kind compose --pin-tag {{tag}} docker-compose/ - name: docker(shell):tags cmd: | set -e registry=us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public - sg-rfc ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ + sg ops update-images --registry ${registry} --kind shell --pin-tag {{tag}} pure-docker/ - name: "git:branch" cmd: | branch="promote-release_{{version}}"