Skip to content
Snippets Groups Projects
Commit c619579f authored by Mark Goddard's avatar Mark Goddard
Browse files

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
parent a30cf063
No related branches found
No related tags found
No related merge requests found
...@@ -153,12 +153,6 @@ function environment_setup { ...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment