Runner Specific variable values

Is it possible to have a variable be runner specific?

Lets say i have the variable $TEST_VARIABLE and two runner RunnerA and RunnerB.
I want the value of $TEST_VARIABLE to be a certain file path specific to RunnerA and a different value for $TEST_VARIABLE when the pipeline is running on RunnerB (They have different folder paths).

Is this at all possible with GitLab CI ?

Hi @GabrielShaukan
you can define Runner specific environment variables in config.toml of each Runner. See docs.

1 Like

wow ok thanks a lot