Move monasca-log tempest job to check queue

* Rework test to be a job-template following best practices for naming.
* Run the tests on ubuntu-xenial node
* Typo in comment

Change-Id: Ib09a507562dd9ad0eb79c3b94e5c1a66d5ffdcee
This commit is contained in:
Witold Bedyk 2016-09-05 16:32:25 +02:00 committed by Andreas Jaeger
parent cf24075d3f
commit 39d9cfad64
3 changed files with 12 additions and 11 deletions

View File

@ -104,10 +104,9 @@
- 'gate-tempest-dsvm-monasca-java-full{job-suffix}':
job-suffix: '-nv'
- job:
name: 'gate-tempest-dsvm-monasca-log'
node: ubuntu-trusty
- job-template:
name: 'gate-tempest-dsvm-monasca-log-api-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
@ -129,15 +128,15 @@
PROJECTS="openstack/monasca-api $PROJECTS"
export PROJECTS="openstack/monasca-log-api $PROJECTS"
function pre_test_hook {
function pre_test_hook {{
source $BASE/new/monasca-log-api/devstack/pre_test_hook.sh
}
}}
export -f pre_test_hook
function post_test_hook {
function post_test_hook {{
# Configure and run tempest on monasca-log-api installation
source $BASE/new/monasca-log-api/devstack/post_test_hook.sh
}
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh

View File

@ -6124,6 +6124,9 @@
- python-jobs
- pypi-jobs
- maven-plugin-jobs
- gate-tempest-dsvm-monasca-log-api-{node}{suffix}:
node: ubuntu-xenial
suffix: '-nv'
- project:
name: monasca-notification

View File

@ -1168,7 +1168,7 @@ jobs:
- name: ^.*-nv$
voting: false
# Restrict explicit ubuntu-trusty jobs to < Newton
# and xenila to >= Newton.
# and xenial to >= Newton.
- name: ^.*-ubuntu-trusty(-nv)?$
branch: ^stable/(liberty|mitaka)$
- name: ^.*-ubuntu-xenial(-nv)?$
@ -10372,6 +10372,7 @@ projects:
- gate-monasca-log-api-pep8-ubuntu-xenial
- gate-monasca-log-api-python27-ubuntu-xenial
- gate-monasca-log-api-build
- gate-tempest-dsvm-monasca-log-api-ubuntu-xenial-nv
gate:
- gate-monasca-log-api-pep8-ubuntu-trusty
- gate-monasca-log-api-python27-ubuntu-trusty
@ -10380,8 +10381,6 @@ projects:
- gate-monasca-log-api-build
post:
- monasca-log-api-localrepo-upload
experimental:
- gate-tempest-dsvm-monasca-log
- name: openstack/monasca-notification
template: