Merge "Pass through DIB_LOCAL_ELEMENTS from localrc"

This commit is contained in:
Zuul 2018-09-26 04:11:02 +00:00 committed by Gerrit Code Review
commit b4c323db16
1 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,11 @@ function build_octavia_worker_image {
# set up diskimage-builder if we need to
install_diskimage_builder
# Pull in DIB local elements if they are defined in devstack
if [ -n "$DIB_LOCAL_ELEMENTS" ]; then
export DIB_LOCAL_ELEMENTS=$DIB_LOCAL_ELEMENTS
fi
# pull the agent code from the current code zuul has a reference to
if [ -n "$DIB_REPOLOCATION_pip_and_virtualenv" ]; then
export DIB_REPOLOCATION_pip_and_virtualenv=$DIB_REPOLOCATION_pip_and_virtualenv