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
19d1455a
Commit
19d1455a
authored
Mar 12, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change notes to new styleguide using blockquotes
parent
8c543e60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+21
-16
No files found.
doc/ci/yaml/README.md
View file @
19d1455a
...
@@ -116,7 +116,8 @@ Alias for [stages](#stages).
...
@@ -116,7 +116,8 @@ Alias for [stages](#stages).
### variables
### variables
_**Note:** Introduced in GitLab Runner v0.5.0._
>**Note:**
Introduced in GitLab Runner v0.5.0.
GitLab CI allows you to add to
`.gitlab-ci.yml`
variables that are set in build
GitLab CI allows you to add to
`.gitlab-ci.yml`
variables that are set in build
environment. The variables are stored in the git repository and are meant to
environment. The variables are stored in the git repository and are meant to
...
@@ -153,7 +154,8 @@ cache:
...
@@ -153,7 +154,8 @@ cache:
#### cache:key
#### cache:key
_**Note:** Introduced in GitLab Runner v1.0.0._
>**Note:**
Introduced in GitLab Runner v1.0.0.
The
`key`
directive allows you to define the affinity of caching
The
`key`
directive allows you to define the affinity of caching
between jobs, allowing to have a single cache for all jobs,
between jobs, allowing to have a single cache for all jobs,
...
@@ -394,12 +396,12 @@ The above script will:
...
@@ -394,12 +396,12 @@ The above script will:
### artifacts
### artifacts
_**Note:** Introduced in GitLab Runner v0.7.0 for non-Windows platforms._
>**Notes:**
>
_
**Note:**
Limited Windows support was added in GitLab Runner v.1.0.0.
> - Introduced in GitLab Runner v0.7.0 for non-Windows platforms.
Currently not all executors are supported._
> - Limited Windows support was added in GitLab Runner v.1.0.0.
> - Currently not all executors are supported.
_**Note:** Build artifacts are only collected for successful builds._
> - Build artifacts are only collected for successful builds.
`artifacts`
is used to specify list of files and directories which should be
`artifacts`
is used to specify list of files and directories which should be
attached to build after success. Below are some examples.
attached to build after success. Below are some examples.
...
@@ -456,7 +458,8 @@ be available for download in the GitLab UI.
...
@@ -456,7 +458,8 @@ be available for download in the GitLab UI.
#### artifacts:name
#### artifacts:name
_**Note:** Introduced in GitLab 8.6 and GitLab Runner v1.1.0._
>**Note:**
Introduced in GitLab 8.6 and GitLab Runner v1.1.0.
The
`name`
directive allows you to define the name of created artifacts archive.
The
`name`
directive allows you to define the name of created artifacts archive.
...
@@ -517,7 +520,8 @@ job:
...
@@ -517,7 +520,8 @@ job:
### dependencies
### dependencies
_**Note:** Introduced in GitLab 8.6 and GitLab Runner v1.1.1._
>**Note:**
Introduced in GitLab 8.6 and GitLab Runner v1.1.1.
This feature should be used with
`artifacts`
and allows to define artifacts passing between different builds.
This feature should be used with
`artifacts`
and allows to define artifacts passing between different builds.
...
@@ -571,7 +575,8 @@ However, only the `build:osx` and `build:linux` exports artifacts so only these
...
@@ -571,7 +575,8 @@ However, only the `build:osx` and `build:linux` exports artifacts so only these
### cache
### cache
_**Note:** Introduced in GitLab Runner v0.7.0._
>**Note:**
Introduced in GitLab Runner v0.7.0.
`cache`
is used to specify list of files and directories which should be cached
`cache`
is used to specify list of files and directories which should be cached
between builds. Below are some examples:
between builds. Below are some examples:
...
...
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