]> 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:47:47 +0000 (21:47 +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.

.gitlab-ci.yml

index 595f9f0378c84ab5e08c478ae8e3eb43d844d265..442f2d16cf0684acd29855b6108d375bff04556b 100644 (file)
@@ -786,6 +786,9 @@ system:clang:openbsd6.5:amd64:
   dependencies:
     - clang:openbsd6.5:amd64
   needs: ["clang:openbsd6.5:amd64"]
+  only:
+    - tags
+    - web
 
 # Jobs with libtool disabled