]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: attempt to fix problem with updating dependencies
authorVasek Sraier <git@vakabus.cz>
Wed, 26 May 2021 11:59:35 +0000 (13:59 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:52 +0000 (16:17 +0200)
manager/.gitlab-ci.yml

index 8ee7b9347a3d6b108474b0ec62058a61cbbdd54c..a06826a91b38b3ec6d87d131e1ddb4b371380819 100644 (file)
@@ -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