CI: Remove workaround for upgrading from Rocky

We no longer need to cd to the kayobe repo path, since all tested
versions of kayobe support pip installation.

Change-Id: Id7b574cbc6bb5195eee16cfc8443075712ce3254
This commit is contained in:
Mark Goddard 2019-11-26 14:51:25 +00:00
parent a30cf063d1
commit c619579fc1

View File

@ -153,12 +153,6 @@ function environment_setup {
source "${KAYOBE_VENV_PATH}/bin/activate"
set -u
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 {