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

From wikieduonline
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/

Gitlab-ci.yml and CI/CD pipelines Changelog

  • 22/02/2019 GitLab 12.8
  • 22/09/2019 GitLab 12.3
    • [2]rules keyword: rules:if, rules:changes
    • [3]timeout for jobs.
    • [4]interruptible
  • xx/xx/2019 GitLab 11.8
    • Nested includes[6]
  • xx/xx/2019 GitLab 11.8
    • [7]trigger (premium version)
  • xx/xx/2019 GitLab 11.5
  • xx/xx/2019 GitLab 11.4
    • [11] only:changes/except:changes
    • [12][13] when:delayed
    • [14] include (available in Premium since 10.5)
  • 22/09/2018 GitLab 11.3
    • [15]extends as alternative to YAML anchors
    • [16]artifacts:reports
  • xx/xx/201x GitLab 9.5
  • xx/xx/201x GitLab 8.10
  • xx/xx/201x GitLab 8.9
  • xx/xx/201x GitLab 8.6
    • Anchors feature [20]

GitLab Runner 11.10

GitLab Runner v0.7.0

  • cache

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: