project-config/jenkins/jobs/solum.yaml
Paul Belanger c857253b44 Move gate-solum-devstack-dsvm-centos7 to centos-7
This is part of the migration from devstack-centos7 to centos-7 dibs.

Change-Id: Ib504a67f2086897d42384d9c1a4cc58f5af9ed8d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-31 18:38:32 +00:00

101 lines
3.1 KiB
YAML

- job:
name: 'gate-solum-devstack-dsvm'
node: ubuntu-trusty
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
- job:
name: 'gate-solum-devstack-dsvm-centos7'
node: centos-7
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 PROJECTS="openstack/solum $PROJECTS"
# TODO(ravips): Workaround until barbican, mistral gets into devstack
export PROJECTS="openstack/barbican openstack/mistral $PROJECTS"
export PROJECTS="openstack/solum-dashboard $PROJECTS"
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