Add dsvm gate job to freezer-api
We need to execute integration tests automatically at every commit in the freezer-api repo. This commit add the dsvm gate job to the project. Change-Id: I377f3632dd7dccc762a8370d433e14e0d48f414f
This commit is contained in:
parent
daf8d32f4f
commit
cf7450a3e6
38
jenkins/jobs/freezer.yaml
Normal file
38
jenkins/jobs/freezer.yaml
Normal file
@ -0,0 +1,38 @@
|
||||
- job:
|
||||
name: gate-freezer-devstack-dsvm
|
||||
node: 'devstack-precise || devstack-trusty'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 65
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_TIMEOUT=60
|
||||
export PROJECTS="openstack/freezer-api $PROJECTS"
|
||||
export PROJECTS="openstack/freezer-web-ui $PROJECTS"
|
||||
export PROJECTS="openstack/freezer $PROJECTS"
|
||||
|
||||
function gate_hook {
|
||||
$BASE/new/freezer-api/devstack/gate_hook.sh
|
||||
}
|
||||
export -f gate_hook
|
||||
|
||||
function post_test_hook {
|
||||
cd /opt/stack/new/freezer-api/tests
|
||||
./post_test_hook.sh
|
||||
}
|
||||
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
|
@ -4546,6 +4546,8 @@ projects:
|
||||
- gate-freezer-api-pylint
|
||||
- gate-freezer-api-pep8
|
||||
- gate-freezer-api-python27
|
||||
experimental:
|
||||
- gate-freezer-devstack-dsvm
|
||||
|
||||
- name: openstack/freezer-web-ui
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user