[Git][NTPsec/ntpsec][master] Only run project shared runners in the project repo, not the forks

Matt Selsky gitlab at mg.gitlab.com
Fri Dec 29 05:56:08 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
52a0e710 by Matt Selsky at 2017-12-29T00:41:15-05:00
Only run project shared runners in the project repo, not the forks

This will avoid people having to enable the project shared runners when they
fork the project.  It should make MR usage easier.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -72,6 +72,8 @@ debian-wheezy-basic:
     - python ./waf configure build check
   tags:
     - debian-wheezy
+  only:
+    - branches at NTPsec/ntpsec
 
 debian-wheezy-refclocks:
   <<: *job_definition
@@ -79,6 +81,8 @@ debian-wheezy-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - debian-wheezy
+  only:
+    - branches at NTPsec/ntpsec
 
 debian-jessie-basic:
   <<: *job_definition
@@ -86,6 +90,8 @@ debian-jessie-basic:
     - python ./waf configure build check
   tags:
     - debian-jessie
+  only:
+    - branches at NTPsec/ntpsec
 
 debian-jessie-refclocks:
   <<: *job_definition
@@ -93,6 +99,8 @@ debian-jessie-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - debian-jessie
+  only:
+    - branches at NTPsec/ntpsec
 
 debian-stretch-basic:
   <<: *job_definition
@@ -100,6 +108,8 @@ debian-stretch-basic:
     - python ./waf configure build check
   tags:
     - debian-stretch
+  only:
+    - branches at NTPsec/ntpsec
 
 debian-stretch-refclocks:
   <<: *job_definition
@@ -107,6 +117,8 @@ debian-stretch-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - debian-stretch
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1404-lts-basic:
   <<: *job_definition
@@ -114,6 +126,8 @@ ubuntu-1404-lts-basic:
     - python ./waf configure build check
   tags:
     - ubuntu-1404-lts
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1404-lts-refclocks:
   <<: *job_definition
@@ -121,6 +135,8 @@ ubuntu-1404-lts-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - ubuntu-1404-lts
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1604-lts-basic:
   <<: *job_definition
@@ -128,6 +144,8 @@ ubuntu-1604-lts-basic:
     - python ./waf configure build check
   tags:
     - ubuntu-1604-lts
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1604-lts-refclocks:
   <<: *job_definition
@@ -135,6 +153,8 @@ ubuntu-1604-lts-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - ubuntu-1604-lts
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1710-basic:
   <<: *job_definition
@@ -142,6 +162,8 @@ ubuntu-1710-basic:
     - python ./waf configure build check
   tags:
     - ubuntu-1710
+  only:
+    - branches at NTPsec/ntpsec
 
 ubuntu-1710-refclocks:
   <<: *job_definition
@@ -149,6 +171,8 @@ ubuntu-1710-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - ubuntu-1710
+  only:
+    - branches at NTPsec/ntpsec
 
 gcc-7-basic:
   <<: *job_definition
@@ -174,6 +198,8 @@ freebsd-10-basic:
     - python ./waf configure build check
   tags:
     - freebsd-10
+  only:
+    - branches at NTPsec/ntpsec
 
 freebsd-10-refclocks:
   <<: *job_definition
@@ -181,6 +207,8 @@ freebsd-10-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - freebsd-10
+  only:
+    - branches at NTPsec/ntpsec
 
 freebsd-11-basic:
   <<: *job_definition
@@ -188,6 +216,8 @@ freebsd-11-basic:
     - python ./waf configure build check
   tags:
     - freebsd-11
+  only:
+    - branches at NTPsec/ntpsec
 
 freebsd-11-refclocks:
   <<: *job_definition
@@ -195,6 +225,8 @@ freebsd-11-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - freebsd-11
+  only:
+    - branches at NTPsec/ntpsec
 
 centos-6-basic:
   <<: *job_definition
@@ -202,6 +234,8 @@ centos-6-basic:
     - python ./waf configure build check
   tags:
     - centos-6
+  only:
+    - branches at NTPsec/ntpsec
 
 centos-6-refclocks:
   <<: *job_definition
@@ -209,6 +243,8 @@ centos-6-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - centos-6
+  only:
+    - branches at NTPsec/ntpsec
 
 centos-7-basic:
   <<: *job_definition
@@ -216,6 +252,8 @@ centos-7-basic:
     - python ./waf configure build check
   tags:
     - centos-7
+  only:
+    - branches at NTPsec/ntpsec
 
 centos-7-refclocks:
   <<: *job_definition
@@ -223,6 +261,8 @@ centos-7-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - centos-7
+  only:
+    - branches at NTPsec/ntpsec
 
 fedora-26-basic:
   <<: *job_definition
@@ -230,6 +270,8 @@ fedora-26-basic:
     - python ./waf configure build check
   tags:
     - fedora-26
+  only:
+    - branches at NTPsec/ntpsec
 
 fedora-26-refclocks:
   <<: *job_definition
@@ -237,6 +279,8 @@ fedora-26-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - fedora-26
+  only:
+    - branches at NTPsec/ntpsec
 
 fedora-27-basic:
   <<: *job_definition
@@ -244,6 +288,8 @@ fedora-27-basic:
     - python ./waf configure build check
   tags:
     - fedora-27
+  only:
+    - branches at NTPsec/ntpsec
 
 fedora-27-refclocks:
   <<: *job_definition
@@ -251,6 +297,8 @@ fedora-27-refclocks:
     - python ./waf configure --refclock=all build check
   tags:
     - fedora-27
+  only:
+    - branches at NTPsec/ntpsec
 
 python3:
   <<: *job_definition



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/52a0e7103f6028ab408270232ada59a90dfaea17

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/52a0e7103f6028ab408270232ada59a90dfaea17
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171229/c6fa78ce/attachment.html>


More information about the vc mailing list