1b9c6ca53f
Closes-Bug: #1504592 Implements: blueprint devstack-plugin Change-Id: I094dc31b2e58846f640ffe2ab7556499081b1b02
98 lines
3.0 KiB
YAML
98 lines
3.0 KiB
YAML
- job:
|
|
name: 'gate-solum-devstack-dsvm'
|
|
node: 'devstack-precise || devstack-trusty'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 65
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
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"
|
|
|
|
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: 'devstack-centos7'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 65
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
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"
|
|
|
|
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
|