Skip to content

Instantly share code, notes, and snippets.

@denismakogon
Last active August 29, 2015 14:04
Show Gist options
  • Save denismakogon/76d9bd3181781097c39b to your computer and use it in GitHub Desktop.
Save denismakogon/76d9bd3181781097c39b to your computer and use it in GitHub Desktop.
Neutron integration job template
- job-template:
name: 'gate-trove-functional-dsvm-{datastore}-with-neutron'
node: 'devstack-precise || devstack-trusty'
wrappers:
- build-timeout:
timeout: 120
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=80
export ENABLED_SERVICES=s-proxy,s-object,s-container,s-account,trove,\
tr-api,tr-tmgr,tr-cond,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta
export ENABLE_NEUTRON=true
export PROJECTS="openstack/trove-integration openstack/diskimage-builder openstack/tripleo-image-elements $PROJECTS"
function post_test_hook {{
export BRIDGE_IP=10.1.0.1
cd /opt/stack/new/trove-integration/scripts
./redstack kick-start {datastore}
./redstack int-tests
}}
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment