diff options
author | Evan Read <eread@gitlab.com> | 2019-09-11 06:45:04 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-09-11 06:45:04 +0300 |
commit | bb7bbcf7b667197e71f696cc17d8c08677629e8d (patch) | |
tree | 01375f3b919f1dd9d3ac013940e427a95a523f51 | |
parent | 895b6064f3568c306dda3180395b6589d1187828 (diff) | |
parent | 427a33124aa27a496789f3c7db87db114ca275f8 (diff) |
Merge branch 'williamchia-master-patch-44268' into 'master'
Add instructions for defining stages
See merge request gitlab-org/gitlab-ce!32896
-rw-r--r-- | doc/topics/autodevops/index.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/topics/autodevops/index.md b/doc/topics/autodevops/index.md index 15fdb52ac00..0cbd85fc568 100644 --- a/doc/topics/autodevops/index.md +++ b/doc/topics/autodevops/index.md @@ -780,15 +780,19 @@ It is also possible to copy and paste the contents of the [Auto DevOps template] into your project and edit this as needed. You may prefer to do it that way if you want to specifically remove any part of it. -### Using components of Auto-DevOps +### Using components of Auto DevOps -If you only require a subset of the features offered by Auto-DevOps, you can include -individual Auto-DevOps jobs into your own `.gitlab-ci.yml`. +If you only require a subset of the features offered by Auto DevOps, you can include +individual Auto DevOps jobs into your own `.gitlab-ci.yml`. Each component job relies +on a stage that should be defined in the `.gitlab-ci.yml` that includes the template. For example, to make use of [Auto Build](#auto-build), you can add the following to your `.gitlab-ci.yml`: ```yaml +stages: + - build + include: - template: Jobs/Build.gitlab-ci.yml ``` |