meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

git:gitlab:ci:yaml [2023/12/01 10:56] – created niziakgit:gitlab:ci:yaml [2023/12/01 11:10] (current) niziak
Line 1: Line 1:
 ====== yaml ====== ====== yaml ======
 +
 +There is option to see full generated Yaml in Gitlab's pipeline editor, 
 +
 +===== merging / inheritance =====
 +[[https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html|Optimize your YAML files]]
  
 Jobs "inheritance": Jobs "inheritance":
Line 6: Line 11:
     * values are not merged, so if ''script:'' key is defined it will replace ''script:'' from previous job     * values are not merged, so if ''script:'' key is defined it will replace ''script:'' from previous job
   * [[https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html#reference-tags|!reference tags]]   * [[https://docs.gitlab.com/ee/ci/yaml/yaml_optimization.html#reference-tags|!reference tags]]
 +
 +
 +[[https://stackoverflow.com/questions/67009007/how-to-merge-rules-on-a-gitlab-ci-job|How to merge rules on a GitLab CI Job]]
 +