bd882cdd7a
As clarkb suggested on #openstack-infra at 17:46 2015-10-22: "maybe we should s/branch-designator/job-suffix/g in all those files as job-suffix makes more sense considering how branch-designator has been used". The rename should make it easier for newcomers to understand these jobs. This renames branch-designator everywhere in jenkins/jobs/*. Change-Id: Icb11271b958d92957fb9907ff03c0b898d7b76fc
50 lines
1.7 KiB
YAML
50 lines
1.7 KiB
YAML
- job-template:
|
|
name: '{pipeline}-congress-dsvm-api{job-suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 125
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
ENABLED_SERVICES=congress,tempest,
|
|
ENABLED_SERVICES+=key,g-api,g-reg,
|
|
ENABLED_SERVICES+=n-api,n-crt,n-obj,n-cpu,n-sch,n-cauth,
|
|
ENABLED_SERVICES+=horizon,mysql,rabbit,sysstat,
|
|
ENABLED_SERVICES+=cinder,c-api,c-vol,c-sch,n-cond,
|
|
ENABLED_SERVICES+=quantum,q-svc,q-agt,q-dhcp,q-l3,q-meta,
|
|
ENABLED_SERVICES+=s-proxy,s-object,s-container,s-account
|
|
export ENABLED_SERVICES
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export PROJECTS="openstack/congress $PROJECTS"
|
|
export PROJECTS="openstack/python-congressclient $PROJECTS"
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-congressclient
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function pre_test_hook {{
|
|
# Install congress-devstack
|
|
cp -r $BASE/new/congress/contrib/devstack/* $BASE/new/devstack/
|
|
}}
|
|
export -f pre_test_hook
|
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
|
|
publishers:
|
|
- test-results
|
|
- devstack-logs
|
|
- console-log
|