Add devstack job for Mistral project

This job will run simple Mistral API test on devstack environment

Change-Id: I8b1083be25f282b3f814f104c7e28b0d281d3764
This commit is contained in:
Sergey Kolekonov 2014-04-30 15:35:41 +04:00
parent 54d33e020e
commit 9128f64983
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

@ -497,6 +497,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
@ -3560,6 +3562,7 @@ projects:
- gate-mistral-python27
- gate-mistral-python33
- gate-mistral-docs
- gate-mistral-devstack-dsvm
gate:
- gate-mistral-pep8
- gate-mistral-python26