project-config/jenkins/jobs/zun.yaml
Hongbin Lu 371e019dd0 Correct the directory path for Zun
The project has been renamed so the path needs to be updated.

Change-Id: I9694745e82c6ef1fd6c061c032ed25f2da74a23d
2016-09-06 10:52:42 -05:00

51 lines
1.3 KiB
YAML

- job:
name: 'gate-zun-devstack-dsvm'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_NEUTRON=1
# Enable tempest for tempest plugin
export ENABLED_SERVICES=tempest
export PROJECTS="openstack/zun $PROJECTS"
export PROJECTS="openstack/python-zunclient $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin zun git://git.openstack.org/openstack/zun"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {
cd /opt/stack/new/zun/
./devstack/gate_hook.sh
}
export -f gate_hook
function post_test_hook {
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/zun/
./zun/tests/contrib/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