[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Only run "update" job from scheduled pipelines



commit d5d811e2d08beca0b6029cfab50201966335f976
Author: Taylor Yu <catalyst@xxxxxxxxxxxxxx>
Date:   Wed Oct 4 09:40:04 2017 -0500

    Only run "update" job from scheduled pipelines
    
    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   | 4 +++-
 changes/bug23755 | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 78a1b0e7e..969646b98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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@xxxxxxxxxxx:network/tor.git
\ No newline at end of file
+    - git push --mirror git@xxxxxxxxxxx:network/tor.git
diff --git a/changes/bug23755 b/changes/bug23755
new file mode 100644
index 000000000..98f097034
--- /dev/null
+++ b/changes/bug23755
@@ -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.



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits