Commit 9a9c947b authored by Evan Read's avatar Evan Read

Merge branch 'docs-update-ci-quickstart-readme' into 'master'

Add CI quickstart updates

See merge request gitlab-org/gitlab-ce!24702
parents e5a74e0b a4843ba9
...@@ -4,10 +4,15 @@ type: reference ...@@ -4,10 +4,15 @@ type: reference
# Getting started with GitLab CI/CD # Getting started with GitLab CI/CD
>**Note:** Starting from version 8.0, GitLab [Continuous Integration][ci] (CI) NOTE: **Note:**
Starting from version 8.0, GitLab [Continuous Integration][ci] (CI)
is fully integrated into GitLab itself and is [enabled] by default on all is fully integrated into GitLab itself and is [enabled] by default on all
projects. projects.
NOTE: **Note:**
Please keep in mind that only project Maintainers and Admin users have
the permissions to access a project's settings.
GitLab offers a [continuous integration][ci] service. If you GitLab offers a [continuous integration][ci] service. If you
[add a `.gitlab-ci.yml` file][yaml] to the root directory of your repository, [add a `.gitlab-ci.yml` file][yaml] to the root directory of your repository,
and configure your GitLab project to use a [Runner], then each commit or and configure your GitLab project to use a [Runner], then each commit or
...@@ -44,6 +49,7 @@ This guide assumes that you have: ...@@ -44,6 +49,7 @@ This guide assumes that you have:
- A working GitLab instance of version 8.0+r or are using - A working GitLab instance of version 8.0+r or are using
[GitLab.com](https://gitlab.com). [GitLab.com](https://gitlab.com).
- A project in GitLab that you would like to use CI for. - A project in GitLab that you would like to use CI for.
- Maintainer or owner access to the project
Let's break it down to pieces and work on solving the GitLab CI puzzle. Let's break it down to pieces and work on solving the GitLab CI puzzle.
...@@ -77,6 +83,8 @@ You need to create a file named `.gitlab-ci.yml` in the root directory of your ...@@ -77,6 +83,8 @@ You need to create a file named `.gitlab-ci.yml` in the root directory of your
repository. Below is an example for a Ruby on Rails project. repository. Below is an example for a Ruby on Rails project.
```yaml ```yaml
image: "ruby:2.5"
before_script: before_script:
- apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs - apt-get update -qq && apt-get install -y -qq sqlite3 libsqlite3-dev nodejs
- ruby -v - ruby -v
......
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