project-config/jenkins/jobs/monasca-transform.yaml
David C Kennedy 223f0e0ddc Add CI tasks to monasca-transform
Add the basic CI tasks to monasca-transform.

Change-Id: I99ac76acd4c5991544c8d986f915dfd0b73615f8
2016-11-16 12:27:18 +00:00

49 lines
1.7 KiB
YAML

- 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