diff options
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/functest/functest-k8.sh | 1 | ||||
-rw-r--r-- | jjb/global/basic-jobs.yml | 2 | ||||
-rw-r--r-- | jjb/releng/releng-release-jobs.yml | 2 | ||||
-rwxr-xr-x | jjb/xci/xci-run-functest.sh | 5 |
4 files changed, 6 insertions, 4 deletions
diff --git a/jjb/functest/functest-k8.sh b/jjb/functest/functest-k8.sh index 49d7163a9..9017354cc 100755 --- a/jjb/functest/functest-k8.sh +++ b/jjb/functest/functest-k8.sh @@ -12,7 +12,6 @@ sudo rm -rf $rc_file if [[ ${INSTALLER_TYPE} == 'compass' ]]; then admin_conf_file_vol="-v ${HOME}/admin.conf:/root/.kube/config" - echo "export KUBECONFIG=/root/.kube/config" >> $rc_file echo "export KUBERNETES_PROVIDER=local" >> $rc_file KUBE_MASTER_URL=$(cat ${HOME}/admin.conf|grep server| awk '{print $2}') echo "export KUBE_MASTER_URL=$KUBE_MASTER_URL" >> $rc_file diff --git a/jjb/global/basic-jobs.yml b/jjb/global/basic-jobs.yml index e55f068ca..a8b9cffbc 100644 --- a/jjb/global/basic-jobs.yml +++ b/jjb/global/basic-jobs.yml @@ -13,7 +13,7 @@ branch: '{stream}' gs-pathname: '' disabled: false - - euphrates: + - fraser: branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false diff --git a/jjb/releng/releng-release-jobs.yml b/jjb/releng/releng-release-jobs.yml index b581b163c..e31320b81 100644 --- a/jjb/releng/releng-release-jobs.yml +++ b/jjb/releng/releng-release-jobs.yml @@ -90,7 +90,7 @@ - gerrit-trigger-change-merged: project: '{project}' branch: 'master' - files: 'releases/**' + files: 'releases/{stream}/*' builders: - create-virtualenv diff --git a/jjb/xci/xci-run-functest.sh b/jjb/xci/xci-run-functest.sh index 2e343631b..aa98e07aa 100755 --- a/jjb/xci/xci-run-functest.sh +++ b/jjb/xci/xci-run-functest.sh @@ -49,7 +49,10 @@ if ! sed -n "/^- scenario: $DEPLOY_SCENARIO$/,/^$/p" $OPNFV_SCENARIO_REQUIREMENT exit 0 fi -ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "cd releng-xci/xci && PATH=/home/devuser/.local/bin:$PATH ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml" +# set XCI_VENV for ansible +export XCI_VENV=/home/devuser/releng-xci/venv + +ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "source $XCI_VENV/bin/activate; cd releng-xci/xci && ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml" echo "Running functest" ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/run-functest.sh" echo "Functest log" |