]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
CI: Pinned apkg version to 0.5.1 until 0.6.0 is fixed
authorMaria Matejka <mq@ucw.cz>
Thu, 19 Jun 2025 19:03:27 +0000 (21:03 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 19 Jun 2025 19:03:27 +0000 (21:03 +0200)
This workarounds packaging/apkg#114.

.gitlab-ci.yml
misc/gitlab/template.yml.j2

index 167a312cff0b9fcd8582d406c99f5d96c2696472..a7ea526868e5b100aae191f21e0fca560f86c6c0 100644 (file)
@@ -17,6 +17,7 @@ variables:
   IMG_BASE: registry.nic.cz/labs/bird
   TOOLS_DIR: /home/gitlab-runner/bird-tools
   STAYRTR_BINARY: /usr/local/bin/stayrtr
+  APKG_VERSION: 0.5.1
 
 stages:
   - consistency
@@ -641,7 +642,7 @@ build-release:
   script:
     # create venv only if it's installed
     - if python3 -m venv venv; then . venv/bin/activate; fi
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -658,7 +659,7 @@ build-release:
     # apkg depends on bs4, and unless we want to backport python 3.6
     # to ancient distros, we need to do this workaround
     - pip3 install beautifulsoup4==4.11.2
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -669,7 +670,7 @@ build-release:
   <<: *test-job
   stage: pkg
   script:
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -683,7 +684,7 @@ build-release:
     - sed -i "s/runstatedir/with-runtimedir/" distro/pkg/rpm/bird.spec
     # install older version of bs4 that does not use python version >= 3.6
     - pip3 install beautifulsoup4==4.11.2
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
index 743c442d16fda7f7033465d35c7a60ea3956fb44..b4abc4aec9e49a9c2c0281b55b454a3d42053ea8 100644 (file)
@@ -17,6 +17,7 @@ variables:
   IMG_BASE: registry.nic.cz/labs/bird
   TOOLS_DIR: /home/gitlab-runner/bird-tools
   STAYRTR_BINARY: /usr/local/bin/stayrtr
+  APKG_VERSION: 0.5.1
 
 stages:
   - consistency
@@ -241,7 +242,7 @@ build-release:
   script:
     # create venv only if it's installed
     - if python3 -m venv venv; then . venv/bin/activate; fi
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -258,7 +259,7 @@ build-release:
     # apkg depends on bs4, and unless we want to backport python 3.6
     # to ancient distros, we need to do this workaround
     - pip3 install beautifulsoup4==4.11.2
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -269,7 +270,7 @@ build-release:
   <<: *test-job
   stage: pkg
   script:
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths:
@@ -283,7 +284,7 @@ build-release:
     - sed -i "s/runstatedir/with-runtimedir/" distro/pkg/rpm/bird.spec
     # install older version of bs4 that does not use python version >= 3.6
     - pip3 install beautifulsoup4==4.11.2
-    - pip3 install apkg
+    - pip3 install apkg==$APKG_VERSION
     - apkg build -a bird-$(cat VERSION)*.tar.gz
   artifacts:
     paths: