system-config/modules/openstack_project/files/jenkins_job_builder/config/swift-functional.yaml
Monty Taylor caacc138e3 Add job to run swift functional tests.
Run swift functional tests against a devstack vm.

Change-Id: I26a33de6bd413cbc73f65a99c03c091f8b7799c9
Reviewed-on: https://review.openstack.org/32125
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-07-12 15:24:27 +00:00

38 lines
917 B
YAML

- job:
name: gate-swift-devstack-vm-functional
node: devstack-precise
wrappers:
- timeout:
timeout: 120
fail: true
- timestamps
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
builders:
- devstack-inprogress
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
function post_test_hook {
cd /opt/stack/swift
bash .functests
}
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:
- console-log
- devstack-complete