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
Kazuhiko Shiozaki
gitlab-ce
Commits
32a3c3e0
Commit
32a3c3e0
authored
Nov 10, 2015
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Place images in their own dir
parent
3b4806ba
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
13 deletions
+11
-13
doc/ci/enable_ci.md
doc/ci/enable_ci.md
+5
-5
doc/ci/img/builds_tab.png
doc/ci/img/builds_tab.png
+0
-0
doc/ci/img/ci_service_disabled.png
doc/ci/img/ci_service_disabled.png
+0
-0
doc/ci/img/ci_service_enabled.png
doc/ci/img/ci_service_enabled.png
+0
-0
doc/ci/img/ci_service_mark_active.png
doc/ci/img/ci_service_mark_active.png
+0
-0
doc/ci/quick_start/README.md
doc/ci/quick_start/README.md
+6
-8
doc/ci/quick_start/img/build_status.png
doc/ci/quick_start/img/build_status.png
+0
-0
doc/ci/quick_start/img/commit_status.png
doc/ci/quick_start/img/commit_status.png
+0
-0
doc/ci/quick_start/img/new_commit.png
doc/ci/quick_start/img/new_commit.png
+0
-0
doc/ci/quick_start/img/projects.png
doc/ci/quick_start/img/projects.png
+0
-0
doc/ci/quick_start/img/runners.png
doc/ci/quick_start/img/runners.png
+0
-0
doc/ci/quick_start/img/runners_activated.png
doc/ci/quick_start/img/runners_activated.png
+0
-0
No files found.
doc/ci/
quick_start/
enable_ci.md
→
doc/ci/enable_ci.md
View file @
32a3c3e0
...
@@ -7,14 +7,14 @@ First, head over your project's page that you would like to enable GitLab CI
...
@@ -7,14 +7,14 @@ First, head over your project's page that you would like to enable GitLab CI
for. If you can see the
**Builds**
tab in the sidebar, then GitLab CI is
for. If you can see the
**Builds**
tab in the sidebar, then GitLab CI is
already enabled and you can skip reading the rest of this guide.
already enabled and you can skip reading the rest of this guide.
![
Builds tab
](
builds_tab.png
)
![
Builds tab
](
img/
builds_tab.png
)
If not, there are two ways to enable it in your project.
If not, there are two ways to enable it in your project.
## Use .gitlab-ci.yml to enable GitLab CI
## Use .gitlab-ci.yml to enable GitLab CI
GitLab CI will be automatically enabled if you just push a
GitLab CI will be automatically enabled if you just push a
[
`.gitlab-ci.yml`
](
../
yaml/README.md
)
in your git repository. GitLab will
[
`.gitlab-ci.yml`
](
yaml/README.md
)
in your git repository. GitLab will
pick up the change immediately and GitLab CI will be enabled for this project.
pick up the change immediately and GitLab CI will be enabled for this project.
This is the recommended way.
This is the recommended way.
...
@@ -26,14 +26,14 @@ and this is also the way to disable it if needed.
...
@@ -26,14 +26,14 @@ and this is also the way to disable it if needed.
Go to
**Settings > Services**
and search for
**GitLab CI**
. Its state should
Go to
**Settings > Services**
and search for
**GitLab CI**
. Its state should
be disabled.
be disabled.
![
CI service disabled
](
ci_service_disabled.png
)
![
CI service disabled
](
img/
ci_service_disabled.png
)
Click on
**GitLab CI**
to enter its settings, mark it as active and hit
Click on
**GitLab CI**
to enter its settings, mark it as active and hit
**Save**
.
**Save**
.
![
Mark CI service as active
](
ci_service_mark_active.png
)
![
Mark CI service as active
](
img/
ci_service_mark_active.png
)
Do you see that green dot? Then good, the service is now enabled! You can also
Do you see that green dot? Then good, the service is now enabled! You can also
check its status under
**Services**
.
check its status under
**Services**
.
![
CI service enabled
](
ci_service_enabled.png
)
![
CI service enabled
](
img/
ci_service_enabled.png
)
doc/ci/
quick_start
/builds_tab.png
→
doc/ci/
img
/builds_tab.png
View file @
32a3c3e0
File moved
doc/ci/
quick_start
/ci_service_disabled.png
→
doc/ci/
img
/ci_service_disabled.png
View file @
32a3c3e0
File moved
doc/ci/
quick_start
/ci_service_enabled.png
→
doc/ci/
img
/ci_service_enabled.png
View file @
32a3c3e0
File moved
doc/ci/
quick_start
/ci_service_mark_active.png
→
doc/ci/
img
/ci_service_mark_active.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/README.md
View file @
32a3c3e0
...
@@ -16,19 +16,17 @@ In brief, the steps needed to have a working CI can be summed up to:
...
@@ -16,19 +16,17 @@ In brief, the steps needed to have a working CI can be summed up to:
1.
Configure a Runner
1.
Configure a Runner
From there on, on every push to your git repository the build will be
From there on, on every push to your git repository the build will be
automagically started by the runner and will appear under the project's
`/builds`
automagically started by the runner and will appear under the project's
page.
`/builds`
page.
Now, let's break it down to pieces and work on solving the GitLab CI puzzle.
Now, let's break it down to pieces and work on solving the GitLab CI puzzle.
## 1. Enable GitLab CI
## 1. Creating a `.gitlab-ci.yml` file
After creating a new project, the first thing to do is enable the
**GitLab CI**
service in your project's settings if it isn't already enabled.
Read
[
how to enable the GitLab CI service
](
enable_ci.md
)
.
**GitLab CI**
service is enabled automatically on the first push of a
`.gitlab-ci.yml`
file in your repository and this is the recommended way.
## 1. Creating a `.gitlab-ci.yml` file
For other methods read
[
how to enable the GitLab CI service
](
../enable_ci.md
)
.
**GitLab CI**
service is enabled automatically on the first push of a
**GitLab CI**
service is enabled automatically on the first push of a
`.gitlab-ci.yml`
file in your repository and this is the recommended way.
`.gitlab-ci.yml`
file in your repository and this is the recommended way.
...
...
doc/ci/quick_start/build_status.png
→
doc/ci/quick_start/
img/
build_status.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/commit_status.png
→
doc/ci/quick_start/
img/
commit_status.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/new_commit.png
→
doc/ci/quick_start/
img/
new_commit.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/projects.png
→
doc/ci/quick_start/
img/
projects.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/runners.png
→
doc/ci/quick_start/
img/
runners.png
View file @
32a3c3e0
File moved
doc/ci/quick_start/runners_activated.png
→
doc/ci/quick_start/
img/
runners_activated.png
View file @
32a3c3e0
File moved
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