Is your feature request related to a problem? Please describe.
GitLab runners can define env vars that get injected into jobs. But if certain jobs on that runner define the same env vars, then they are overridden. Currently, this is not supported in gitlab-ci-local.
Describe the solution you'd like
Probably a --env-var option can help here. And a corresponding GCL_ENV_VAR_<> support to mirror the --variable and GCL_VARIABLE_<> support.
Describe alternatives you've considered
Nothing else.
Additional context
This helps with providing a good set of env vars for most jobs while also letting those one of jobs to define their own such env vars with different values.
Is your feature request related to a problem? Please describe.
GitLab runners can define env vars that get injected into jobs. But if certain jobs on that runner define the same env vars, then they are overridden. Currently, this is not supported in gitlab-ci-local.
Describe the solution you'd like
Probably a
--env-varoption can help here. And a corresponding GCL_ENV_VAR_<> support to mirror the --variable and GCL_VARIABLE_<> support.Describe alternatives you've considered
Nothing else.
Additional context
This helps with providing a good set of env vars for most jobs while also letting those one of jobs to define their own such env vars with different values.