Variables are not propagated to docker services while using docker executor
For now only the main container has access to those variables.
It would be great that project build Variables are passed to docker services as well when using docker executor for CI. Also I think they should override the environment variable in runner config, so we can configure Variable by project.
expectations: First
- I set a Variable in the project Variables.
- It should be passed to docker ALL container when starting up, including services
Second
- I define a Variable in my gitlab runner with the
environment
key. - I have the same key in my project Variables
- as a result the
environment
key should be overridden by the Project one.
It will be then very handy to manage database names, users, passwords etc..