Difference between revisions of ".gitlab-ci.yml"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 14: Line 14:
 
* <code>[[artifacts:reports:license_management]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate</ref> (will be deprecated  <code>- template: License-Scanning.gitlab-ci.yml</code>)
 
* <code>[[artifacts:reports:license_management]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate</ref> (will be deprecated  <code>- template: License-Scanning.gitlab-ci.yml</code>)
  
== <code>Gitlab-ci.yml</code> and CI/CD pipelines Changelog ==
+
== [[Gitlab-ci.yml 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>[[auto_stop_in: 1 week]]</code>
 
 
 
* 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/#timeout</ref><code>timeout</code> for jobs.
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#interruptible</ref><code>interruptible</code>
 
 
 
* 22/08/2019 GitLab 12.2
 
** <ref>https://gitlab.com/gitlab-org/gitlab-foss/issues/47063</ref><code>needs:</code>https://docs.gitlab.com/ee/ci/yaml/#needs
 
 
 
* xx/xx/2019 GitLab 11.8
 
** Nested includes<ref>https://docs.gitlab.com/ee/ci/yaml/#nested-includes</ref>
 
 
 
* xx/xx/2019 GitLab 11.8
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#trigger-premium</ref><code>trigger</code> (premium version)
 
 
 
* xx/xx/2019 GitLab 11.7
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#includefile</ref><code>[[include]]:file</code>
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#includetemplate</ref><code>include:template</code>
 
 
 
* xx/xx/2019 GitLab 11.5
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#parallel</ref><code>parallel</code>
 
 
 
* xx/xx/2019 GitLab 11.4
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges</ref> <code>only:changes/except:changes</code>
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#whendelayed</ref><ref>https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/21767</ref> <code>when:delayed</code>
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#include</ref> <code>include</code> (available in Premium since 10.5)
 
 
 
* 22/09/2018 GitLab 11.3
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#extends</ref><code>extends</code> as alternative to YAML anchors
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#artifactsreports</ref><code>artifacts:reports</code>
 
 
 
* xx/xx/201x GitLab 9.5
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#retry</ref><code>retry</code>
 
 
 
* xx/xx/201x GitLab 8.10
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#whenmanual</ref><code>when:manual</code>
 
 
 
* xx/xx/201x GitLab 8.9
 
** <ref>https://docs.gitlab.com/ee/ci/yaml/#environment</ref><code>environment</code>
 
 
 
* xx/xx/201x GitLab 8.6
 
** Anchors feature <ref>https://docs.gitlab.com/ee/ci/yaml/#anchors</ref>
 
 
 
[[DevOps/GitLab/GitLab Runner|GitLab Runner]] 11.10
 
* <code>[[git clean]]</code> flags<ref>https://docs.gitlab.com/ee/ci/yaml/#git-clean-flags</ref>
 
* Custom build directoriesl https://docs.gitlab.com/ee/ci/yaml/#custom-build-directories
 
 
 
[[DevOps/GitLab/GitLab Runner|GitLab Runner]] v0.7.0
 
* <code>cache</code>
 
  
 
== Activities ==
 
== Activities ==

Revision as of 12:12, 22 November 2020

GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml.

Parameters

https://docs.gitlab.com/ee/ci/yaml/

Security:

License management:

Gitlab-ci.yml and CI/CD pipelines changelog

Activities

  1. Read gitlab-ci.yml reference documentation https://docs.gitlab.com/ee/ci/yaml/
  2. Review new keyworks introduced in gitlab-ci.yml reading this page
  3. 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


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

Advertising: