diff options
author | Taylor Yu <catalyst@torproject.org> | 2017-10-04 09:40:04 -0500 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2017-10-05 13:37:57 -0500 |
commit | d5d811e2d08beca0b6029cfab50201966335f976 (patch) | |
tree | b80f6c972d9757b2a9378e7a6a3d317db08658d8 /.gitlab-ci.yml | |
parent | 44e4a96bb5d2a01d57084ec8beb14e4518644614 (diff) | |
download | tor-d5d811e2d08beca0b6029cfab50201966335f976.tar.gz tor-d5d811e2d08beca0b6029cfab50201966335f976.zip |
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78a1b0e7ef..969646b987 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@oniongit.eu:network/tor.git
\ No newline at end of file + - git push --mirror git@oniongit.eu:network/tor.git |