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
e35e5307
Commit
e35e5307
authored
Nov 16, 2020
by
Furkan Ayhan
Committed by
Kerri Miller
Nov 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable ci_include_multiple_files_from_project by default
parent
ff05e068
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
changelogs/unreleased/271560-enable-ci_include_multiple_files_from_project.yml
.../271560-enable-ci_include_multiple_files_from_project.yml
+5
-0
config/feature_flags/development/ci_include_multiple_files_from_project.yml
...gs/development/ci_include_multiple_files_from_project.yml
+1
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+7
-7
lib/gitlab/ci/config/external/mapper.rb
lib/gitlab/ci/config/external/mapper.rb
+1
-1
No files found.
changelogs/unreleased/271560-enable-ci_include_multiple_files_from_project.yml
0 → 100644
View file @
e35e5307
---
title
:
Implement including multiple files from a project
merge_request
:
47609
author
:
type
:
added
config/feature_flags/development/ci_include_multiple_files_from_project.yml
View file @
e35e5307
...
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/271560
milestone
:
'
13.6'
type
:
development
group
:
group::pipeline authoring
default_enabled
:
fals
e
default_enabled
:
tru
e
doc/ci/yaml/README.md
View file @
e35e5307
...
...
@@ -445,10 +445,10 @@ or template includes.
##### Multiple files from a project
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/26793) in GitLab 13.6.
> - It's [deployed behind a feature flag](../../user/feature_flags.md),
dis
abled by default.
> - It's
dis
abled on GitLab.com.
> - It's
not
recommended for production use.
> -
To use it in GitLab self-managed instances, ask a GitLab administrator to en
able it. **(CORE ONLY)**
> - It's [deployed behind a feature flag](../../user/feature_flags.md),
en
abled by default.
> - It's
en
abled on GitLab.com.
> - It's recommended for production use.
> -
For GitLab self-managed instances, GitLab administrators can opt to dis
able it. **(CORE ONLY)**
You can include multiple files from the same project:
...
...
@@ -461,10 +461,10 @@ include:
-
'
/templates/.tests.yml'
```
Including multiple files from the same project is under development
and no
t ready for production use. It is
deployed behind a feature flag that is
**
dis
abled by default**
.
Including multiple files from the same project is under development
bu
t ready for production use. It is
deployed behind a feature flag that is
**
en
abled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../administration/feature_flags.md
)
can
en
able it.
can
opt to dis
able it.
To enable it:
...
...
lib/gitlab/ci/config/external/mapper.rb
View file @
e35e5307
...
...
@@ -54,7 +54,7 @@ module Gitlab
end
def
expand_project_files
(
location
)
return
location
unless
::
Feature
.
enabled?
(
:ci_include_multiple_files_from_project
,
context
.
project
,
default_enabled:
fals
e
)
return
location
unless
::
Feature
.
enabled?
(
:ci_include_multiple_files_from_project
,
context
.
project
,
default_enabled:
tru
e
)
return
location
unless
location
[
:project
]
Array
.
wrap
(
location
[
:file
]).
map
do
|
file
|
...
...
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