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 46776a199820e..0159cf14872f4 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 @@ -186,71 +186,77 @@ phases: - ${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 + # - > + # ./bin/test e2e cleanup cloudstack + # -n ${CLUSTER_NAME_PREFIX} + # --delete-duplicate-networks + # -v 6 + # - > + # ./bin/test e2e cleanup nutanix + # -n ${CLUSTER_NAME_PREFIX} + # -e ${T_NUTANIX_ENDPOINT} + # -p ${T_NUTANIX_PORT} + # --insecure + # --ignoreErrors + # -v 4 - > - ./bin/test e2e cleanup vsphere - -n ${CLUSTER_NAME_PREFIX} - -v 4 - - > - ./bin/test e2e cleanup cloudstack - -n ${CLUSTER_NAME_PREFIX} - --delete-duplicate-networks - -v 6 - - > - ./bin/test e2e cleanup nutanix - -n ${CLUSTER_NAME_PREFIX} - -e ${T_NUTANIX_ENDPOINT} - -p ${T_NUTANIX_PORT} - --insecure - --ignoreErrors - -v 4 - build: - commands: - - export JOB_ID=$CODEBUILD_BUILD_ID - - BUNDLES_OVERRIDE=false - - | - if [ -f ./bin/local-bundle-release.yaml ]; then - BUNDLES_OVERRIDE=true - fi - - SKIPPED_TESTS=$(yq e ".skipped_tests | @csv" ${CODEBUILD_SRC_DIR}/test/e2e/SKIPPED_TESTS.yaml) - - | - if [ -z "$TESTS" ] || [ "$TESTS" == "QUICK" ]; then - TESTS=$(yq e '.quick_tests | join("|")' ./test/e2e/QUICK_TESTS.yaml) - fi - - > - ./bin/test e2e run - -c ${INTEGRATION_TEST_INFRA_CONFIG} - -s ${INTEGRATION_TEST_STORAGE_BUCKET} - -j ${JOB_ID} - -i ${INTEGRATION_TEST_INSTANCE_PROFILE} - -m ${INTEGRATION_TEST_MAX_EC2_COUNT} - -p ${INTEGRATION_TEST_MAX_CONCURRENT_TEST_COUNT} - -r ${TESTS} - -v 4 - --skip ${SKIPPED_TESTS} - --bundles-override=${BUNDLES_OVERRIDE} - --cleanup-resources=true - --test-report-folder=reports - --branch-name=${BRANCH_NAME} - --baremetal-branch=${BAREMETAL_BRANCH} - post_build: - commands: - - unset AWS_SDK_LOAD_CONFIG AWS_PROFILE - - > - ./bin/test e2e cleanup vsphere - -n ${CLUSTER_NAME_PREFIX} - -v 4 - - > - ./bin/test e2e cleanup cloudstack - -n ${CLUSTER_NAME_PREFIX} - -v 4 - - > - ./bin/test e2e cleanup nutanix - -n ${CLUSTER_NAME_PREFIX} - -e ${T_NUTANIX_ENDPOINT} - -p ${T_NUTANIX_PORT} - --insecure - --ignoreErrors + ./bin/test e2e cleanup tinkerbell + --storage-bucket ${INTEGRATION_TEST_STORAGE_BUCKET} + --nstance-config ${INTEGRATION_TEST_INSTANCE_PROFILE} + --dry-run -v 4 + # build: + # commands: + # - export JOB_ID=$CODEBUILD_BUILD_ID + # - BUNDLES_OVERRIDE=false + # - | + # if [ -f ./bin/local-bundle-release.yaml ]; then + # BUNDLES_OVERRIDE=true + # fi + # - SKIPPED_TESTS=$(yq e ".skipped_tests | @csv" ${CODEBUILD_SRC_DIR}/test/e2e/SKIPPED_TESTS.yaml) + # - | + # if [ -z "$TESTS" ] || [ "$TESTS" == "QUICK" ]; then + # TESTS=$(yq e '.quick_tests | join("|")' ./test/e2e/QUICK_TESTS.yaml) + # fi + # - > + # ./bin/test e2e run + # -c ${INTEGRATION_TEST_INFRA_CONFIG} + # -s ${INTEGRATION_TEST_STORAGE_BUCKET} + # -j ${JOB_ID} + # -i ${INTEGRATION_TEST_INSTANCE_PROFILE} + # -m ${INTEGRATION_TEST_MAX_EC2_COUNT} + # -p ${INTEGRATION_TEST_MAX_CONCURRENT_TEST_COUNT} + # -r ${TESTS} + # -v 4 + # --skip ${SKIPPED_TESTS} + # --bundles-override=${BUNDLES_OVERRIDE} + # --cleanup-resources=true + # --test-report-folder=reports + # --branch-name=${BRANCH_NAME} + # --baremetal-branch=${BAREMETAL_BRANCH} + # post_build: + # commands: + # - unset AWS_SDK_LOAD_CONFIG AWS_PROFILE + # - > + # ./bin/test e2e cleanup vsphere + # -n ${CLUSTER_NAME_PREFIX} + # -v 4 + # - > + # ./bin/test e2e cleanup cloudstack + # -n ${CLUSTER_NAME_PREFIX} + # -v 4 + # - > + # ./bin/test e2e cleanup nutanix + # -n ${CLUSTER_NAME_PREFIX} + # -e ${T_NUTANIX_ENDPOINT} + # -p ${T_NUTANIX_PORT} + # --insecure + # --ignoreErrors + # -v 4 reports: e2e-reports: files: