With Jenkins CI, with help of jenkinsfile, we usually write in python to iterate a yaml , extract, transform and execute accordingly, coming to gitlab CI, within .gitlab-ci.yaml., what is the best way to iterate a yaml file? Using same way to use python ? if theres a better way to iterate from .gitlab-ci.yaml, please share an example.
some examples like this
target:
host: docker.io
repository: example
sources:
- repository: acme/acme01
host: example01
tag: 0.0.1
- repository: acme/acme02
host: example01
tag: 0.0.2