From c619579fc125f9d5088210a7832e2603521e797c Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Tue, 26 Nov 2019 14:51:25 +0000 Subject: [PATCH] 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 --- dev/functions | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dev/functions b/dev/functions index e0a24b01a..5c5e86fca 100644 --- a/dev/functions +++ b/dev/functions @@ -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 {