Skip to content

Commit

Permalink
Update testnet testcases to point at new buildkite agent queues (sola…
Browse files Browse the repository at this point in the history
…na-labs#7544)

automerge
  • Loading branch information
danpaul000 authored and solana-grimes committed Dec 18, 2019
1 parent 807e930 commit 6a8f6fb
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=aws-deploy"
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=aws-deploy"
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=azure-deploy"
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
2 changes: 1 addition & 1 deletion system-test/performance-testcases/gce-gpu-perf-10-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
2 changes: 1 addition & 1 deletion system-test/performance-testcases/gce-gpu-perf-25-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
2 changes: 1 addition & 1 deletion system-test/performance-testcases/gce-gpu-perf-5-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
2 changes: 1 addition & 1 deletion system-test/performance-testcases/gce-gpu-perf-50-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"
2 changes: 1 addition & 1 deletion system-test/stability-testcases/gce-stability-5-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=stability-deploy"
59 changes: 2 additions & 57 deletions system-test/testnet-automation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,63 +87,8 @@ $(eval echo "$@")"
)

execution_step "Deleting Testnet"
case $CLOUD_PROVIDER in
gce)
(
cat <<EOF
- wait: ~
continue_on_failure: true
- command: "net/gce.sh delete -p ${TESTNET_TAG}"
label: "Delete Testnet"
agents:
- "queue=testnet-deploy"
EOF
) | buildkite-agent pipeline upload
;;
ec2)
(
cat <<EOF
- wait: ~
continue_on_failure: true
- command: "net/ec2.sh delete -p ${TESTNET_TAG}"
label: "Delete Testnet"
agents:
- "queue=testnet-deploy"
EOF
) | buildkite-agent pipeline upload
;;
azure)
(
cat <<EOF
- wait: ~
continue_on_failure: true
- command: "net/azure.sh delete -p ${TESTNET_TAG}"
label: "Delete Testnet"
agents:
- "queue=testnet-deploy"
EOF
) | buildkite-agent pipeline upload
;;
colo)
(
cat <<EOF
- wait: ~
continue_on_failure: true
- command: "net/colo.sh delete -p ${TESTNET_TAG}"
label: "Delete Testnet"
agents:
- "queue=colo-deploy"
EOF
) | buildkite-agent pipeline upload
;;
*)
echo "Error: Unsupported cloud provider: $CLOUD_PROVIDER"
;;
esac
net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"

}
trap 'cleanup_testnet $BASH_COMMAND' EXIT

Expand Down

0 comments on commit 6a8f6fb

Please sign in to comment.