Global environment variables for gitlab CI runner

I am working on building a gitlab runner for several projects and we want to be able to set environment variables for all projects. I tried to set global variables in .bashrc

for users gitlab-runner

and root

but didn't recognize them during the CI script. What is the correct location for declaring global environment variables?

+3


source to share


1 answer


Consider using an external persistent secret store like Vault or Keywhiz



Disclaimer: I am not affiliated with any of the above services

0


source







All Articles