a3139c4bb5
This is the result of having run the zuul migration tool. Depends-On: I72687a56285a3d733a9adeaf3dc037a1ac95efd3 Change-Id: Ib511da75908e152e72fdf0d7b496f4fa98f9c223 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
127 lines
5.3 KiB
YAML
127 lines
5.3 KiB
YAML
- hosts: all
|
|
name: Autoconverted job legacy-heat-dsvm-functional-convg-mysql-lbaasv2-py35 from
|
|
old job gate-heat-dsvm-functional-convg-mysql-lbaasv2-py35-ubuntu-xenial
|
|
tasks:
|
|
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
cat > clonemap.yaml << EOF
|
|
clonemap:
|
|
- name: openstack-infra/devstack-gate
|
|
dest: devstack-gate
|
|
EOF
|
|
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
|
|
git://git.openstack.org \
|
|
openstack-infra/devstack-gate
|
|
executable: /bin/bash
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
export PYTHONUNBUFFERED=true
|
|
services=rabbit,tempest,mysql,dstat,key
|
|
services+=,n-api,n-api-meta,n-cpu,n-cond,n-sch,n-crt
|
|
|
|
# placement services mandatory for nova from ocata
|
|
if [[ "stable/newton" != $ZUUL_BRANCH ]]; then
|
|
services+=,placement-api,placement-client
|
|
fi
|
|
|
|
services+=,g-api,g-reg
|
|
services+=,c-sch,c-api,c-vol,c-bak
|
|
services+=,q-svc,q-dhcp,q-meta,q-agt,q-l3
|
|
|
|
if [ "-py35" == "-py35" ] ; then
|
|
export DEVSTACK_GATE_USE_PYTHON3=True
|
|
# Swift does not work so skip s-* for python3x for now
|
|
else
|
|
export DEVSTACK_GATE_USE_PYTHON3=False
|
|
services+=,s-proxy,s-object,s-container,s-account
|
|
fi
|
|
|
|
if [[ ! "stable/newton stable/ocata" =~ $ZUUL_BRANCH ]]; then
|
|
services+=,q-trunk
|
|
fi
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-heatclient
|
|
export KEEP_LOCALRC=1
|
|
export PROJECTS="openstack/ceilometer $PROJECTS"
|
|
export PROJECTS="openstack/aodh $PROJECTS"
|
|
export PROJECTS="openstack/zaqar $PROJECTS"
|
|
export PROJECTS="openstack/python-zaqarclient $PROJECTS"
|
|
export PROJECTS="openstack/neutron $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin aodh git://git.openstack.org/openstack/aodh"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin zaqar git://git.openstack.org/openstack/zaqar"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron git://git.openstack.org/openstack/neutron"
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin heat git://git.openstack.org/openstack/heat"
|
|
|
|
if [ "lbaasv2" = "lbaasv2" ]; then
|
|
# Enable LBaaS V2 plugin
|
|
export PROJECTS="openstack/neutron-lbaas $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas"
|
|
# enabling lbaas plugin does not enable the lbaasv2 service, explicitly enable it
|
|
services+=,q-lbaasv2
|
|
export PROJECTS="openstack/barbican $PROJECTS"
|
|
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
|
|
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin barbican https://git.openstack.org/openstack/barbican"
|
|
# the lbaas v2 driver choice is in the gate pre test hook
|
|
else
|
|
services+=,q-lbaas
|
|
fi
|
|
|
|
export OVERRIDE_ENABLED_SERVICES=$services
|
|
|
|
if [ "mysql" == "postgres" ] ; then
|
|
export DEVSTACK_GATE_POSTGRES=1
|
|
fi
|
|
|
|
if [ "convg" == "orig" ] ; then
|
|
export DISABLE_CONVERGENCE=true
|
|
fi
|
|
|
|
export BRANCH_OVERRIDE=default
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
if [ "-py35" == "-identity-v3-only" ] ; then
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"ENABLE_IDENTITY_V2=False"
|
|
fi
|
|
if [ "-py35" == "-non-apache" ] ; then
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"HEAT_USE_MOD_WSGI=False"
|
|
fi
|
|
if [ "-py35" == "-amqp1" ] ; then
|
|
export PROJECTS="openstack/devstack-plugin-amqp1 $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export AMQP1_SERVICE=qpid-hybrid"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin devstack-plugin-amqp1 git://git.openstack.org/openstack/devstack-plugin-amqp1"
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export CELLSV2_SETUP=singleconductor"
|
|
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging,$DEVSTACK_PROJECT_FROM_GIT"
|
|
fi
|
|
function pre_test_hook {
|
|
cd /opt/stack/new/heat/heat_integrationtests
|
|
source ./pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
cd /opt/stack/new/heat/heat_integrationtests
|
|
source ./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
|
|
executable: /bin/bash
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|