Closed franck-boullier closed 4 years ago
https://travis-ci.org/Unee-T-INS/invite/builds/635612795?utm_source=github_status&utm_medium=notification didn't pass CI since Travis doesn't have the ins-dev profile setup in it's environment.
I can't fix that yet, since I don't seem to have permission to do that in Travis.
This PR is all over the place & too much of a hassle to fix.
The main reason for the "hard coded" -ins imports are changes like not using MYSQL_USER & MYSQL_PASSWORD anymore. Else we could have carried on using unee-t/env (once the $STAGE/$DOMAIN change was applied) and not needed to change the imports.
This PR is to standardize how we store environment-specific parameters.
We need to store environment-specific parameters more efficiently than the current implementation where environment-specific variables are hardcoded in 20 different files.
Ideally, environment variables should be maintained in only 3 places: