project-config/jenkins/jobs/fuxi.yaml
Hongbin Lu fd542ef925 Fuxi: Add python35 dsvm non-voting jobs
Change-Id: Ie951ad43e254098a1faf289e3a5c75a0d60ce227
2017-01-10 18:09:38 -06:00

99 lines
2.8 KiB
YAML

- job-template:
name: '{pipeline}-fuxi-dsvm-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/fuxi $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin fuxi https://git.openstack.org/openstack/fuxi"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/post_test_hook.sh fullstack
}}
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:
- test-results
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-fuxi-dsvm-py35-fullstack{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export DEVSTACK_GATE_USE_PYTHON3=True
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/fuxi $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin fuxi https://git.openstack.org/openstack/fuxi"
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/gate_hook.sh fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/fuxi/fuxi/tests/contrib/post_test_hook.sh fullstack
}}
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:
- test-results
- devstack-logs
- console-log