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.
This commit is contained in:
Taylor Yu 2017-10-04 09:40:04 -05:00
parent 44e4a96bb5
commit d5d811e2d0
2 changed files with 7 additions and 1 deletions

View 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
- git push --mirror git@oniongit.eu:network/tor.git

4
changes/bug23755 Normal file
View File

@ -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.