36058c6e3f
The gnocchi repository have been moved from stackforge to openstack namespace, the gate jobs need to be updated too. Change-Id: Ia270c0da8fe078590e33e2cdec773a9e05d95172
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
- job-template:
|
|
name: '{pipeline}-gnocchi-dsvm-functional-{storagedriver}-{sqldriver}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 95
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=90
|
|
export PROJECTS="openstack/gnocchi $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin gnocchi git://git.openstack.org/openstack/gnocchi"
|
|
|
|
function gate_hook {{
|
|
cd /opt/stack/new/gnocchi/devstack/gate
|
|
./gate_hook.sh {storagedriver} {sqldriver}
|
|
}}
|
|
export -f gate_hook
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/gnocchi/devstack/gate
|
|
./post_test_hook.sh {storagedriver} {sqldriver}
|
|
}}
|
|
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
|