Add gate-tempest for monasca-log-api
Change-Id: Ib9ff6e25848ee948ca79acc3b43782116d06e7a1
This commit is contained in:
parent
985f7a894e
commit
d5c840cbca
|
@ -102,6 +102,48 @@
|
|||
- 'gate-tempest-dsvm-monasca-java-full{job-suffix}':
|
||||
job-suffix: '-nv'
|
||||
|
||||
- job:
|
||||
name: 'gate-tempest-dsvm-monasca-log'
|
||||
|
||||
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=0
|
||||
export ENABLED_SERVICES=tempest
|
||||
DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-api git://git.openstack.org/openstack/monasca-api"
|
||||
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin monasca-log-api git://git.openstack.org/openstack/monasca-log-api"
|
||||
export DEVSTACK_LOCAL_CONFIG
|
||||
export PROJECTS="openstack/monasca-log-api $PROJECTS"
|
||||
|
||||
function pre_test_hook {{
|
||||
source $BASE/new/monasca-log-api/devstack/pre_test_hook.sh
|
||||
}}
|
||||
export -f pre_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
|
||||
./safe-devstack-vm-gate-wrap.sh
|
||||
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: gate-monasca-analytics-py27
|
||||
|
||||
|
|
|
@ -8061,6 +8061,8 @@ projects:
|
|||
- gate-monasca-log-api-build
|
||||
post:
|
||||
- monasca-log-api-localrepo-upload
|
||||
experimental:
|
||||
- gate-tempest-dsvm-monasca-log
|
||||
|
||||
- name: openstack/monasca-notification
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue