From 7b67a0f533a2e196ec4fc6670bd76575352b2d65 Mon Sep 17 00:00:00 2001 From: Nestor Acuna Blanco Date: Mon, 5 Aug 2024 16:09:20 +0200 Subject: [PATCH] fix: e2e-tests preconditions in makefile The preconditions for the end-to-end (e2e) tests were previously embedded within the script. This update ensures that unnecessary oc commands are not executed in the event of an error during the generation process. Signed-off-by: Nestor Acuna Blanco --- automation/test.sh | 4 ---- makefile | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/automation/test.sh b/automation/test.sh index b1f151a8..7bec6d49 100755 --- a/automation/test.sh +++ b/automation/test.sh @@ -127,10 +127,6 @@ then export CLUSTERENV=$ocenv fi -git submodule update --init - -make generate - #set terminationGracePeriodSeconds to 0 for filename in dist/templates/*; do sed -i -e 's/^\(\s*terminationGracePeriodSeconds\s*:\s*\).*/\10/' $filename diff --git a/makefile b/makefile index a32f9eb1..e0b90bb7 100644 --- a/makefile +++ b/makefile @@ -26,7 +26,7 @@ dist/common-templates.yaml: generate release: dist/common-templates.yaml cp dist/common-templates.yaml dist/common-templates-$(VERSION).yaml -e2e-tests: +e2e-tests: update-osinfo-db generate ./automation/test.sh go-tests: