Use xenial as default node for gate-tempest-dsvm-neutron-src-neutron-lib

This patch also adds the node qualifier to the name of the job.

Change-Id: Ifc59bf61a5697e8cf2def9b3865142577b33d1fb
This commit is contained in:
Armando Migliaccio 2016-11-14 14:33:22 -08:00
parent 573e0e8a23
commit 41bddf7bf9
3 changed files with 62 additions and 4 deletions

View File

@ -183,6 +183,55 @@
- devstack-logs
- console-log
# This job is used in testing neutron-lib master changes with
# neutron tip of master, and it provides an early feedback that
# lib development does not break neutron. This is a clone of
# the previous job, that is meant to go away at some point.
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-src-{name}-{node}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
REPOSITORY="openstack/{name}"
if [ "{name}" = "pbr" ]; then
REPOSITORY="openstack-dev/pbr"
fi
export PROJECTS="$REPOSITORY $PROJECTS"
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_PROJECT_FROM_GIT={name}
# Even if the branch is overridden, make sure we use
# the correct branch using the OVERRIDE_*_PROJECT_BRANCH
# variable.
uc_project=`echo $DEVSTACK_PROJECT_FROM_GIT | tr [:lower:] [:upper:] | tr '-' '_' | sed 's/[^A-Z_]//'`
export "OVERRIDE_"$uc_project"_PROJECT_BRANCH"=$ZUUL_BRANCH
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-src-{name}{job-suffix}-plugin'
node: '{node}'

View File

@ -8271,7 +8271,13 @@
- openstack-publish-jobs
- pypi-jobs
- openstack-releasenotes-jobs
- '{pipeline}-tempest-dsvm-neutron-src-{name}{job-suffix}':
- '{pipeline}-tempest-dsvm-neutron-src-{name}-{node}{job-suffix}':
name: neutron-lib
pipeline: gate
node: ubuntu-xenial
job-suffix: ''
branch-override: default
- '{pipeline}-tempest-dsvm-neutron-src-{name}-{node}{job-suffix}':
name: neutron-lib
pipeline: gate
node: ubuntu-trusty

View File

@ -12266,7 +12266,8 @@ projects:
- gate-neutron-dsvm-api-pecan-ubuntu-trusty
- gate-neutron-dsvm-api-pecan-ubuntu-xenial
- gate-tempest-dsvm-neutron-pecan
- gate-tempest-dsvm-neutron-src-neutron-lib
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-trusty
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-xenial
- gate-grenade-dsvm-neutron-linuxbridge-multinode-nv
- gate-tempest-dsvm-neutron-pg-full-ubuntu-trusty
- gate-tempest-dsvm-neutron-pg-full-ubuntu-xenial
@ -12390,11 +12391,13 @@ projects:
- name: api-ref-jobs
- name: release-notes-jobs
check:
- gate-tempest-dsvm-neutron-src-neutron-lib
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-trusty
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-xenial
- neutron-lib-coverage-ubuntu-trusty
- neutron-lib-coverage-ubuntu-xenial
gate:
- gate-tempest-dsvm-neutron-src-neutron-lib
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-trusty
- gate-tempest-dsvm-neutron-src-neutron-lib-ubuntu-xenial
- name: openstack/neutron-specs
template: