Merge "[yamllint] move yamllint into verify phases"
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 1 Mar 2017 10:14:45 +0000 (10:14 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 1 Mar 2017 10:14:45 +0000 (10:14 +0000)
jjb/infra/bifrost-cleanup-job.yml
utils/fetch_os_creds.sh

index 0ee906f..f1b38ca 100644 (file)
                 file-paths:
                   - compare-type: ANT
                     pattern: 'prototypes/bifrost/**'
-                  - compare-type: ANT
-                    pattern: 'jjb/infra/**'
             readable-message: true
index f00e022..c99afac 100755 (executable)
@@ -201,6 +201,17 @@ elif [ "$installer_type" == "foreman" ]; then
         'source keystonerc_admin;keystone endpoint-list'" \
         | grep $admin_ip | sed 's/ /\n/g' | grep ^http | head -1) &> /dev/null
 
+elif [ "$installer_type" == "daisy" ]; then
+    verify_connectivity $installer_ip
+    cluster=$(sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \
+            "source ~/daisyrc_admin; daisy cluster-list"|grep active|head -1|awk -F "|" '{print $3}') &> /dev/null
+    if [ -z $cluster ]; then
+        echo "No active cluster detected in daisy"
+        exit 1
+    fi
+
+    sshpass -p r00tme scp 2>/dev/null $ssh_options root@${installer_ip}:/etc/kolla/admin-openrc.sh $dest_path &> /dev/null
+
 else
     error "Installer $installer is not supported by this script"
 fi