This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit b60bd9c1 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

project: do not trigger pull mirror updates on post-receive

branch : heptapod
parent 79e61ab767f4
......@@ -1127,7 +1127,11 @@ def updating_remote_mirror?
def update_remote_mirrors
return unless remote_mirror_available?
remote_mirrors.enabled.each do |mirror|
# Do not trigger `Pull` jobs because Gitlab expects "remote mirrors"
# to be push-only, and that could be confusing/lead to errors.
mirror.sync unless mirror.hg_mirror_type == "hg-pull"
def mark_stuck_remote_mirrors_as_failed!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment