project-config/jenkins/jobs/mixmatch.yaml
Kristi Nikolla 7650874e23 Add experimental gate for openstack/mixmatch functional tests
This patch configures a non-voting experimental gate.
Tests will be run through the
/mixmatch/mixmatch/tests/functional/hooks/dsvm_hook.sh file.

[0], added the structure for the Devstack plugin, [1] added the
empty post_hook file.

Change-Id: Ief2b560d76f27a6eb80b8d515910958fbd1de578
Depends-On: I142def16a3179ec5cc390f419e2442dd3b93683c [0]
Depends-On: Idfc05ecdcc75c5cb738fe970d1e54ac238cae53d [1]
2017-02-02 16:11:30 -05:00

40 lines
1.1 KiB
YAML

- job-template:
name: '{pipeline}-mixmatch-dsvm-functional-{node}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/mixmatch $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_LOCAL_CONFIG="enable_plugin mixmatch git://git.openstack.org/openstack/mixmatch"
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
function post_test_hook {{
# Configure and run functional tests
$BASE/new/mixmatch/mixmatch/tests/functional/hooks/dsvm_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