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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
078ec5e4
Commit
078ec5e4
authored
Feb 09, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add information about expose of build variables.
parent
4558bb1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/variables/show.html.haml
app/views/projects/variables/show.html.haml
+3
-1
doc/ci/variables/README.md
doc/ci/variables/README.md
+4
-1
No files found.
app/views/projects/variables/show.html.haml
View file @
078ec5e4
...
@@ -3,9 +3,11 @@
...
@@ -3,9 +3,11 @@
Secret Variables
Secret Variables
%p
.light
%p
.light
These variables will be set to environment by the runner
and will be hidden in the build log
.
These variables will be set to environment by the runner.
%br
%br
So you can use them for passwords, secret keys or whatever you want.
So you can use them for passwords, secret keys or whatever you want.
%br
The value of the variable can be visible in build log if explicitly asked to do so.
%hr
%hr
...
...
doc/ci/variables/README.md
View file @
078ec5e4
...
@@ -77,9 +77,12 @@ More information about Docker integration can be found in [Using Docker Images](
...
@@ -77,9 +77,12 @@ More information about Docker integration can be found in [Using Docker Images](
GitLab CI allows you to define per-project
**Secure Variables**
that are set in build environment.
GitLab CI allows you to define per-project
**Secure Variables**
that are set in build environment.
The secure variables are stored out of the repository (the
`.gitlab-ci.yml`
).
The secure variables are stored out of the repository (the
`.gitlab-ci.yml`
).
The
se variables are securely stored in GitLab CI database and are hidden in the build log
.
The
variables are securely passed to GitLab Runner and are available in build environment
.
It's desired method to use them for storing passwords, secret keys or whatever you want.
It's desired method to use them for storing passwords, secret keys or whatever you want.
**The value of the variable can be shown in build log if explicitly asked to do so.**
If your project is public or internal you can make the builds private.
Secure Variables can added by going to
`Project > Variables > Add Variable`
.
Secure Variables can added by going to
`Project > Variables > Add Variable`
.
They will be available for all subsequent builds.
They will be available for all subsequent builds.
...
...
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