dataset-viewer
de6909fa - Manage the environment variables and configuration more robustly (#612)

Commit
3 years ago
Manage the environment variables and configuration more robustly (#612) * feat: ๐ŸŽธ change configuration variables, version 0.4.0 The library is now in charge of its own configuration variables: they are prefixed with QUEUE_, and are loaded from the environment using "environs". BREAKING CHANGE: the environment variable names have changed * feat: ๐ŸŽธ change configuration variables, version 0.3.0 The library is now in charge of its own configuration variables: they are prefixed with CACHE_, and are loaded from the environment using "environs". BREAKING CHANGE: ๐Ÿงจ the environment variable names have changed * feat: ๐ŸŽธ change configuration variables, version 0.3.0 The library is now in charge of its own configuration variables: they are prefixed with COMMON_, and are loaded from the environment using "environs". BREAKING CHANGE: ๐Ÿงจ the environment variable names have chang, and the lib is now called libcommon * style: ๐Ÿ’„ add missing copyright headers * fix: ๐Ÿ› change config field to queue_field * feat: ๐ŸŽธ upgrade libs and use new config The configuration is now split in groups. It should be easier to understand (hopefully) and more reproductible * feat: ๐ŸŽธ upgrade libs and use new config The configuration is now split in groups. It should be easier to understand (hopefully) and more reproductible * refactor: ๐Ÿ’ก details * feat: ๐ŸŽธ upgrade libs and use new config The configuration is now split in groups. It should be easier to understand (hopefully) and more reproductible * feat: ๐ŸŽธ upgrade libs and use new config The configuration is now split in groups. It should be easier to understand (hopefully) and more reproductible * feat: ๐ŸŽธ details * feat: ๐ŸŽธ change env vars to avoid overlap between services * style: ๐Ÿ’„ fix style and remove deprecated env vars * test: ๐Ÿ’ adapt e2e env vars also: vscode * test: ๐Ÿ’ replace makefile env vars with pytest monkeypatch this way, it's a lot easier to launch the tests, without setting a lot of variables * feat: ๐ŸŽธ handle empty environment variables correctly * ci: ๐ŸŽก update the docker compose files with the new env vars * ci: ๐ŸŽก change the name of the lib * ci: ๐ŸŽก the env vars are now set with pytest, no need for envvars * chore: ๐Ÿค– change the name of the lib * test: ๐Ÿ’ adapt e2e to the new env vars * test: ๐Ÿ’ reduce the worker sleep time to speed up the tests * style: ๐Ÿ’„ remove B105 warning by bandit https://bandit.readthedocs.io/en/1.7.4/plugins/b105_hardcoded_password_string.html * style: ๐Ÿ’„ fix bandit issue * feat: ๐ŸŽธ update docker images * feat: ๐ŸŽธ update helm templates * chore: ๐Ÿค– structure the docker images * chore: ๐Ÿค– don't change the name of the apps to let helm upgrade without downtime * docs: โœ๏ธ fix doc and makefile * chore: ๐Ÿค– update readme * docs: โœ๏ธ fix a link in the docs * feat: ๐ŸŽธ use a different restriction depending on the worker
Author
Parents
Loading