diff --git a/modules/openstack_project/files/jenkins_job_builder/config/mistral.yaml b/modules/openstack_project/files/jenkins_job_builder/config/mistral.yaml new file mode 100644 index 0000000000..659281947f --- /dev/null +++ b/modules/openstack_project/files/jenkins_job_builder/config/mistral.yaml @@ -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 diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 4b23d06aed..c4e64c8805 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -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