Merge "CI: Remove workaround for upgrading from Rocky"

This commit is contained in:
Zuul 2019-11-28 18:53:49 +00:00 committed by Gerrit Code Review
commit 1445a104d6

View File

@ -153,12 +153,6 @@ function environment_setup {
source "${KAYOBE_VENV_PATH}/bin/activate" source "${KAYOBE_VENV_PATH}/bin/activate"
set -u set -u
source "${KAYOBE_CONFIG_SOURCE_PATH}/kayobe-env" source "${KAYOBE_CONFIG_SOURCE_PATH}/kayobe-env"
# FIXME: For upgrades to work, we must change the working directory to the kayobe
# source checkout. This can be removed once the previous version is based on
# the rocky release.
if [ ! -d "${KAYOBE_VENV_PATH}/share/kayobe/ansible" ]; then
cd "${KAYOBE_SOURCE_PATH}"
fi
} }
function run_kayobe { function run_kayobe {