Fixing broken copy of BMRA host_vars 93/70893/5
authorGeorg Kunz <georg.kunz@est.tech>
Thu, 27 Aug 2020 19:43:22 +0000 (21:43 +0200)
committerRihab Banday <rihab.banday@ericsson.com>
Thu, 10 Sep 2020 10:29:00 +0000 (10:29 +0000)
The host_vars directory is not correctly copied during deployment
resulting in a deployment failure.

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: Ic56c9073d7f535245aafe9b962b627622052a9a0
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70893
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
functions.sh

index f991dc8..4d75ee1 100755 (executable)
@@ -203,7 +203,7 @@ if ! command -v docker; then
 fi
 if [ ! -d "${PROJECT_ROOT}/container-experience-kits" ]; then
     git clone --recurse-submodules --depth 1 https://github.com/intel/container-experience-kits.git -b v1.4.1 ${PROJECT_ROOT}/container-experience-kits/
-    cp -r ${PROJECT_ROOT}/container-experience-kits/examples/group_vars examples/host_vars ${PROJECT_ROOT}/container-experience-kits/
+    cp -r ${PROJECT_ROOT}/container-experience-kits/examples/{group_vars,host_vars} ${PROJECT_ROOT}/container-experience-kits/
 #TODO Remove this once the reported issue is fixed in the next BMRA Release
     sed -i '/\openshift/a \    extra_args: --ignore-installed PyYAML' \
          ${PROJECT_ROOT}/container-experience-kits/roles/net-attach-defs-create/tasks/main.yml