DEV Community

Discussion on: How to dry your .gitlab-ci.yml

Collapse
 
ridaehamdani profile image
Ridae HAMDANI

There is an other gitlab-ci keywords that can help us such:

  • include that allows the inclusion of an other YAML file to the current gitlab-ci.
  • extends: it allows the job that uses it to inherit from other job .
Collapse
 
michalbryxi profile image
Michal Bryxí

Good point. I should've mention that. IIRC I did not chose that one because at the time of writting the article include and/or extends were restricted only to paid versions of GitLab.