]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Limit triggers for OpenBSD system test jobs
authorMichał Kępień <michal@isc.org>
Tue, 15 Oct 2019 19:35:18 +0000 (21:35 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 15 Oct 2019 19:48:48 +0000 (21:48 +0200)
When a GitLab CI runner is not under load, a single OpenBSD system test
job completes in about 12 minutes, which is considered decent.  However,
such jobs are usually multiplexed with other system test jobs on the
same host, which causes each of them to take even 40 minutes to
complete.  Taking retries into account, this is completely unacceptable
for everyday use, so only start OpenBSD system test jobs for pipelines
created through GitLab's web interface and for pipelines created for Git
tags.

(cherry picked from commit 603e04563b65d230651c6861f4459c0ebdcd8fc5)

.gitlab-ci.yml

index 93c16a99c4b02b4bfaa9d1ae5cbddb79517ebbbe..a5736c3fe8d99565b1e2f6aa292429e423809bd4 100644 (file)
@@ -760,6 +760,9 @@ system:clang:openbsd6.5:amd64:
   dependencies:
     - clang:openbsd6.5:amd64
   needs: ["clang:openbsd6.5:amd64"]
+  only:
+    - tags
+    - web
 
 # Jobs with libtool disabled