Fix include logic for nodepool dsvm jobs
We incorrectly setup our JJB template to pass variables to control which images are built. Thanks to clarkb for explaining this. Change-Id: Id6595e93d3bf079becd6f8a027535225863efbc4 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
f122112a7c
commit
ebe5abbd69
@ -95,17 +95,17 @@
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"LIBS_FROM_GIT=diskimage-builder,glean,shade"
|
||||
|
||||
if [ "{images}" == "-redhat" ] ; then
|
||||
export NODEPOOL_PAUSE_CENTOS_7_DIB=false
|
||||
export NODEPOOL_PAUSE_FEDORA_24_DIB=false
|
||||
export NODEPOOL_PAUSE_UBUNTU_PRECISE_DIB=true
|
||||
export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=true
|
||||
export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=true
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_CENTOS_7_DIB=false"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_FEDORA_24_DIB=false"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_PRECISE_DIB=true"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=true"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=true"
|
||||
elif [ "{images}" == "-debian" ] ; then
|
||||
export NODEPOOL_PAUSE_CENTOS_7_DIB=true
|
||||
export NODEPOOL_PAUSE_FEDORA_24_DIB=true
|
||||
export NODEPOOL_PAUSE_UBUNTU_PRECISE_DIB=false
|
||||
export NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false
|
||||
export NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=false
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_CENTOS_7_DIB=true"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_FEDORA_24_DIB=true"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_PRECISE_DIB=false"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB=false"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB=false"
|
||||
fi
|
||||
|
||||
function post_test_hook {{
|
||||
|
Loading…
Reference in New Issue
Block a user