Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"
authorMorgan Richomme <morgan.richomme@orange.com>
Fri, 8 Sep 2017 08:34:05 +0000 (08:34 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 8 Sep 2017 08:34:05 +0000 (08:34 +0000)
jjb/functest/functest-alpine.sh [changed mode: 0644->0755]
jjb/xci/xci-verify-jobs.yml
utils/fetch_os_creds.sh

old mode 100644 (file)
new mode 100755 (executable)
index cee3026..9be9fe5
@@ -68,7 +68,12 @@ volumes="${images_vol} ${results_vol} ${sshkey_vol} ${rc_file_vol} ${cacert_file
 
 set +e
 
-tiers=(healthcheck smoke features vnf)
+if ${FUNCTEST_SUITE_NAME} == 'healthcheck'; then
+    tiers=(healthcheck)
+else
+    tiers=(healthcheck smoke features vnf)
+fi
+
 for tier in ${tiers[@]}; do
     FUNCTEST_IMAGE=opnfv/functest-${tier}
     echo "Functest: Pulling Functest Docker image ${FUNCTEST_IMAGE} ..."
index 61d2558..5fca9bd 100644 (file)
 - builder:
     name: 'xci-verify-healthcheck-macro'
     builders:
-        - shell: |
-            #!/bin/bash
-
-            echo "Hello World!"
+        - shell:
+            !include-raw: ../../utils/fetch_os_creds.sh
+        - shell:
+            !include-raw: ../functest/functest-alpine.sh
index 54b2b45..3bc66f9 100755 (executable)
@@ -243,6 +243,10 @@ elif [ "$installer_type" == "daisy" ]; then
 
     sshpass -p r00tme scp 2>/dev/null $ssh_options root@${installer_ip}:/etc/kolla/admin-openrc.sh $dest_path &> /dev/null
 
+elif ["$installer_type" == "osa"]; then
+    # Get RC file from control server
+    filename=$(ssh -o StrictHostKeyChecking=no root@${controller_ip} find /var/lib/lxc/controller00_nova_api_placement_container-* -name openrc)
+    scp root@${controller_ip}:${filename} ${destpath}
 else
     error "Installer $installer is not supported by this script"
 fi