Update testnet testcases to point at new buildkite agent queues (#7544)
automerge
This commit is contained in:
parent
807e930786
commit
6a8f6fb3cc
|
@ -17,4 +17,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: ""
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=aws-deploy"
|
||||
|
|
|
@ -17,4 +17,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: ""
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=aws-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: ""
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=azure-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: ""
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -17,4 +17,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -16,4 +16,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -17,4 +17,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=gce-deploy"
|
||||
|
|
|
@ -15,4 +15,4 @@ steps:
|
|||
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||
ADDITIONAL_FLAGS: "--dedicated"
|
||||
agents:
|
||||
- "queue=testnet-deploy"
|
||||
- "queue=stability-deploy"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue