diff options
author | Thomas Duval <thomas.duval@orange.com> | 2020-06-03 10:06:52 +0200 |
---|---|---|
committer | Thomas Duval <thomas.duval@orange.com> | 2020-06-03 10:06:52 +0200 |
commit | 7bb53c64da2dcf88894bfd31503accdd81498f3d (patch) | |
tree | 4310e12366818af27947b5e2c80cb162da93a4b5 /tests/functional/run_tests_for_component.sh | |
parent | cbea4e360e9bfaa9698cf7c61c83c96a1ba89b8c (diff) |
Update to new version 5.4HEADstable/jermamaster
Signed-off-by: Thomas Duval <thomas.duval@orange.com>
Change-Id: Idcd868133d75928a1ffd74d749ce98503e0555ea
Diffstat (limited to 'tests/functional/run_tests_for_component.sh')
-rw-r--r-- | tests/functional/run_tests_for_component.sh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/functional/run_tests_for_component.sh b/tests/functional/run_tests_for_component.sh deleted file mode 100644 index 6c6a0330..00000000 --- a/tests/functional/run_tests_for_component.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -CUR_PWD=$(pwd) -INPUT_FILE=../tools/moon_kubernetes/templates/moon_functest.yaml -OUTPUT_FILE=tests/functional_pod/moon_functest.yaml - -echo current working directory: ${CUR_PWD} - -cat ${INPUT_FILE} | sed "s|{{PATH}}|${CUR_PWD}|" > ${OUTPUT_FILE} - -kubectl create -f ${OUTPUT_FILE} - -sleep 5 -kubectl get -n moon jobs -echo OUTPUT is $? -if [ "$?" -ne 0 ] -then - sleep 5 - kubectl get -n moon jobs -fi - -echo "waiting for FuncTests (it may takes time)..." -echo -e "\033[35m" -sed '/<END OF JOB>/q' <(kubectl logs -n moon jobs/functest -f) -echo -e "\033[m" - -kubectl delete -f ${OUTPUT_FILE} |