@@ -28,6 +28,7 @@ ARCH=$(go env GOARCH)
2828: " ${RUN_CONFORMANCE:= false} "
2929: " ${RUN_KOPS_TEST:= false} "
3030: " ${RUN_BOTTLEROCKET_TEST:= false} "
31+ : " ${RUN_UBUNTU_TEST:= false} "
3132: " ${RUN_PERFORMANCE_TESTS:= false} "
3233: " ${RUNNING_PERFORMANCE:= false} "
3334: " ${KOPS_VERSION=v1.33.0-beta.1} "
@@ -54,6 +55,9 @@ on_error() {
5455 if [[ $RUN_BOTTLEROCKET_TEST == true ]]; then
5556 emit_cloudwatch_metric " bottlerocket_test_status" " 0"
5657 fi
58+ if [[ $RUN_UBUNTU_TEST == true ]]; then
59+ emit_cloudwatch_metric " ubuntu_test_status" " 0"
60+ fi
5761 if [[ $RUN_PERFORMANCE_TESTS == true ]]; then
5862 emit_cloudwatch_metric " performance_test_status" " 0"
5963 fi
@@ -296,6 +300,9 @@ if [[ "$DEPROVISION" == true ]]; then
296300 elif [[ " $RUN_BOTTLEROCKET_TEST " == true ]]; then
297301 eksctl delete cluster $CLUSTER_NAME --disable-nodegroup-eviction
298302 emit_cloudwatch_metric " bottlerocket_test_status" " 1"
303+ elif [[ " $RUN_UBUNTU_TEST " == true ]]; then
304+ eksctl delete cluster $CLUSTER_NAME --disable-nodegroup-eviction
305+ emit_cloudwatch_metric " ubuntu_test_status" " 1"
299306 elif [[ " $RUN_PERFORMANCE_TESTS " == true ]]; then
300307 eksctl delete cluster $CLUSTER_NAME
301308 emit_cloudwatch_metric " performance_test_status" " 1"
0 commit comments