Closed samuelbernardolip closed 4 years ago
Environment variables can be simplified into primary namespace environment (already implemented in release 2.0.0) and credentials in issue #48. Since we are not giving additional functionality value for config.yml, only repeating the definitions already available from agent context, it's better to keep it simple and define the variables for containers in agent configuration.
In current 2.0.0 release environment variables can be defined in docker-compose.yml for each deployed service/container.
Release 2.0.0 already supports global environment definition that is imported in the beginning of the pipeline. For this release is proposed to improve to use config.env definitions to avoid code repetition. Also in sqa-criteria must be possible to import the environment for each container environment. The expected result would be for example:
Note: environment over primary namespace doesn't apply to the containers and is used as library support for any internal configurations that user can customize for the plugins.