]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: re-try OBS distrotests
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 29 Sep 2020 10:15:31 +0000 (12:15 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 29 Sep 2020 10:15:31 +0000 (12:15 +0200)
Often, the VM fails to boot (even twice in the row, as already handled
by the test itself) which leads to false negative result.

These nightly tests fail far too often (at least on of the ~7 tests) and
generate annoying notifications.

Adding yet another layer of retries should reduce the number of false
negatives without diminishing the value of the test (since the real
packaging issues are 100 % reproducible).

.gitlab-ci.yml

index f48f510fb35f7b9427eb9850eb0482beba185374..79dec510e0d4aa101a8c29280e735dda39a3ead7 100644 (file)
@@ -516,6 +516,10 @@ obs:build:all:
     expire_in: 1 week
     paths:
       - ./j*
+  retry:
+    max: 1
+    when:
+      - script_failure
 
 obs:centos7:x86_64:
   <<: *distrotest