Update testnet testcases to point at new buildkite agent queues (#7544)

automerge
This commit is contained in:
Dan Albert 2019-12-17 23:32:31 -05:00 committed by Grimes
parent 807e930786
commit 6a8f6fb3cc
12 changed files with 12 additions and 67 deletions

View File

@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=aws-deploy"

View File

@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=aws-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=azure-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: ""
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -16,4 +16,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -17,4 +17,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=gce-deploy"

View File

@ -15,4 +15,4 @@ steps:
USE_PUBLIC_IP_ADDRESSES: "true"
ADDITIONAL_FLAGS: "--dedicated"
agents:
- "queue=testnet-deploy"
- "queue=stability-deploy"

View File

@ -87,63 +87,8 @@ $(eval echo "$@")"
)
execution_step "Deleting Testnet"
case $CLOUD_PROVIDER in
gce)
(
cat <<EOF
- wait: ~
continue_on_failure: true
net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
- 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
}
trap 'cleanup_testnet $BASH_COMMAND' EXIT