From 60acea5740d626bd95e735321c1d68fee87a5019 Mon Sep 17 00:00:00 2001 From: Abhay Krishna Arunachalam Date: Wed, 5 Jun 2024 18:51:41 -0700 Subject: [PATCH] Update Docker test name for presubmit E2E --- Makefile | 5 ++--- scripts/e2e_test_docker.sh | 2 +- test/e2e/README.md | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 79d7c19620fbd..054ee497cb290 100644 --- a/Makefile +++ b/Makefile @@ -46,15 +46,14 @@ endif ifeq (,$(findstring $(BRANCH_NAME),main)) ## use the branch-specific bundle manifest if the branch is not 'main' -BUNDLE_MANIFEST_URL?=https://dev-release-assets.eks-anywhere.model-rocket.aws.dev/${BRANCH_NAME}/bundle-release.yaml RELEASE_MANIFEST_URL?=$(RELEASE_MANIFEST_HOST)/${BRANCH_NAME}/eks-a-release.yaml LATEST=$(BRANCH_NAME) else ## use the standard bundle manifest if the branch is 'main' -BUNDLE_MANIFEST_URL?=https://dev-release-assets.eks-anywhere.model-rocket.aws.dev/bundle-release.yaml RELEASE_MANIFEST_URL?=$(RELEASE_MANIFEST_HOST)/eks-a-release.yaml LATEST=latest endif +BUNDLE_MANIFEST_URL?=$(shell curl $(RELEASE_MANIFEST_URL) | yq ".spec.releases[-1].bundleManifestUrl") # DEV_GIT_VERSION should be something like v0.19.0-dev+latest, depending on the base branch # and if this is a local build or a CI build. @@ -160,7 +159,7 @@ EKS_A_CROSS_PLATFORMS := $(foreach platform,$(EKS_A_PLATFORMS),eks-a-cross-platf E2E_CROSS_PLATFORMS := $(foreach platform,$(EKS_A_PLATFORMS),e2e-cross-platform-$(platform)) EKS_A_RELEASE_CROSS_PLATFORMS := $(foreach platform,$(EKS_A_PLATFORMS),eks-a-release-cross-platform-$(platform)) -DOCKER_E2E_TEST := TestDockerKubernetes125SimpleFlow +DOCKER_E2E_TEST := TestDockerKubernetes130SimpleFlow LOCAL_E2E_TESTS ?= $(DOCKER_E2E_TEST) EMBED_CONFIG_FOLDER = pkg/files/config diff --git a/scripts/e2e_test_docker.sh b/scripts/e2e_test_docker.sh index add199b02b53c..e465669b7325e 100755 --- a/scripts/e2e_test_docker.sh +++ b/scripts/e2e_test_docker.sh @@ -36,7 +36,7 @@ fi REPO_ROOT=$(git rev-parse --show-toplevel) BIN_FOLDER=$REPO_ROOT/bin -TEST_REGEX="${1:-TestDockerKubernetes125SimpleFlow}" +TEST_REGEX="${1:-TestDockerKubernetes130SimpleFlow}" BRANCH_NAME="${2:-main}" diff --git a/test/e2e/README.md b/test/e2e/README.md index fa0325a124c67..553475361c03b 100644 --- a/test/e2e/README.md +++ b/test/e2e/README.md @@ -11,8 +11,8 @@ or # # The makefile will include the .env file and export all the vars to the environment for you # -# By default the local-e2e target will run TestDockerKubernetes125SimpleFlow. You can either -# override LOCAL_E2E_TESTS in your .env file or pass it on the cli every time (i.e LOCAL_E2E_TESTS=TestDockerKubernetes125SimpleFlow) +# By default the local-e2e target will run TestDockerKubernetes130SimpleFlow. You can either +# override LOCAL_E2E_TESTS in your .env file or pass it on the cli every time (i.e LOCAL_E2E_TESTS=TestDockerKubernetes130SimpleFlow) make local-e2e ``` or