Fix OSC jobs local config

- Switch to new local_conf style configuration
- Make sure all settings targeted to devstack are placed properly

Change-Id: I7547d559609459a92614109d377605fc275b91ab
This commit is contained in:
Jens Rosenboom
2017-03-16 13:04:45 +01:00
parent 9d82624919
commit fc6a3b362d

View File

@@ -11,6 +11,15 @@
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron https://git.openstack.org/openstack/neutron
# NOTE(dtroyer): OSC needs to support Image v1 for a while yet so re-enable
GLANCE_V1_ENABLED=True
enable_service q-qos
# NOTE(dtroyer): Functional tests need a bit more volume headroom
VOLUME_BACKING_FILE_SIZE=20G
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
@@ -25,14 +34,6 @@
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron https://git.openstack.org/openstack/neutron"
# NOTE(dtroyer): OSC needs to support Image v1 for a while yet so re-enable
DEVSTACK_LOCAL_CONFIG+=$'\n'"GLANCE_V1_ENABLED=True"
export ENABLED_SERVICES=q-qos
# NOTE(dtroyer): Functional tests need a bit more volume headroom
export VOLUME_BACKING_FILE_SIZE=20G
function post_test_hook {{
# NOTE(stevemar): After the newton release was tagged the file was moved.
@@ -68,6 +69,15 @@
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin neutron https://git.openstack.org/openstack/neutron
# NOTE(dtroyer): OSC needs to support Image v1 for a while yet so re-enable
GLANCE_V1_ENABLED=True
enable_service q-qos
# NOTE(dtroyer): Functional tests need a bit more volume headroom
VOLUME_BACKING_FILE_SIZE=20G
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
@@ -85,11 +95,6 @@
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_LOCAL_CONFIG="enable_plugin neutron https://git.openstack.org/openstack/neutron"
# NOTE(dtroyer): OSC needs to support Image v1 for a while yet so re-enable
DEVSTACK_LOCAL_CONFIG+=$'\n'"GLANCE_V1_ENABLED=True"
export ENABLED_SERVICES=q-qos
function post_test_hook {{
# This test hook will install the master version of the following: