Commit 32a3c3e0 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Place images in their own dir

parent 3b4806ba
...@@ -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)
...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment