project-config/jenkins/jobs/solum.yaml
Andreas Jaeger 4c56afa6c8 Switch to Xenial: solum
Change gate-solum-devstack-dsvm to a job-template.

Remove gate-solum-devstack-dsvm-centos7, it's a duplicate of
gate-solum-devstack-dsvm.

Change-Id: I45b9bd041431e4fd80cd5309f9897e881292e31c
2016-12-06 21:09:08 +01:00

52 lines
1.7 KiB
YAML

- job-template:
name: 'gate-solum-devstack-dsvm-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export ENABLED_SERVICES=solum,solum-api,solum-conductor,solum-deployer,solum-worker,tempest,zaqar,barbican,mistral
export DEVSTACK_LOCAL_CONFIG="enable_plugin solum git://git.openstack.org/openstack/solum"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"SOLUM_PROJ_DIR=/opt/stack/new/solum"
export PROJECTS="openstack/solum openstack/python-solumclient $PROJECTS"
# TODO(ravips): Workaround until barbican, mistral gets into devstack
export PROJECTS="openstack/barbican openstack/mistral $PROJECTS"
export PROJECTS="openstack/solum-dashboard $PROJECTS"
export KEEP_LOCALRC=1
function pre_test_hook {{
cd /opt/stack/new/solum/functionaltests
./pre_test_hook.sh
}}
export -f pre_test_hook
function gate_hook {{
cd /opt/stack/new/solum/functionaltests
./gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/solum/functionaltests
./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