Add CI tasks to monasca-transform

Add the basic CI tasks to monasca-transform.

Change-Id: I99ac76acd4c5991544c8d986f915dfd0b73615f8
This commit is contained in:
David C Kennedy 2016-11-14 11:59:11 +00:00
parent 3860fdfb9c
commit 223f0e0ddc
3 changed files with 63 additions and 1 deletions

View File

@ -0,0 +1,48 @@
- job:
name: 'gate-tempest-dsvm-monasca-transform-python-full'
node: ubuntu-xenial
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=tempest
export DEVSTACK_LOCAL_CONFIG="enable_plugin monasca-transform git://git.openstack.org/openstack/monasca-transform"
export PROJECTS="openstack/monasca-transform $PROJECTS"
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 PROJECTS="openstack/python-monascaclient $PROJECTS"
export PROJECTS="openstack/monasca-grafana-datasource $PROJECTS"
export PROJECTS="openstack/monasca-ui $PROJECTS"
function pre_test_hook {
source $BASE/new/monasca-transform/devstack/pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
# Configure and run tempest on monasca-transform installation
source $BASE/new/monasca-transform/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

View File

@ -6975,6 +6975,15 @@
jobs:
- maven-plugin-jobs
- project:
name: monasca-transform
tarball-site: tarballs.openstack.org
jobs:
- python-jobs
- pypi-jobs
- gate-tempest-dsvm-monasca-transform-python-full
- project:
name: monasca-ui
tarball-site: tarballs.openstack.org

View File

@ -11426,7 +11426,12 @@ projects:
- name: openstack/monasca-transform
template:
- name: merge-check
- name: noop-jobs
- name: check-requirements
- name: python-jobs
check:
- gate-tempest-dsvm-monasca-transform-python-full
gate:
- gate-tempest-dsvm-monasca-transform-python-full
- name: openstack/monasca-ui
template: