6da9309ec7
Use local_conf stanz for some more files where possible. Change-Id: I243894987593aa5f51e28564761f0679676f3d30
130 lines
3.8 KiB
YAML
130 lines
3.8 KiB
YAML
- job-template:
|
|
name: '{pipeline}-functional-{network}-dsvm-ec2api-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export TEMPEST_CONCURRENCY=2
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
export PROJECTS="openstack/ec2-api $PROJECTS"
|
|
|
|
if [ "{network}" = "neutron" ] ; then
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
else
|
|
export DEVSTACK_GATE_NEUTRON=0
|
|
fi
|
|
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="ec2api.tests.functional"
|
|
|
|
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
|
|
|
|
- job-template:
|
|
name: 'ec2-api-functional-neutron-dsvm-full-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 190
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
|
|
RUN_LONG_TESTS=1
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export PROJECTS="openstack/ec2-api $PROJECTS"
|
|
export PROJECTS="openstack/swift3 $PROJECTS"
|
|
export ENABLED_SERVICES+=,swift3
|
|
|
|
function post_test_hook {{
|
|
source $BASE/new/devstack/accrc/admin/admin
|
|
cd /opt/stack/new/ec2-api/
|
|
./ec2api/tests/contrib/post_test_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
|
|
|
|
- job-template:
|
|
name: 'ec2-api-rally-dsvm-fakevirt-{node}{suffix}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 130
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- devstack-checkout
|
|
- local_conf:
|
|
conf: |
|
|
[[local|localrc]]
|
|
enable_plugin ec2-api git://git.openstack.org/openstack/ec2-api
|
|
enable_plugin rally git://git.openstack.org/openstack/rally
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PROJECTS="openstack/ec2-api $PROJECTS"
|
|
export PROJECTS="openstack/rally $PROJECTS"
|
|
export DEVSTACK_GATE_VIRT_DRIVER=fake
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
|
|
export RALLY_SCENARIO=ec2-api-fakevirt
|
|
export CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler
|
|
|
|
function post_test_hook {{
|
|
# run needed preparation steps for third-party project
|
|
if [ -f $BASE/new/ec2-api/rally-scenarios/post_test_hook.sh ] ; then
|
|
$BASE/new/ec2-api/rally-scenarios/post_test_hook.sh
|
|
fi
|
|
$BASE/new/rally/tests/ci/rally-gate.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
|
|
- rally-plot
|
|
- console-log
|