]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
CI: don't (re)install apkg
authorJakub Ružička <jakub.ruzicka@nic.cz>
Fri, 30 Sep 2022 15:35:22 +0000 (17:35 +0200)
committerJakub Ružička <jakub.ruzicka@nic.cz>
Fri, 30 Sep 2022 15:38:16 +0000 (17:38 +0200)
apkg is already installed in apkg LXC images, no need to install it here.

Also use LXC image for make-archive.

.gitlab-ci.yml

index a58ac9d50f87dad3531c25c70f4de7a54f4f6d72..5823535b5949d136b7fb58387cec69fb94faf1e1 100644 (file)
@@ -587,9 +587,6 @@ obs:odvr:
 # }}}
 
 # pkg {{{
-.setup_apkg: &setup_apkg
-  - python3 -m pip install -U apkg
-
 .pkg_deb_extras: &pkg_deb_extras
   before_script:
     - apt update
@@ -606,7 +603,6 @@ obs:odvr:
     - lxc
     - amd64
   script:
-    - *setup_apkg
     # make sure the archive from pkg:make-archive is available
     - apkg info cache | grep archive/dev
     - apkg install --build-dep
@@ -619,14 +615,13 @@ obs:odvr:
 pkg:make-archive:
   # archive is created once and reused in other pkg jobs
   <<: *pkg_deb_extras
-  image: $CI_REGISTRY/packaging/apkg/ci/debian-11:apkg
+  image: $CI_REGISTRY/packaging/apkg/lxc/debian-11
   stage: pkg
   needs: []
   artifacts:
     paths:
       - pkg/
   script:
-    - *setup_apkg
     - apkg build-dep
     - apkg make-archive