699b049db7
Clone the toci script into the image when building it and point to the correct place on the image to execute it. Change-Id: I4c7f3c10274fd2a9a4e76abc07bdf41cc1a6b02d
35 lines
915 B
YAML
35 lines
915 B
YAML
- job:
|
|
name: 'gate-tripleo-deploy'
|
|
node: 'tripleo-precise'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 120
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
function gate_hook {
|
|
bash -xe /home/jenkins/tripleo/tripleo-ci/toci_gate_test.sh
|
|
}
|
|
export -f gate_hook
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- scp:
|
|
site: 'static.openstack.org'
|
|
files:
|
|
- target: 'logs/$LOG_PATH'
|
|
source: '**/pip.log'
|
|
keep-hierarchy: false
|
|
copy-after-failure: true
|
|
- console-log
|