project-config/jenkins/jobs/monasca.yaml
Ryan Brandt 6794a0f024 Add monasca-api to projects list
Need to add monasca-api to the list of required projects
for the gate job.

Change-Id: Id55f5b89f02b69d6897a20ade4f01b3b992bce53
2015-11-11 09:51:11 -07:00

41 lines
1.2 KiB
YAML

- job:
name: gate-monasca-api-tempest-dsvm
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
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 $PROJECTS"
function pre_test_hook {
# Configure and run tempest on monasca-api installation
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