project-config/jenkins/jobs/cloudkitty.yaml
Jeremy Liu a2348cb6e9 Run cloudkitty-dsvm-install job on separated nodes
Change-Id: Ifb9b85147dccc195a1037f5973d154c7e8be6faf
2017-02-10 09:34:55 +08:00

33 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-cloudkitty-dsvm-install-{node}{suffix}'
node: '{node}'
wrappers:
- timeout:
timeout: 120
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin cloudkitty https://github.com/stackforge/cloudkitty master"
export DEVSTACK_LOCAL_CONFIG
export PROJECTS="openstack/cloudkitty $PROJECTS"
export PROJECTS="openstack/python-cloudkittyclient $PROJECTS"
export PROJECTS="openstack/cloudkitty-dashboard $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
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