Merge "Add devstack job for Mistral project"
This commit is contained in:
commit
941acb42ef
@ -0,0 +1,42 @@
|
||||
- job:
|
||||
name: gate-mistral-devstack-dsvm
|
||||
node: devstack-precise
|
||||
|
||||
wrappers:
|
||||
- timeout:
|
||||
timeout: 65
|
||||
fail: true
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_TIMEOUT=60
|
||||
export ENABLED_SERVICES=mistral
|
||||
export PROJECTS="stackforge/mistral $PROJECTS"
|
||||
|
||||
function pre_test_hook {
|
||||
# Install mistral devstack integration
|
||||
MISTRAL_BASE=/opt/stack/new/mistral/contrib/devstack
|
||||
DEVSTACK_BASE=/opt/stack/new/devstack
|
||||
cp $MISTRAL_BASE/lib/* $DEVSTACK_BASE/lib
|
||||
cp $MISTRAL_BASE/extras.d/* $DEVSTACK_BASE/extras.d
|
||||
}
|
||||
export -f pre_test_hook
|
||||
|
||||
function post_test_hook {
|
||||
cd /opt/stack/new/mistral/tools
|
||||
bash check_api.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
|
@ -499,6 +499,8 @@ jobs:
|
||||
voting: false
|
||||
- name: gate-mistral-python33
|
||||
voting: false
|
||||
- name: gate-mistral-devstack-dsvm
|
||||
voting: false
|
||||
- name: gate-mistral-extra-python33
|
||||
voting: false
|
||||
- name: gate-python-mistralclient-python33
|
||||
@ -3609,6 +3611,7 @@ projects:
|
||||
- gate-mistral-python27
|
||||
- gate-mistral-python33
|
||||
- gate-mistral-docs
|
||||
- gate-mistral-devstack-dsvm
|
||||
gate:
|
||||
- gate-mistral-pep8
|
||||
- gate-mistral-python26
|
||||
|
Loading…
x
Reference in New Issue
Block a user