Update testnet testcases to point at new buildkite agent queues (#7544)
automerge
This commit is contained in:
@ -17,4 +17,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: ""
|
ADDITIONAL_FLAGS: ""
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=aws-deploy"
|
||||||
|
@ -17,4 +17,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: ""
|
ADDITIONAL_FLAGS: ""
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=aws-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: ""
|
ADDITIONAL_FLAGS: ""
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=azure-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: ""
|
ADDITIONAL_FLAGS: ""
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -17,4 +17,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -16,4 +16,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -17,4 +17,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=gce-deploy"
|
||||||
|
@ -15,4 +15,4 @@ steps:
|
|||||||
USE_PUBLIC_IP_ADDRESSES: "true"
|
USE_PUBLIC_IP_ADDRESSES: "true"
|
||||||
ADDITIONAL_FLAGS: "--dedicated"
|
ADDITIONAL_FLAGS: "--dedicated"
|
||||||
agents:
|
agents:
|
||||||
- "queue=testnet-deploy"
|
- "queue=stability-deploy"
|
||||||
|
@ -87,63 +87,8 @@ $(eval echo "$@")"
|
|||||||
)
|
)
|
||||||
|
|
||||||
execution_step "Deleting Testnet"
|
execution_step "Deleting Testnet"
|
||||||
case $CLOUD_PROVIDER in
|
net/"${CLOUD_PROVIDER}".sh delete -p "${TESTNET_TAG}"
|
||||||
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
|
|
||||||
}
|
}
|
||||||
trap 'cleanup_testnet $BASH_COMMAND' EXIT
|
trap 'cleanup_testnet $BASH_COMMAND' EXIT
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user