DevOps/GitLab/gitlab-ci.yml

From Wikiversity
< DevOps‎ | GitLab
Jump to navigation Jump to search

GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml: https://docs.gitlab.com/ee/ci/yaml/

Gitlab-ci.yml and CI/CD pipelines Changelog[edit | edit source]

  • 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.7
    • [7]include:file
    • [8]include:template
  • 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[edit | edit source]

  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

See also[edit | edit source]

  1. https://docs.gitlab.com/ee/ci/yaml/#rules
  2. https://docs.gitlab.com/ee/ci/yaml/#timeout
  3. https://docs.gitlab.com/ee/ci/yaml/#interruptible
  4. https://gitlab.com/gitlab-org/gitlab-foss/issues/47063
  5. https://docs.gitlab.com/ee/ci/yaml/#nested-includes
  6. https://docs.gitlab.com/ee/ci/yaml/#trigger-premium
  7. https://docs.gitlab.com/ee/ci/yaml/#includefile
  8. https://docs.gitlab.com/ee/ci/yaml/#includetemplate
  9. https://docs.gitlab.com/ee/ci/yaml/#parallel
  10. https://docs.gitlab.com/ee/ci/yaml/#onlychangesexceptchanges
  11. https://docs.gitlab.com/ee/ci/yaml/#whendelayed
  12. https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/21767
  13. https://docs.gitlab.com/ee/ci/yaml/#include
  14. https://docs.gitlab.com/ee/ci/yaml/#extends
  15. https://docs.gitlab.com/ee/ci/yaml/#artifactsreports
  16. https://docs.gitlab.com/ee/ci/yaml/#retry
  17. https://docs.gitlab.com/ee/ci/yaml/#whenmanual
  18. https://docs.gitlab.com/ee/ci/yaml/#environment
  19. https://docs.gitlab.com/ee/ci/yaml/#anchors
  20. https://docs.gitlab.com/ee/ci/yaml/#git-clean-flags