]> 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:43 +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 6eac1bb79f8c0a39c99567c3801049c46fe67f30..980087a67c21bae89959302fc8934508c86c9980 100644 (file)
@@ -741,6 +741,9 @@ system:clang:openbsd6.5:amd64:
   dependencies:
     - clang:openbsd6.5:amd64
   needs: ["clang:openbsd6.5:amd64"]
+  only:
+    - tags
+    - web
 
 # Jobs with libtool disabled