Add {murano-app}-unittest job
* Add gate-dsvm-murano-apps-refstackclient-unittest to be triggered on changes in 'RefStackClient/.*' Depends-On: If285fd40fa0a1dcb9ffdf01ad646471e77631260 Change-Id: I2e354d3ad2e24b29a374e629c51c297e8938bd64
This commit is contained in:
parent
f41a2cd132
commit
d61a004827
@ -201,3 +201,43 @@
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: 'gate-dsvm-{name}-{murano-app}-unittest-{node}{suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- zuul-git-prep
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export KEYSTONE_USE_MOD_WSGI=False
|
||||
# Allow tempest to use site-packages with plugins
|
||||
export PROJECTS="openstack/murano $PROJECTS"
|
||||
export PROJECTS="openstack/python-muranoclient $PROJECTS"
|
||||
export PROJECTS="openstack/murano-dashboard $PROJECTS"
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin murano git://git.openstack.org/openstack/murano"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service heat h-api h-api-cfn h-api-cw h-eng"
|
||||
function post_test_hook {{
|
||||
# Configure and run functional tests
|
||||
. /opt/stack/new/devstack/openrc admin admin
|
||||
cd ${{WORKSPACE}}
|
||||
tox -ve {murano-app}-unittest
|
||||
}}
|
||||
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
|
||||
- console-log
|
||||
|
@ -4407,6 +4407,13 @@
|
||||
|
||||
jobs:
|
||||
- linters-jobs
|
||||
- 'gate-dsvm-{name}-{murano-app}-unittest-{node}{suffix}':
|
||||
suffix: '-nv'
|
||||
node:
|
||||
- ubuntu-xenial
|
||||
- ubuntu-trusty
|
||||
murano-app:
|
||||
- refstackclient
|
||||
|
||||
- project:
|
||||
name: murano-dashboard
|
||||
|
@ -2899,6 +2899,10 @@ jobs:
|
||||
- name: ^gate-murano-apps-linters-ubuntu-(trusty|xenial)$
|
||||
voting: false
|
||||
|
||||
- name: ^gate-dsvm-murano-apps-refstackclient-unittest-ubuntu-(trusty|xenial)-nv
|
||||
files:
|
||||
- 'RefStackClient/.*'
|
||||
|
||||
- name: gate-networking-nec-python34
|
||||
branch: ^(?!stable/liberty).*$
|
||||
|
||||
@ -8812,6 +8816,8 @@ projects:
|
||||
template:
|
||||
- name: merge-check
|
||||
check:
|
||||
- gate-dsvm-murano-apps-refstackclient-unittest-ubuntu-trusty-nv
|
||||
- gate-dsvm-murano-apps-refstackclient-unittest-ubuntu-xenial-nv
|
||||
- gate-murano-apps-linters-ubuntu-trusty
|
||||
- gate-murano-apps-linters-ubuntu-xenial
|
||||
gate:
|
||||
|
Loading…
Reference in New Issue
Block a user