Is it possible to pass services and steps environment vars from a file like docker compose?
env_file: ['./.env.testing']
rather then repeating this over and over?
Is it possible to pass services and steps environment vars from a file like docker compose?
env_file: ['./.env.testing']
rather then repeating this over and over?
It is not possible because the yaml is effectively “compiled” before the code is cloned and pipeline is executed. If the goal is to reduce boilerplate you can use something like jsonnet to define a single list of environment variable and pass to every step.