]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
ci: re-try OBS distrotests
authorTomas Krizek <tomas.krizek@nic.cz>
Fri, 30 Oct 2020 15:59:27 +0000 (16:59 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 30 Oct 2020 15:59:27 +0000 (16:59 +0100)
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/weekly 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 9db4f561167b507896b1cb86d4307f2106f1e104..dec1dcfdf6caf447998a679f8ac4472c4d86da37 100644 (file)
@@ -365,6 +365,10 @@ obs:build:all:
     expire_in: 1 week
     paths:
       - ./j*
+  retry:
+    max: 1
+    when:
+      - script_failure
 
 obs:centos7:x86_64:
   <<: *distrotest