From: Vasek Sraier Date: Wed, 26 May 2021 11:59:35 +0000 (+0200) Subject: ci: attempt to fix problem with updating dependencies X-Git-Tag: v6.0.0a1~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbc48807d59af3e43c31ea5480246ec901902f61;p=thirdparty%2Fknot-resolver.git ci: attempt to fix problem with updating dependencies --- diff --git a/manager/.gitlab-ci.yml b/manager/.gitlab-ci.yml index 8ee7b9347..a06826a91 100644 --- a/manager/.gitlab-ci.yml +++ b/manager/.gitlab-ci.yml @@ -11,8 +11,8 @@ default: # it has its own virtualenv and we want to use that env in a different directory # so let's create a new one and replace it by the already existing one # we don't care about destroying the environment in process, because it's going to be discarded anyway - - poetry env use $(which python3.6); ourpath=$(poetry env info -p); upperpath=$( (cd ..; poetry env info -p) ); rm -rf "$ourpath"; cp -a "$upperpath" "$ourpath"; mv /poetry.lock . - # the virtualenv we recycled might have beed slightly out of date. Let's quickly update it + - poetry env use $(which python3.6); ourpath=$(poetry env info -p); upperpath=$( (cd ..; poetry env info -p) ); rm -rf "$ourpath"; cp -a "$upperpath" "$ourpath" + # the virtualenv we recycled might be slightly out of date. Let's quickly update it - poetry install # fix podman; see https://gitlab.nic.cz/labs/lxc-gitlab-runner#nesting-with-podman - unset TMPDIR