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
35c3ec4c
Commit
35c3ec4c
authored
Jan 11, 2021
by
Matt Kasa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document `artifacts:public` keyword and feature flag
Relates to
https://gitlab.com/gitlab-org/gitlab/-/issues/295139
parent
67b05485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+26
-0
No files found.
doc/ci/yaml/README.md
View file @
35c3ec4c
...
...
@@ -3097,6 +3097,32 @@ job:
-
path/*xyz/*
```
#### `artifacts:public`
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49775) in GitLab 13.8
> - It's [deployed behind a feature flag](../../user/feature_flags.md), disabled by default.
> - It's enabled on GitLab.com.
> - It's recommended for production use.
`artifacts:public`
is used to determine whether the job artifacts should be
publicly available.
The default for
`artifacts:public`
is
`true`
which means that the artifacts in
public pipelines are available for download by anonymous and guest users:
```
yaml
artifacts
:
public
:
true
```
To deny read access for anonymous and guest users to artifacts in public
pipelines, set
`artifacts:public`
to
`false`
:
```
yaml
artifacts
:
public
:
false
```
#### `artifacts:exclude`
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/15122) in GitLab 13.1
...
...
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