Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow E2E tests for individual providers to be kicked off from CodeBuild #7229

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,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
- export CLUSTER_NAME_PREFIX="${BRANCH_NAME//./-}"
- >
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e cloudstack" E2E_OUTPUT_FILE=bin/cloudstack/e2e.test
fi
- >
./bin/test e2e cleanup cloudstack
-n ${CLUSTER_NAME_PREFIX}
-v 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ phases:
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/setup_profile.sh
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/create_infra_config.sh
- ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/start_docker.sh
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e docker" E2E_OUTPUT_FILE=bin/docker/e2e.test
fi
build:
commands:
- export JOB_ID=$CODEBUILD_BUILD_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ phases:
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/setup_profile.sh
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/create_infra_config.sh
- ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/start_docker.sh
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e nutanix" E2E_OUTPUT_FILE=bin/nutanix/e2e.test
fi
build:
commands:
- export JOB_ID=$CODEBUILD_BUILD_ID
Expand Down
4 changes: 4 additions & 0 deletions cmd/integration_test/build/buildspecs/snow-test-eks-a-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ phases:
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/setup_profile.sh
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/create_infra_config.sh
- ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/start_docker.sh
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e snow" E2E_OUTPUT_FILE=bin/snow/e2e.test
fi
build:
commands:
- export JOB_ID=$CODEBUILD_BUILD_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ phases:
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/setup_profile.sh
- source ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/create_infra_config.sh
- ${CODEBUILD_SRC_DIR}/cmd/integration_test/build/script/start_docker.sh
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e tinkerbell" E2E_OUTPUT_FILE=bin/tinkerbell/e2e.test
fi
build:
commands:
- export JOB_ID=$CODEBUILD_BUILD_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ 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
- export CLUSTER_NAME_PREFIX="${BRANCH_NAME//./-}"
- |
if ! [[ ${CODEBUILD_INITIATOR} =~ "codepipeline" ]]; then
make build-eks-a-for-e2e build-integration-test-binary e2e-tests-binary E2E_TAGS="e2e vsphere" E2E_OUTPUT_FILE=bin/vsphere/e2e.test
fi
- >
./bin/test e2e cleanup vsphere
-n ${CLUSTER_NAME_PREFIX}
Expand Down