Add devstack gate job for Cue project
This job will run the API tests on devstack environment Change-Id: Ie27db60dc06c8775316b76ad6f23fe2012ea0225
This commit is contained in:
parent
fea1e99afd
commit
c444eca75b
46
jenkins/jobs/cue.yaml
Normal file
46
jenkins/jobs/cue.yaml
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
- job-template:
|
||||||
|
name: 'gate-cue-integration-dsvm-{broker}'
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- build-timeout:
|
||||||
|
timeout: 105
|
||||||
|
- timestamps
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- link-logs
|
||||||
|
- net-info
|
||||||
|
- devstack-checkout
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TIMEOUT=100
|
||||||
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
||||||
|
export DEVSTACK_GATE_TEMPEST=1
|
||||||
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
||||||
|
export PROJECTS="stackforge/cue stackforge/python-cueclient $PROJECTS"
|
||||||
|
|
||||||
|
function gate_hook {{
|
||||||
|
cd /opt/stack/new/cue/tests
|
||||||
|
./gate_hook.sh {broker}
|
||||||
|
}}
|
||||||
|
export -f gate_hook
|
||||||
|
|
||||||
|
function pre_test_hook {{
|
||||||
|
cd /opt/stack/new/cue/tests
|
||||||
|
./pre_test_hook.sh {broker}
|
||||||
|
}}
|
||||||
|
export -f pre_test_hook
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
cd /opt/stack/new/cue/tests
|
||||||
|
./post_test_hook.sh {broker}
|
||||||
|
}}
|
||||||
|
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:
|
||||||
|
- devstack-logs
|
||||||
|
- console-log
|
@ -3638,6 +3638,8 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- hook-{name}-rtfd
|
- hook-{name}-rtfd
|
||||||
- python-jobs
|
- python-jobs
|
||||||
|
- 'gate-cue-integration-dsvm-{broker}':
|
||||||
|
broker: 'rabbitmq'
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: cue-dashboard
|
name: cue-dashboard
|
||||||
|
@ -904,6 +904,9 @@ jobs:
|
|||||||
- name: gate-cloudkitty-dashboard-python34
|
- name: gate-cloudkitty-dashboard-python34
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
|
- name: gate-cue-integration-dsvm-rabbitmq
|
||||||
|
voting: false
|
||||||
|
|
||||||
- name: gate-hacking-python34
|
- name: gate-hacking-python34
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
@ -5317,6 +5320,7 @@ projects:
|
|||||||
- name: python-jobs
|
- name: python-jobs
|
||||||
check:
|
check:
|
||||||
- cue-coverage
|
- cue-coverage
|
||||||
|
- gate-cue-integration-dsvm-rabbitmq
|
||||||
pre-release:
|
pre-release:
|
||||||
- cue-tarball
|
- cue-tarball
|
||||||
release:
|
release:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user