944ae6e7cd
Add an initial devstack job for the stackforge project, solum. It just installs solum's devstack integration and runs devstack. That just ensures that the devstack integration doesn't blow up just trying to start up the service(s). There's not much else to test yet, but this is a starting point to build on. Start this job out as non-voting so that we can make sure it works as expected before turning it on to be gating. Change-Id: I4fd370abfcc51b71b250298163d1348a8a5c1bef
34 lines
906 B
YAML
34 lines
906 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
|
|
|
|
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
|