project-config/jenkins/jobs/tap-as-a-service.yaml
YAMAMOTO Takashi c68c023a65 Add tap-as-a-service experimental tempest job
I plan to make tap-as-a-service provide a tempest plugin.
DEVSTACK_GATE_TEMPEST_REGEX will be defined by devstackgaterc.

Change-Id: Ib647751b6258716347e3c110e9762546298d6e67
2015-11-11 18:35:28 +09:00

39 lines
1.2 KiB
YAML

- job-template:
name: '{pipeline}-tempest-dsvm-tap-as-a-service{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
exoprt DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Enable tap-as-a-service
export PROJECTS="openstack/tap-as-a-service $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin tap-as-a-service git://git.openstack.org/openstack/tap-as-a-service"
ENABLED_SERVICES=taas,taas_openvswitch_agent
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/tap-as-a-service/devstack/devstackgaterc
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