Fix deploy-controller-run to pass ShellCheck 49/60849/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 28 Jul 2017 03:37:52 +0000 (23:37 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 28 Jul 2017 03:43:14 +0000 (23:43 -0400)
Change-Id: I559cdf096907b76cac3c44b5a42c75c6d3269216
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.coafile
jjb/integration/include-raw-integration-deploy-controller-run-test.sh

index 5d8a60cd64072bbe215af0171f2f698ce1367101..c24f766b48333f64ebfda2deebd7e6bc24d19458 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -31,7 +31,6 @@ files = **.sh
 ignore = .git/**,
     .tox/**,
     jenkins-scripts/*-local-env.sh,
-    jjb/integration/include-raw-integration-deploy-controller-run-test.sh,
     jjb/integration/include-raw-integration-deploy-openstack-run-test.sh,
     jjb/integration/include-raw-integration-list-jobs.sh,
     jjb/integration/include-raw-integration-multipatch-distribution-test.sh,
index 3f3e38ebd1778ee069aef95932aac8b2a794b0c0..3e7ed10308255ef59668574aa9fe03c273441316 100644 (file)
@@ -2,6 +2,7 @@
 # Activate robotframework virtualenv
 # ${ROBOT_VENV} comes from the include-raw-integration-install-robotframework.sh
 # script.
+# shellcheck source=${ROBOT_VENV}/bin/activate disable=SC1091
 source ${ROBOT_VENV}/bin/activate
 
 CONTROLLERMEM="2048m"
@@ -33,6 +34,7 @@ if [ -f "${WORKSPACE}/test/csit/scriptplans/${TESTPLAN}" ]; then
     cat scriptplan.txt
     for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' scriptplan.txt ); do
         echo "Executing ${line}..."
+        # shellcheck source=${line} disable=SC1091
         source ${line}
     done
 fi
@@ -210,6 +212,7 @@ if [ -f "${configplan_filepath}" ]; then
     cat configplan.txt
     for line in $( egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' configplan.txt ); do
         echo "Executing ${line}..."
+        # shellcheck source=${line} disable=SC1091
         source ${line}
     done
 fi