mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-13 08:46:34 +00:00
5a24056b8e
We ran into an issue when trying to run migrations when the MinIO plugin is activated. As seen in issues #243 and #244, the certificates.0003_data__default_modes migration requires access to MinIO. To do so, the MinIO host must be reached. That means that SSL certificates must be in place (if https is enabled) and that the nginx server must be booted. However, it does not make sense to require that the minio container depends on the nginx container. So, in effect, we need a fully working platform to run migrations. In a sense, this is better as it harmonises the init task with k8s: in k8s, init was already run with exec. Next step is to get rid of these ugly mysql-client/minio-client containers that must be up at all times. It would be much simpler to just exec the commands inside the mysql/minio containers. |
||
---|---|---|
.. | ||
commands | ||
templates | ||
__about__.py | ||
__init__.py | ||
config.py | ||
env.py | ||
exceptions.py | ||
fmt.py | ||
images.py | ||
interactive.py | ||
opts.py | ||
plugins.py | ||
scripts.py | ||
serialize.py | ||
utils.py |