866100536d
We are missing solum-pythonclient in $PROJECTS variable and our gate is currently failing. This will unblock it and allow us to submit a number of otherwise good patches. Also added SOLUM_PROJ_DIR to $DEVSTACK_LOCAL_CONFIG in order to utilize it in our devstack-gate setup for sample config generation. Added KEEP_LOCALRC to use already existing localrc file Change-Id: Id5e6b214afa693d6d5a02bc33286ddacad6289d2
101 lines
3.1 KiB
YAML
101 lines
3.1 KiB
YAML
- job:
|
|
name: 'gate-solum-devstack-dsvm'
|
|
node: 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 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 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: '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
|