Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
97058ed50196
Commit
97058ed5
authored
Nov 26, 2020
by
Raphaël Gomès
Browse files
project: do not trigger pull mirror updates on post-receive
parent
79e61ab767f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
97058ed5
...
...
@@ -1127,7 +1127,11 @@
def
update_remote_mirrors
return
unless
remote_mirror_available?
remote_mirrors
.
enabled
.
each
(
&
:sync
)
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"
end
end
def
mark_stuck_remote_mirrors_as_failed!
...
...
Georges Racinet
🦑
@gracinet
mentioned in issue
#569 (closed)
·
Nov 05, 2021
mentioned in issue
#569 (closed)
mentioned in issue #569
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment