Difference between revisions of ".gitlab-ci.yml"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
* <code>after_script</code> | * <code>after_script</code> | ||
* <code>stage</code> https://docs.gitlab.com/ee/ci/yaml/#stage | * <code>stage</code> https://docs.gitlab.com/ee/ci/yaml/#stage | ||
− | * <code>rules</code> https://docs.gitlab.com/ee/ci/yaml/#rules | + | * <code>rules (if, changes, exists)</code> https://docs.gitlab.com/ee/ci/yaml/#rules |
== <code>Gitlab-ci.yml</code> and CI/CD pipelines Changelog == | == <code>Gitlab-ci.yml</code> and CI/CD pipelines Changelog == |
Revision as of 13:08, 20 January 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/09/2019 GitLab 12.3
- 22/08/2019 GitLab 12.2
- xx/xx/2019 GitLab 11.8
- Nested includes[5]
- xx/xx/2019 GitLab 11.8
- [6]
trigger
(premium version)
- [6]
- xx/xx/2019 GitLab 11.5
- [9]
parallel
- [9]
- xx/xx/2019 GitLab 11.4
- xx/xx/201x GitLab 9.5
- [16]
retry
- [16]
- xx/xx/201x GitLab 8.10
- [17]
when:manual
- [17]
- xx/xx/201x GitLab 8.9
- [18]
environment
- [18]
- xx/xx/201x GitLab 8.6
- Anchors feature [19]
GitLab Runner 11.10
git clean
flags[20]- 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://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: