]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: fix ambiguous tag-sets
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 7 Apr 2022 08:05:34 +0000 (10:05 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 7 Apr 2022 08:09:30 +0000 (10:09 +0200)
In a few places the tag-set specification for jobs could match
either amd64 or arm64 runners.  That non-determinism is bad,
especially when passing platform-specific artifacts around.

This is just a stop-gap measure.  Later we'll need to rethink our CI
in terms of the two platforms.

I didn't touch tag-sets with `condor`, as that will probably always be
just a single machine (which coordinates scheduling on others).

.gitlab-ci.yml

index ac0ba28cd241385fa034e610e17c40887666e11c..b092a58376f4d8dc2c2366902ef1b61c8a11fde5 100644 (file)
@@ -119,6 +119,7 @@ docker:
   image: docker:latest
   tags:
     - dind
+    - amd64
   variables:
     DOCKER_IMAGE_NAME: knot-resolver-test:${CI_COMMIT_SHA}
   script:
@@ -287,6 +288,7 @@ deckard:
     - branches@knot/security/knot-resolver
   tags:
     - privileged
+    - amd64
   variables:
     TMPDIR: $CI_PROJECT_DIR
   script:
@@ -702,6 +704,7 @@ obs:ubuntu2110:x86_64:
   needs: []
   tags:
     - dind
+    - amd64
   variables:
     DISTRO: debian_10
   script: