How can I set up global environment variables in GitLab that are not project-specific, but apply to all projects? Classic use cases are deployment keys, docker registry credentials and connect proxy information.
People have been asking about it for three years, as you can see in the following link. Unfortunately the issue has been closed.
In the meantime, I've helped myself.
Setup
sudo vi gitlab_global_env.py
Run
Example output
Check
Project
,Settings
,CI / CD
,Variables
,Collapse
.Tested with Python 3.6.8