Explicitly enable Horizon in Horizon dsvm job

We want to disable Horizon by default in jobs that don't actually use or
test Horizon. This will save job runtime because it means installing
fewer packages (which takes time) and happier OSC because fewer packages
impacting pkg_resources entrypoint handling.

Change-Id: Ib3fdab05bfa5f91678051db5643a976174f4797e
This commit is contained in:
Clark Boylan 2017-06-14 09:38:28 -07:00
parent 793f82c337
commit 52eb8ecd55
6 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST={run-tempest}
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE

View File

@ -45,6 +45,7 @@
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX=horizon
export DEVSTACK_LOCAL_CONFIG="export TEMPEST_PLUGINS='/opt/stack/new/tempest-horizon'"

View File

@ -47,6 +47,8 @@
if [ "{horizon}" -eq 0 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service horizon"
else
export DEVSTACK_GATE_HORIZON=1
fi
if [ "{swift}" -eq 0 ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_service s-account"

View File

@ -56,6 +56,7 @@
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_NEUTRON_EXTENSIONS={neutron_extensions}
export DEVSTACK_GATE_IRONIC={ironic}
export DEVSTACK_GATE_ZAQAR={zaqar}
@ -975,6 +976,7 @@
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_CEILOMETER={ceilometer}
export DEVSTACK_GATE_HEAT={heat}
export DEVSTACK_GATE_SAHARA={sahara}

View File

@ -15,6 +15,7 @@
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/tacker $PROJECTS"

View File

@ -129,6 +129,7 @@
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_HORIZON=1
export PROJECTS="openstack/diskimage-builder $PROJECTS"
export PROJECTS="openstack/dib-utils $PROJECTS"