]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: improve version mismatch detection for obs:build:all
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 26 Jun 2019 10:47:11 +0000 (12:47 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 26 Jun 2019 12:11:40 +0000 (14:11 +0200)
.gitlab-ci.yml

index 57a83b9cdcf7ad271fec05f501d778a30b7b627d..a2b6d789d4b8d43af668c9f8fd50aebb5bf7e5ae 100644 (file)
@@ -508,8 +508,8 @@ obs:build:all:
   <<: *deploytest
   script:
     - "osc results home:CZ-NIC:$OBS_REPO knot-resolver -w"
-    - >
-      ! osc ls -b home:CZ-NIC:$OBS_REPO knot-resolver | \
+    - > # check version only for one (reliable) repo to avoid false negatives
+      ! osc ls -b home:CZ-NIC:$OBS_REPO knot-resolver Debian_9.0 x86_64 | \
         grep -E '(rpm|deb|tar\.xz)$' | grep -v $CI_COMMIT_SHORT_SHA || \
         (echo "ERROR: version mismatch"; exit 1)
     - >