ERB style templating in gitlab-ci.yml files
@balasankarc and myself were working on the gitlab-ci pipeline of the omnibus project and we noticed that many parts of the the file were actually duplicated and it would be very useful if we had a way to programatically generate the yaml file using templating.
Something like erb in ruby or go-templating
for example we can do stuff like
operating_systems = ["ubuntu-14.04", "ubuntu-16.04"...]
for os in operating_systems:
< write jobs for one OS >
Edited by Ahmad Hassan