Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4a9b5b29
Commit
4a9b5b29
authored
Dec 08, 2017
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add `allow_mirror_update` to `Command`
parent
e05b24bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
app/services/ci/create_pipeline_service.rb
app/services/ci/create_pipeline_service.rb
+5
-2
lib/gitlab/ci/pipeline/chain/command.rb
lib/gitlab/ci/pipeline/chain/command.rb
+4
-1
No files found.
app/services/ci/create_pipeline_service.rb
View file @
4a9b5b29
...
...
@@ -24,10 +24,13 @@ module Ci
schedule:
schedule
,
ignore_skip_ci:
ignore_skip_ci
,
save_incompleted:
save_on_errors
,
allow_mirror_update:
mirror_update
,
seeds_block:
block
,
project:
project
,
current_user:
current_user
)
current_user:
current_user
,
# EE specific
allow_mirror_update:
mirror_update
)
sequence
=
Gitlab
::
Ci
::
Pipeline
::
Chain
::
Sequence
.
new
(
pipeline
,
command
,
SEQUENCE
)
...
...
lib/gitlab/ci/pipeline/chain/command.rb
View file @
4a9b5b29
...
...
@@ -7,7 +7,10 @@ module Gitlab
:origin_ref
,
:checkout_sha
,
:after_sha
,
:before_sha
,
:trigger_request
,
:schedule
,
:ignore_skip_ci
,
:save_incompleted
,
:seeds_block
:seeds_block
,
# EE specific
:allow_mirror_update
)
do
include
Gitlab
::
Utils
::
StrongMemoize
...
...
Write
Preview
Markdown
is supported
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