Difference between revisions of ".gitlab-ci.yml"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 9: | Line 9: | ||
* <code>stage</code> https://docs.gitlab.com/ee/ci/yaml/#stage | * <code>stage</code> https://docs.gitlab.com/ee/ci/yaml/#stage | ||
* <code>rules (if, changes, exists)</code> https://docs.gitlab.com/ee/ci/yaml/#rules | * <code>rules (if, changes, exists)</code> https://docs.gitlab.com/ee/ci/yaml/#rules | ||
+ | Security: | ||
* <code>[[artifacts:reports:dast]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportssast-ultimate</ref> | * <code>[[artifacts:reports:dast]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportssast-ultimate</ref> | ||
+ | [[License management]]: | ||
* <code>[[artifacts:reports:license_management]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate</ref> | * <code>[[artifacts:reports:license_management]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate</ref> | ||
Revision as of 11:31, 25 February 2020
GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml
.
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
Security:
Gitlab-ci.yml
and CI/CD pipelines Changelog
- 22/02/2019 GitLab 12.8
- Automatically stop environments after a specified period[3]
auto_stop_in: 1 week
- Automatically stop environments after a specified period[3]
- 22/09/2019 GitLab 12.3
- 22/08/2019 GitLab 12.2
- xx/xx/2019 GitLab 11.8
- Nested includes[8]
- xx/xx/2019 GitLab 11.8
- [9]
trigger
(premium version)
- [9]
- xx/xx/2019 GitLab 11.5
- [12]
parallel
- [12]
- xx/xx/2019 GitLab 11.4
- xx/xx/201x GitLab 9.5
- [19]
retry
- [19]
- xx/xx/201x GitLab 8.10
- [20]
when:manual
- [20]
- xx/xx/201x GitLab 8.9
- [21]
environment
- [21]
- xx/xx/201x GitLab 8.6
- Anchors feature [22]
GitLab Runner 11.10
git clean
flags[23]- 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://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportssast-ultimate
- ↑ https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate
- ↑ 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: