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
41af86bc
Commit
41af86bc
authored
Jun 20, 2016
by
Mark Pundsack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Pipelines and Builds definitions to their own page
parent
edfe2e2d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
55 deletions
+3
-55
doc/ci/README.md
doc/ci/README.md
+2
-2
doc/ci/definitions/README.md
doc/ci/definitions/README.md
+0
-52
doc/ci/environments.md
doc/ci/environments.md
+1
-1
No files found.
doc/ci/README.md
View file @
41af86bc
## GitLab CI Documentation
### CI
/CD
User documentation
### CI User documentation
-
[
Get started with GitLab CI
](
quick_start/README.md
)
-
[
CI/CD Definitions
](
definitions/README.md
)
-
[
CI examples for various languages
](
examples/README.md
)
-
[
Learn how to enable or disable GitLab CI
](
enable_or_disable_ci.md
)
-
[
Pipelines
](
pipelines.md
)
-
[
Environments and deployments
](
environments.md
)
-
[
Learn how `.gitlab-ci.yml` works
](
yaml/README.md
)
-
[
Configure a Runner, the application that runs your builds
](
runners/README.md
)
...
...
doc/ci/definitions/README.md
deleted
100644 → 0
View file @
edfe2e2d
## CI/CD Definitions
### Pipelines
A pipeline is a group of [builds] that get executed in [stages] (batches). All of
the builds in a stage are executed in parallel (if there are enough concurrent
[runners]), and if they all succeed, the pipeline moves on to the next stage. If
one of the builds fails, the next stage is not (usually) executed.
### Builds
Builds are runs of [jobs]. Not to be confused with a
`build`
stage.
### Jobs
Jobs are the basic work unit of CI/CD. Jobs are used to create [builds], which are
then picked up by [Runners] and executed within the environment of the Runner.
Each job is run independently from each other.
### Runners
A runner is an isolated (virtual) machine that picks up builds through the
coordinator API of GitLab CI. A runner can be specific to a certain project or
serve any project in GitLab CI. A runner that serves all projects is called a
shared runner.
### Stages
Stages allow [jobs] to be grouped into parallel and sequential [builds]. Builds
of the same stage are executed in parallel and builds of the next stage are run
after the jobs from the previous stage complete successfully. Stages allow for
flexible multi-stage [pipelines]. By default [pipelines] have
`build`
,
`test`
and
`deploy`
stages, but these can be defined in
`.gitlab-ci.yml`
. If a job
doesn't specify a stage, the job is assigned to the test stage.
### Environments
Environments are places where code gets deployed, such as staging or production.
CI/CD [Pipelines] usually have one or more deploy stages with [jobs] that do
[deployments] to an environment.
### Deployments
Deployments are created when [jobs] deploy versions of code to [environments].
[
pipelines
]:
#pipelines
[
builds
]:
#builds
[
runners
]:
#runners
[
jobs
]:
#jobs
[
stages
]:
#stages
[
environments
]:
#environments
[
deployments
]:
#deployments
doc/ci/environments.md
View file @
41af86bc
...
...
@@ -52,7 +52,7 @@ Clicking on an environment will show the history of deployments.
Only deploys that happen after your
`.gitlab-ci.yml`
is properly configured will
show up in the environments and deployments lists.
[
Pipelines
]:
quick_start/README
.md
[
Pipelines
]:
pipelines
.md
[
jobs
]:
yaml/README.md#jobs
[
environments
]:
#environments
[
deployments
]:
#deployments
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