534d20287a
The solum devstack job has to install the devstack support for solum out of the solum tree before running devstack. This job assumed the solum tree would be at the location where devstack puts it, but at this point, devstack has not run yet. Adding stackforge/solum to PROJECTS will get the devstack-gate script to check it out before running this hook. Change-Id: Ia682041e31f5e6783260d855c462df376a6d447c
35 lines
941 B
YAML
35 lines
941 B
YAML
- job:
|
|
name: gate-solum-devstack-dsvm
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 60
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export ENABLED_SERVICES=solum
|
|
export PROJECTS="stackforge/solum"
|
|
|
|
function pre_test_hook {
|
|
# Install solum devstack integration
|
|
SOLUM_BASE=/opt/stack/new/solum/contrib/devstack
|
|
DEVSTACK_BASE=/opt/stack/new/devstack
|
|
cp $SOLUM_BASE/lib/* $DEVSTACK_BASE/lib
|
|
cp $SOLUM_BASE/extras.d/* $DEVSTACK_BASE/extras.d
|
|
}
|
|
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
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|