Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
engine: Refactor kubernetes release jobs
[infra/cicd.git]
/
jjb
/
engine
/
scripts
/
functest.sh
diff --git
a/jjb/engine/scripts/functest.sh
b/jjb/engine/scripts/functest.sh
index dad8a32061450605eb2045fbfef0d4bc72abe252..d98ad0aff0777211e5e437612a114fe03fae291c 100755
(executable)
--- a/
jjb/engine/scripts/functest.sh
+++ b/
jjb/engine/scripts/functest.sh
@@
-18,7
+18,6
@@
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-set -o nounset
set -o errexit
set -o pipefail
set -o errexit
set -o pipefail
@@
-43,7
+42,11
@@
cd $HOME && /bin/rm -rf $WORKSPACE
git clone -q $TEST_REPO_URL $WORKSPACE
# NOTE (fdegir): we need to override execution mode variable coming from change.properties file
git clone -q $TEST_REPO_URL $WORKSPACE
# NOTE (fdegir): we need to override execution mode variable coming from change.properties file
-export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
+if [[ "$CI_LOOP" != "release" ]]; then
+ export EXECUTION_MODE=$(echo "$EXECUTION_MODE" | sed 's/deployment/test/g')
+else
+ export EXECUTION_MODE=online-test
+fi
cd $WORKSPACE/test
./test.sh -s "$STACK_TYPE" -b "$BRANCH" -c "$DEPLOY_SCENARIO" -f "$TEST_FW" -t "$TEST_SUITE" \
cd $WORKSPACE/test
./test.sh -s "$STACK_TYPE" -b "$BRANCH" -c "$DEPLOY_SCENARIO" -f "$TEST_FW" -t "$TEST_SUITE" \