system-config/modules/openstack_project/files/jenkins_job_builder/config/solum.yaml
Noorul Islam K M 99fe89794f Move devstack hooks from infra config to solum repo
To minimize the work done in infra project and reduce the dependency, let us
have code in solum repository and invoke the same from devstack job.

Solum part is here [1].

[1] https://review.openstack.org/65507

Change-Id: I0f763b20f60d56ffd7e1630303c1e936f80f61d8
2014-01-08 23:25:51 +05:30

39 lines
966 B
YAML

- job:
name: gate-solum-devstack-dsvm
node: devstack-precise
wrappers:
- timeout:
timeout: 65
fail: true
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export ENABLED_SERVICES=solum,tempest
export PROJECTS="stackforge/solum"
function pre_test_hook {
cd /opt/stack/new/solum/functionaltests
./pre_test_hook.sh
}
export -f pre_test_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
- link-logs
publishers:
- devstack-logs
- console-log