BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
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,12 +458,13 @@ be available for download in the GitLab UI.
...
@@ -456,12 +458,13 @@ 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.
Currently the
`artifacts`
is used.
Currently the
`artifacts`
is used.
It may be useful when you will want to download the archive from GitLab.
It may be useful when you will want to download the archive from GitLab.
You could possible have the unique name of every archive.
You could possible have the unique name of every archive.
The
`artifacts:name`
variable can use any of the
[
predefined variables
](
../variables/README.md
)
.
The
`artifacts:name`
variable can use any of the
[
predefined variables
](
../variables/README.md
)
.
...
@@ -517,13 +520,14 @@ job:
...
@@ -517,13 +520,14 @@ 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.
`artifacts`
from previous stages are passed by default.
`artifacts`
from previous stages are passed by default.
To use a feature define
`dependencies`
in context of the build and pass
To use a feature define
`dependencies`
in context of the build and pass
a list of all previous builds from which the artifacts should be downloaded.
a list of all previous builds from which the artifacts should be downloaded.
You can only define a builds from stages that are executed before this one.
You can only define a builds from stages that are executed before this one.
Error will be shown if you define builds from current stage or next stages.
Error will be shown if you define builds from current stage or next stages.
...
@@ -537,7 +541,7 @@ build:osx:
...
@@ -537,7 +541,7 @@ build:osx:
artifacts:
artifacts:
paths:
paths:
- binaries/
- binaries/
build:linux:
build:linux:
stage: build
stage: build
script: ...
script: ...
...
@@ -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:
...
@@ -665,7 +670,7 @@ It will create a two jobs: `test1` and `test2` that will have the parameters of
...
@@ -665,7 +670,7 @@ It will create a two jobs: `test1` and `test2` that will have the parameters of
-
postgres
-
postgres
-
ruby
-
ruby
.mysql_services
:
.mysql_services
:
services
:
&mysql_definition
services
:
&mysql_definition
-
mysql
-
mysql
-
ruby
-
ruby
...
...
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