From 74808923afc910985914f5c0aeade63d3384c89f Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Fri, 30 Aug 2024 07:39:28 +0100 Subject: [PATCH] ci: fix call for deploy-image --- .github/workflows/test-e2e-samples.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-e2e-samples.yml b/.github/workflows/test-e2e-samples.yml index fd58dae46c7..ab24c5003ad 100644 --- a/.github/workflows/test-e2e-samples.yml +++ b/.github/workflows/test-e2e-samples.yml @@ -39,6 +39,7 @@ jobs: KUSTOMIZATION_FILE_PATH="testdata/project-v4/config/default/kustomization.yaml" sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH sed -i '51s/^#//' $KUSTOMIZATION_FILE_PATH + sed -i '55,151s/^#//' $KUSTOMIZATION_FILE_PATH cd testdata/project-v4/ go mod tidy make generate @@ -49,19 +50,24 @@ jobs: run: | make test-e2e + - name: Teardown kind cluster + run: kind delete cluster + + - name: Create kind cluster + run: kind create cluster + - name: Prepare project-v4-with-deploy-image run: | KUSTOMIZATION_FILE_PATH="testdata/project-v4-with-deploy-image/config/default/kustomization.yaml" sed -i '25s/^#//' $KUSTOMIZATION_FILE_PATH sed -i '51s/^#//' $KUSTOMIZATION_FILE_PATH + sed -i '55,151s/^#//' $KUSTOMIZATION_FILE_PATH cd testdata/project-v4-with-deploy-image/ go mod tidy make generate make manifests -# Fixme: The e2e tests for deploy image are failing and we -# need to fix in a follow up -# - name: Testing make test-e2e for project-v4-with-deploy-image -# working-directory: testdata/project-v4-with-deploy-image -# run: | -# make test-e2e + - name: Testing make test-e2e for project-v4-with-deploy-image + working-directory: testdata/project-v4-with-deploy-image + run: | + make test-e2e