Place images in their own dir

This commit is contained in:
Achilleas Pipinellis 2015-11-10 03:26:51 +02:00
parent 3b4806bad9
commit 32a3c3e068
12 changed files with 12 additions and 14 deletions

View File

@ -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
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.
## Use .gitlab-ci.yml to enable GitLab CI
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.
This is the recommended way.
@ -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
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
**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
check its status under **Services**.
![CI service enabled](ci_service_enabled.png)
![CI service enabled](img/ci_service_enabled.png)

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -16,23 +16,21 @@ In brief, the steps needed to have a working CI can be summed up to:
1. Configure a Runner
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`
page.
automagically started by the runner and will appear under the project's
`/builds` page.
Now, let's break it down to pieces and work on solving the GitLab CI puzzle.
## 1. Enable GitLab CI
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).
## 1. Creating a `.gitlab-ci.yml` file
**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.
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.yml` file in your repository and this is the recommended way.
For other methods read [how to enable the GitLab CI service](../enable_ci.md).
### What is `.gitlab-ci.yml`

View File

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

Before

Width:  |  Height:  |  Size: 120 KiB

After

Width:  |  Height:  |  Size: 120 KiB

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB