diff --git a/test/e2e-common.sh b/test/e2e-common.sh index cd778150023..679585db9be 100755 --- a/test/e2e-common.sh +++ b/test/e2e-common.sh @@ -31,8 +31,6 @@ function install_pipeline_crd() { verify_pipeline_installation verify_resolvers_installation verify_log_access_enabled - - export SYSTEM_NAMESPACE=tekton-pipelines } # Install the Tekton pipeline crd based on the release number diff --git a/test/e2e-tests-upgrade.sh b/test/e2e-tests-upgrade.sh index e9d87934144..d88b0e0ddc2 100755 --- a/test/e2e-tests-upgrade.sh +++ b/test/e2e-tests-upgrade.sh @@ -45,6 +45,8 @@ set -o nounset export SYSTEM_NAMESPACE=tekton-pipelines +export SYSTEM_NAMESPACE=tekton-pipelines + # First, we will verify if Scenario 1 works. # Install the previous release. header "Install the previous release of Tekton pipeline $PREVIOUS_PIPELINE_VERSION" diff --git a/test/e2e-tests.sh b/test/e2e-tests.sh index 15d75139c8d..a291f27e4ba 100755 --- a/test/e2e-tests.sh +++ b/test/e2e-tests.sh @@ -43,6 +43,7 @@ fi header "Setting up environment" install_pipeline_crd +export SYSTEM_NAMESPACE=tekton-pipelines failed=0