From 21b5ed21d7ecd38b964aad0d2e91f1e7740d54ec Mon Sep 17 00:00:00 2001 From: Cavaughn Browne Date: Wed, 21 Feb 2024 19:49:24 +0000 Subject: [PATCH] add cleanups to quick e2e pipeline --- .../build/buildspecs/quick-test-eks-a-cli.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cmd/integration_test/build/buildspecs/quick-test-eks-a-cli.yml b/cmd/integration_test/build/buildspecs/quick-test-eks-a-cli.yml index ffcf33d0df00a..b78fcc3582942 100644 --- a/cmd/integration_test/build/buildspecs/quick-test-eks-a-cli.yml +++ b/cmd/integration_test/build/buildspecs/quick-test-eks-a-cli.yml @@ -166,6 +166,11 @@ phases: - source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/create_infra_config.sh - ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/start_docker.sh - make eks-a-for-dev-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e all_providers" E2E_OUTPUT_FILE=bin/e2e.test + - export CLUSTER_NAME_PREFIX="${BRANCH_NAME//./-}" + - > + ./bin/test e2e cleanup vsphere + -n ${CLUSTER_NAME_PREFIX} + -v 4 build: commands: - export JOB_ID=$CODEBUILD_BUILD_ID @@ -191,9 +196,16 @@ phases: -v 4 --skip ${SKIPPED_TESTS} --bundles-override=${BUNDLES_OVERRIDE} + --cleanup-vms=true --test-report-folder=reports --branch-name=${BRANCH_NAME} --baremetal-branch=${BAREMETAL_BRANCH} + post_build: + commands: + - > + ./bin/test e2e cleanup vsphere + -n ${CLUSTER_NAME_PREFIX} + -v 4 reports: e2e-reports: files: