Add functional test job for python-muranoclient

Create functional test job for python-muranoclient, set as non-voting until
its working. The muranoclient functional tests are being extracted from the
main murano tempest-based tests.

Change-Id: I525a53222837c42790268e00d4408abaa99a2efb
This commit is contained in:
Ruslan Kamaldinov 2015-05-11 23:56:24 +03:00
parent b95eec61ac
commit 99bc953e21
3 changed files with 59 additions and 0 deletions

@ -90,3 +90,53 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-muranoclient-dsvm-functional{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_PROJECT_FROM_GIT=python-muranoclient
export BRANCH_OVERRIDE={branch-override}
export ENABLED_SERVICES=murano,murano-api,murano-engine,tempest
export PROJECTS="openstack/murano $PROJECTS"
export PROJECTS="openstack/murano-dashboard $PROJECTS"
export PROJECTS="openstack/python-muranoclient $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function pre_test_hook {{
# Install Murano devstack modules
cd /opt/stack/new/murano/functionaltests
./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
# Configure and run functional tests
/opt/stack/new/python-muranoclient/muranoclient/tests/functional/hooks/post_test_hook.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:
- test-results
- devstack-logs

@ -5070,6 +5070,11 @@
jobs:
- python-jobs
- pypi-jobs
- '{pipeline}-muranoclient-dsvm-functional{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: python-openstacksdk

@ -1006,6 +1006,9 @@ jobs:
- name: gate-python-muranoclient-requirements
voting: false
- name: ^(gate|check)-muranoclient-dsvm-functional$
voting: false
- name: gate-murano-dashboard-requirements
voting: false
@ -2430,6 +2433,7 @@ projects:
check:
- gate-python-muranoclient-requirements
- gate-murano-devstack-dsvm
- check-muranoclient-dsvm-functional
gate:
- gate-murano-devstack-dsvm