Difference between revisions of ".gitlab-ci.yml"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 10: | Line 10: | ||
== <code>Gitlab-ci.yml</code> and CI/CD pipelines Changelog == | == <code>Gitlab-ci.yml</code> and CI/CD pipelines Changelog == | ||
+ | * 22/02/2019 GitLab 12.8 | ||
+ | ** Automatically stop environments after a specified period<ref>https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/#automatically-stop-environments-after-a-specified-period</ref> <code>[[gitlab-ci.yml]]</code> | ||
+ | |||
* 22/09/2019 GitLab 12.3 | * 22/09/2019 GitLab 12.3 | ||
** <ref>https://docs.gitlab.com/ee/ci/yaml/#rules</ref><code>rules</code> keyword: <code>rules:if</code>, <code>rules:changes</code> | ** <ref>https://docs.gitlab.com/ee/ci/yaml/#rules</ref><code>rules</code> keyword: <code>rules:if</code>, <code>rules:changes</code> |
Revision as of 06:17, 23 February 2020
GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml
: https://docs.gitlab.com/ee/ci/yaml/
Parameters
https://docs.gitlab.com/ee/ci/yaml/
before_script
after_script
stage
https://docs.gitlab.com/ee/ci/yaml/#stagerules (if, changes, exists)
https://docs.gitlab.com/ee/ci/yaml/#rules
Gitlab-ci.yml
and CI/CD pipelines Changelog
- 22/02/2019 GitLab 12.8
- Automatically stop environments after a specified period[1]
gitlab-ci.yml
- Automatically stop environments after a specified period[1]
- 22/09/2019 GitLab 12.3
- 22/08/2019 GitLab 12.2
- xx/xx/2019 GitLab 11.8
- Nested includes[6]
- xx/xx/2019 GitLab 11.8
- [7]
trigger
(premium version)
- [7]
- xx/xx/2019 GitLab 11.5
- [10]
parallel
- [10]
- xx/xx/2019 GitLab 11.4
- xx/xx/201x GitLab 9.5
- [17]
retry
- [17]
- xx/xx/201x GitLab 8.10
- [18]
when:manual
- [18]
- xx/xx/201x GitLab 8.9
- [19]
environment
- [19]
- xx/xx/201x GitLab 8.6
- Anchors feature [20]
GitLab Runner 11.10
git clean
flags[21]- Custom build directoriesl https://docs.gitlab.com/ee/ci/yaml/#custom-build-directories
GitLab Runner v0.7.0
cache
Activities
- Read
gitlab-ci.yml
reference documentation https://docs.gitlab.com/ee/ci/yaml/ - Review new keyworks introduced in
gitlab-ci.yml
reading this page - Review predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html and self defined variables https://docs.gitlab.com/ee/ci/variables/README.html#creating-a-custom-environment-variable
See also
- Gitlab runner, runners:
gitlab-runner
,gitlab-ci.yml
,config.toml
, GitLab Runner Changelog - GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
- ↑ https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/#automatically-stop-environments-after-a-specified-period
- ↑ https://docs.gitlab.com/ee/ci/yaml/#rules
- ↑ https://docs.gitlab.com/ee/ci/yaml/#timeout
- ↑ https://docs.gitlab.com/ee/ci/yaml/#interruptible
- ↑ https://gitlab.com/gitlab-org/gitlab-foss/issues/47063
- ↑ https://docs.gitlab.com/ee/ci/yaml/#nested-includes
- ↑ https://docs.gitlab.com/ee/ci/yaml/#trigger-premium
- ↑ https://docs.gitlab.com/ee/ci/yaml/#includefile
- ↑ https://docs.gitlab.com/ee/ci/yaml/#includetemplate
- ↑ https://docs.gitlab.com/ee/ci/yaml/#parallel
- ↑ https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
- ↑ https://docs.gitlab.com/ee/ci/yaml/#whendelayed
- ↑ https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/21767
- ↑ https://docs.gitlab.com/ee/ci/yaml/#include
- ↑ https://docs.gitlab.com/ee/ci/yaml/#extends
- ↑ https://docs.gitlab.com/ee/ci/yaml/#artifactsreports
- ↑ https://docs.gitlab.com/ee/ci/yaml/#retry
- ↑ https://docs.gitlab.com/ee/ci/yaml/#whenmanual
- ↑ https://docs.gitlab.com/ee/ci/yaml/#environment
- ↑ https://docs.gitlab.com/ee/ci/yaml/#anchors
- ↑ https://docs.gitlab.com/ee/ci/yaml/#git-clean-flags
Advertising: