]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Only run "update" job from scheduled pipelines
authorTaylor Yu <catalyst@torproject.org>
Wed, 4 Oct 2017 14:40:04 +0000 (09:40 -0500)
committerTaylor Yu <catalyst@torproject.org>
Thu, 5 Oct 2017 18:37:57 +0000 (13:37 -0500)
Stop attempting to unconditionally mirror the tor repository in GitLab
CI.  This prevented developers from enabling GitLab CI on master
because the "update" job would attempt to run, causing an unuseful CI
failure.  Fixes bug 23755.

.gitlab-ci.yml
changes/bug23755 [new file with mode: 0644]

index 78a1b0e7ef7eeb13beb6c8cbb769f6371d279ff6..969646b987c1613576550fbb2262d98e07743db9 100644 (file)
@@ -10,6 +10,8 @@ build:
     - "make install"
 
 update:
+  only:
+    - schedules
   script: 
     - "apt-get install -y --fix-missing git openssh-client"
     
@@ -36,4 +38,4 @@ update:
     - "mkdir tor"
     - "cd tor" 
     - git clone --bare https://git.torproject.org/tor.git
-    - git push --mirror git@oniongit.eu:network/tor.git
\ No newline at end of file
+    - git push --mirror git@oniongit.eu:network/tor.git
diff --git a/changes/bug23755 b/changes/bug23755
new file mode 100644 (file)
index 0000000..98f0970
--- /dev/null
@@ -0,0 +1,4 @@
+  o Minor bugfixes (testing):
+    - Stop unconditionally mirroring the tor repository in GitLab CI.
+      This prevented developers from enabling GitLab CI on master.
+      Fixes bug 23755; bugfix on 0.3.2.2-alpha.