6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-13 08:46:34 +00:00
tutor/tutor
Régis Behmo 5a24056b8e Switch from "run" to "exec" for local initialisation
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.
2019-09-03 09:29:38 +02:00
..
commands Switch from "run" to "exec" for local initialisation 2019-09-03 09:29:38 +02:00
templates Fix CustomTagModule mako template injection 2019-08-31 12:13:19 +02:00
__about__.py v3.6.3 (2019-08-31) 2019-08-31 13:41:11 +02:00
__init__.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
config.py Improve command line yaml value deserialization 2019-07-10 15:22:12 +08:00
env.py Avoid reliance on __file__ 2019-08-20 17:04:18 +02:00
exceptions.py Tutor v3 complete rewrite 2019-02-09 20:30:01 +01:00
fmt.py Add convenient fmt.echo_* functions 2019-05-29 09:53:54 +02:00
images.py Migrate notes to a dedicated plugin 2019-07-04 09:31:12 +08:00
interactive.py Migrate notes to a dedicated plugin 2019-07-04 09:31:12 +08:00
opts.py Improve command line yaml value deserialization 2019-07-10 15:22:12 +08:00
plugins.py More robust plugin/env config checking 2019-07-10 16:20:43 +08:00
scripts.py Define a password from the CLI on user creation 2019-07-11 11:56:18 +08:00
serialize.py Fix parsing of weird characters in configuration parameters 2019-07-11 10:31:23 +08:00
utils.py Progress on the plugins/k8s front 2019-06-07 22:49:45 +02:00