Merge "Add devstack job for Mistral project"

This commit is contained in:
Jenkins 2014-04-30 22:34:43 +00:00 committed by Gerrit Code Review
commit 941acb42ef
2 changed files with 45 additions and 0 deletions

View File

@ -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

View File

@ -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