Skip to content

Commit

Permalink
qa: test sg plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Mar 15, 2024
1 parent 9949975 commit 8870c1c
Showing 1 changed file with 56 additions and 51 deletions.
107 changes: 56 additions & 51 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,52 +1,57 @@
steps:
- label: ":k8s:"
command: .buildkite/verify-yaml.sh
agents: { queue: standard }

- label: ":k8s:"
command: .buildkite/verify-label.sh
agents: { queue: standard }

- label: ":k8s:"
command: .buildkite/verify-rbac-labels.sh
agents: { queue: standard }

- label: ":git: :sleuth_or_spy:"
command: .buildkite/verify-release/verify-release.sh
agents: { queue: standard }

- label: ":k8s: :sleuth_or_spy:"
command: .buildkite/check-image-names.sh
agents: { queue: standard }

- label: ":k8s:"
command: .buildkite/verify-overlays.sh
agents: { queue: standard }

- label: "Release: test"
if: "build.branch =~ /^wip_/"
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
- wait

- label: "Release: finalize"
if: "build.branch =~ /^wip_/"
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
- label: "Promote to public: finalize"
if: build.message =~ /^promote_release/ && build.branch =~ /^wip-release/
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
- label: 'Showing sg help'
command: sg --help
plugins:
- https://github.com/sourcegraph/sg-plugin.git#main

# - label: ":k8s:"
# command: .buildkite/verify-yaml.sh
# agents: { queue: standard }
#
# - label: ":k8s:"
# command: .buildkite/verify-label.sh
# agents: { queue: standard }
#
# - label: ":k8s:"
# command: .buildkite/verify-rbac-labels.sh
# agents: { queue: standard }
#
# - label: ":git: :sleuth_or_spy:"
# command: .buildkite/verify-release/verify-release.sh
# agents: { queue: standard }
#
# - label: ":k8s: :sleuth_or_spy:"
# command: .buildkite/check-image-names.sh
# agents: { queue: standard }
#
# - label: ":k8s:"
# command: .buildkite/verify-overlays.sh
# agents: { queue: standard }
#
# - label: "Release: test"
# if: "build.branch =~ /^wip_/"
# 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
#
# - wait
#
# - label: "Release: finalize"
# if: "build.branch =~ /^wip_/"
# 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
# - label: "Promote to public: finalize"
# if: build.message =~ /^promote_release/ && build.branch =~ /^wip-release/
# 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

0 comments on commit 8870c1c

Please sign in to comment.