Merge "jjb: xci: Make use of alternative ssh configuration file"
authorMarkos Chandras <mchandras@suse.de>
Tue, 10 Oct 2017 08:40:25 +0000 (08:40 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 10 Oct 2017 08:40:25 +0000 (08:40 +0000)
1  2 
jjb/xci/xci-verify-jobs.yml

            #!/bin/bash
  
            # skip the deployment if the patch doesn't impact the deployment
 -          if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
 +          if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
                echo "Skipping the deployment!"
                exit 0
            fi
  
-           ssh ${DISTRO}_xci_vm "cd releng-xci && ./xci_test.sh"
+           ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm "cd releng-xci && ./xci_test.sh"
  
  
  - builder:
            #!/bin/bash
  
            # skip the healthcheck if the patch doesn't impact the deployment
 -          if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then
 +          if [[ "$GERRIT_TOPIC" =~ skip-verify|skip-deployment ]]; then
                echo "Skipping the healthcheck!"
                exit 0
            fi