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

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

Gitlab-ci.yml and CI/CD pipelines Changelog

  • 22/09/2019 GitLab 12.3
    • [1]rules keyword: rules:if, rules:changes
    • [2]timeout for jobs.
    • [3]interruptible
  • xx/xx/2019 GitLab 11.8
    • Nested includes[5]
  • xx/xx/2019 GitLab 11.8
    • [6]trigger (premium version)
  • xx/xx/2019 GitLab 11.5
  • xx/xx/2019 GitLab 11.4
    • [10] only:changes/except:changes
    • [11][12] when:delayed
    • [13] include (available in Premium since 10.5)
  • 22/09/2018 GitLab 11.3
    • [14]extends as alternative to YAML anchors
    • [15]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 [19]

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: