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:
parent
b95eec61ac
commit
99bc953e21
@ -90,3 +90,53 @@
|
|||||||
publishers:
|
publishers:
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- 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:
|
jobs:
|
||||||
- python-jobs
|
- python-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
|
- '{pipeline}-muranoclient-dsvm-functional{branch-designator}':
|
||||||
|
pipeline: check
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
branch-designator: ''
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: python-openstacksdk
|
name: python-openstacksdk
|
||||||
|
@ -1006,6 +1006,9 @@ jobs:
|
|||||||
- name: gate-python-muranoclient-requirements
|
- name: gate-python-muranoclient-requirements
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
|
- name: ^(gate|check)-muranoclient-dsvm-functional$
|
||||||
|
voting: false
|
||||||
|
|
||||||
- name: gate-murano-dashboard-requirements
|
- name: gate-murano-dashboard-requirements
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
@ -2430,6 +2433,7 @@ projects:
|
|||||||
check:
|
check:
|
||||||
- gate-python-muranoclient-requirements
|
- gate-python-muranoclient-requirements
|
||||||
- gate-murano-devstack-dsvm
|
- gate-murano-devstack-dsvm
|
||||||
|
- check-muranoclient-dsvm-functional
|
||||||
gate:
|
gate:
|
||||||
- gate-murano-devstack-dsvm
|
- gate-murano-devstack-dsvm
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user