[Monasca] Add Tempest Jobs as non-voting for monasca repos
Add tempest tests to check jobs(non-voting) for monasca agent, common, notification, statsd and thresh Change-Id: I52b34eaabc0e0707763abc61daa38ae4d9ef16ca
This commit is contained in:
parent
794b01e578
commit
e285469325
@ -1,5 +1,6 @@
|
||||
- job:
|
||||
name: gate-monasca-api-tempest-dsvm
|
||||
- job-template:
|
||||
name: 'gate-tempest-dsvm-monasca-python-full{job-suffix}'
|
||||
|
||||
node: ubuntu-trusty
|
||||
|
||||
wrappers:
|
||||
@ -18,16 +19,22 @@
|
||||
export ENABLED_SERVICES=tempest
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api"
|
||||
export PROJECTS="openstack/monasca-api $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-persister $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-common $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-agent $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-notification $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-thresh $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-statsd $PROJECTS"
|
||||
|
||||
function pre_test_hook {
|
||||
function pre_test_hook {{
|
||||
source $BASE/new/monasca-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-api installation
|
||||
source $BASE/new/monasca-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
|
||||
@ -37,8 +44,8 @@
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: gate-monasca-api-java-tempest-dsvm
|
||||
- job-template:
|
||||
name: 'gate-tempest-dsvm-monasca-java-full{job-suffix}'
|
||||
node: ubuntu-trusty
|
||||
|
||||
wrappers:
|
||||
@ -57,19 +64,25 @@
|
||||
export ENABLED_SERVICES=tempest
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api"
|
||||
export PROJECTS="openstack/monasca-api $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-persister $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-common $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-agent $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-notification $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-thresh $PROJECTS"
|
||||
export PROJECTS="openstack/monasca-statsd $PROJECTS"
|
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MONASCA_API_IMPLEMENTATION_LANG=java"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MONASCA_PERSISTER_IMPLEMENTATION_LANG=java"
|
||||
|
||||
function pre_test_hook {
|
||||
function pre_test_hook {{
|
||||
source $BASE/new/monasca-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-api installation
|
||||
source $BASE/new/monasca-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
|
||||
@ -79,82 +92,12 @@
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: gate-monasca-persister-tempest-dsvm
|
||||
node: ubuntu-trusty
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export ENABLED_SERVICES=tempest
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api"
|
||||
export PROJECTS="openstack/monasca-api openstack/monasca-persister $PROJECTS"
|
||||
|
||||
function pre_test_hook {
|
||||
source $BASE/new/monasca-api/devstack/pre_test_hook.sh
|
||||
}
|
||||
export -f pre_test_hook
|
||||
|
||||
function post_test_hook {
|
||||
# Configure and run tempest on monasca-api installation
|
||||
source $BASE/new/monasca-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
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: gate-monasca-persister-java-tempest-dsvm
|
||||
node: ubuntu-trusty
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 130
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- shell: |
|
||||
#!/bin/bash -xe
|
||||
export PYTHONUNBUFFERED=true
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export ENABLED_SERVICES=tempest
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api"
|
||||
export PROJECTS="openstack/monasca-api openstack/monasca-persister $PROJECTS"
|
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MONASCA_API_IMPLEMENTATION_LANG=java"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MONASCA_PERSISTER_IMPLEMENTATION_LANG=java"
|
||||
|
||||
function pre_test_hook {
|
||||
source $BASE/new/monasca-api/devstack/pre_test_hook.sh
|
||||
}
|
||||
export -f pre_test_hook
|
||||
|
||||
function post_test_hook {
|
||||
# Configure and run tempest on monasca-api installation
|
||||
source $BASE/new/monasca-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
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
- job-group:
|
||||
name: 'tempest-monasca-full-jobs'
|
||||
jobs:
|
||||
- 'gate-tempest-dsvm-monasca-python-full{job-suffix}':
|
||||
job-suffix: ''
|
||||
- 'gate-tempest-dsvm-monasca-python-full{job-suffix}':
|
||||
job-suffix: '-nv'
|
||||
- 'gate-tempest-dsvm-monasca-java-full{job-suffix}':
|
||||
job-suffix: '-nv'
|
||||
|
@ -3272,6 +3272,7 @@
|
||||
jobs:
|
||||
- python-jobs
|
||||
- pypi-jobs
|
||||
- tempest-monasca-full-jobs
|
||||
|
||||
- project:
|
||||
name: monasca-api
|
||||
|
@ -2913,12 +2913,6 @@ jobs:
|
||||
- name: gate-python-fuelclient-python27
|
||||
branch: ^(?!stable/(?:6\.1)).*$
|
||||
|
||||
- name: gate-monasca-api-java-tempest-dsvm
|
||||
voting: false
|
||||
|
||||
- name: gate-monasca-persister-java-tempest-dsvm
|
||||
voting: false
|
||||
|
||||
- name: watcher-coverage
|
||||
voting: false
|
||||
|
||||
@ -7490,6 +7484,8 @@ projects:
|
||||
check:
|
||||
- gate-monasca-agent-pep8
|
||||
- gate-monasca-agent-python27
|
||||
- gate-tempest-dsvm-monasca-python-full-nv
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-agent-pep8
|
||||
- gate-monasca-agent-python27
|
||||
@ -7508,13 +7504,13 @@ projects:
|
||||
- gate-monasca-api-pep8
|
||||
- gate-monasca-api-python27
|
||||
- gate-monasca-api-build
|
||||
- gate-monasca-api-tempest-dsvm
|
||||
- gate-monasca-api-java-tempest-dsvm
|
||||
- gate-tempest-dsvm-monasca-python-full
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-api-pep8
|
||||
- gate-monasca-api-python27
|
||||
- gate-monasca-api-build
|
||||
- gate-monasca-api-tempest-dsvm
|
||||
- gate-tempest-dsvm-monasca-python-full
|
||||
post:
|
||||
- monasca-api-localrepo-upload
|
||||
|
||||
@ -7537,6 +7533,8 @@ projects:
|
||||
- gate-monasca-common-pep8
|
||||
- gate-monasca-common-python27
|
||||
- gate-monasca-common-build
|
||||
- gate-tempest-dsvm-monasca-python-full-nv
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-common-pep8
|
||||
- gate-monasca-common-python27
|
||||
@ -7567,6 +7565,8 @@ projects:
|
||||
check:
|
||||
- gate-monasca-notification-pep8
|
||||
- gate-monasca-notification-python27
|
||||
- gate-tempest-dsvm-monasca-python-full-nv
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-notification-pep8
|
||||
- gate-monasca-notification-python27
|
||||
@ -7580,13 +7580,13 @@ projects:
|
||||
- gate-monasca-persister-pep8
|
||||
- gate-monasca-persister-python27
|
||||
- gate-monasca-persister-build
|
||||
- gate-monasca-persister-tempest-dsvm
|
||||
- gate-monasca-persister-java-tempest-dsvm
|
||||
- gate-tempest-dsvm-monasca-python-full
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-persister-pep8
|
||||
- gate-monasca-persister-python27
|
||||
- gate-monasca-persister-build
|
||||
- gate-monasca-persister-tempest-dsvm
|
||||
- gate-tempest-dsvm-monasca-python-full
|
||||
post:
|
||||
- monasca-persister-localrepo-upload
|
||||
|
||||
@ -7598,6 +7598,8 @@ projects:
|
||||
check:
|
||||
- gate-monasca-statsd-pep8
|
||||
- gate-monasca-statsd-python27
|
||||
- gate-tempest-dsvm-monasca-python-full-nv
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-statsd-pep8
|
||||
- gate-monasca-statsd-python27
|
||||
@ -7607,6 +7609,8 @@ projects:
|
||||
- name: merge-check
|
||||
check:
|
||||
- gate-monasca-thresh-build
|
||||
- gate-tempest-dsvm-monasca-python-full-nv
|
||||
- gate-tempest-dsvm-monasca-java-full-nv
|
||||
gate:
|
||||
- gate-monasca-thresh-build
|
||||
post:
|
||||
|
Loading…
Reference in New Issue
Block a user