Add non-voting job for GBP
A new async driver is being worked on in GBP project that will replace the existing default driver. This patch adds a new job to test this new driver in a devstack environment. Job only runs on branches master/Newton and beyond. Change-Id: I69fe9fd4dd45aa7420a8a2434678632d2fc23e8d
This commit is contained in:
parent
fdd008e3a4
commit
bff3637e77
@ -94,6 +94,54 @@
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-group-based-policy-dsvm-aim{job-suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_UNSTACK=1
|
||||
export DEVSTACK_GATE_TEMPEST=0
|
||||
export DEVSTACK_GATE_EXERCISES=0
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
||||
export PROJECTS="openstack/group-based-policy $PROJECTS"
|
||||
export PROJECTS="openstack/group-based-policy-automation $PROJECTS"
|
||||
export PROJECTS="openstack/group-based-policy-ui $PROJECTS"
|
||||
export PROJECTS="openstack/python-group-based-policy-client $PROJECTS"
|
||||
export BRANCH_OVERRIDE={branch-override}
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
fi
|
||||
|
||||
function gate_hook {{
|
||||
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/gate_aim_hook.sh dsvm-aim
|
||||
}}
|
||||
export -f gate_hook
|
||||
|
||||
function post_test_hook {{
|
||||
bash -xe $BASE/new/group-based-policy/gbpservice/tests/contrib/post_test_hook.sh dsvm-aim
|
||||
}}
|
||||
export -f post_test_hook
|
||||
|
||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-group-based-policy-dsvm-rally{job-suffix}'
|
||||
node: '{node}'
|
||||
|
@ -4824,6 +4824,11 @@
|
||||
node: ubuntu-trusty
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
- '{pipeline}-group-based-policy-dsvm-aim{job-suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-xenial
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
- '{pipeline}-group-based-policy-dsvm-rally{job-suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-trusty
|
||||
|
@ -2105,6 +2105,9 @@ jobs:
|
||||
- name: ^gate-group-based-policy-dsvm-functional$
|
||||
voting: false
|
||||
|
||||
- name: ^gate-group-based-policy-dsvm-aim-nv$
|
||||
branch: ^(?!stable/(liberty|mitaka)).*$
|
||||
|
||||
- name: ^gate-group-based-policy-dsvm-rally$
|
||||
voting: false
|
||||
|
||||
@ -9431,7 +9434,6 @@ projects:
|
||||
post:
|
||||
- static-governance-uc-publish
|
||||
|
||||
#TODO: add docs
|
||||
- name: openstack/group-based-policy
|
||||
template:
|
||||
- name: merge-check
|
||||
@ -9439,6 +9441,7 @@ projects:
|
||||
- name: publish-to-pypi
|
||||
check:
|
||||
- gate-group-based-policy-dsvm-functional
|
||||
- gate-group-based-policy-dsvm-aim-nv
|
||||
- gate-group-based-policy-dsvm-nfp-nv
|
||||
- gate-group-based-policy-dsvm-rally
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user