7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-01 05:40:48 +00:00
tutor/tutor/commands
Régis Behmo f1773c0ba9 Revert "fix: empty entrypoints in docker-compose=2.0.0.beta4"
This reverts commit 6f04223d01.

It turns out that we cannot ignore "command: []" statements in k8s manifests.
That's because there is no way to clear entrypoint in k8s manifests, but
sometimes we do need to bypass the entrypoints. For instance, the minio client
container sets "mc" as the default entrypoint, which does not work with our job
logic.

As a consequence, Tutor becomes incompatible with docker-compose 2.0.0.beta4.
The "entrypoint must be a string" error is actually an upstream bug:
https://github.com/docker/compose-cli/issues/1848

See:

The corresponding minio issue: https://github.com/overhangio/tutor-minio/issues/9
The previous conversation about empty entrypoints: https://discuss.overhang.io/t/undefined-entrypoint-throws-error-in-docker-compose-2-0-0-beta-4/1716
2021-08-10 09:16:55 +02:00
..
__init__.py Move command modules to dedicated directory 2019-05-29 09:53:54 +02:00
cli.py feat: upgrade to open-release/lilac.master 2021-06-08 23:29:12 +02:00
compose.py feat: upgrade to open-release/lilac.master 2021-06-08 23:29:12 +02:00
config.py feat: env only mode for config generation 2021-06-22 12:25:29 +02:00
context.py refactor: better config type checking 2021-04-18 18:02:02 +02:00
dev.py refactor: better config type checking 2021-04-18 18:02:02 +02:00
images.py feat: upgrade to open-release/lilac.master 2021-06-08 23:29:12 +02:00
k8s.py Revert "fix: empty entrypoints in docker-compose=2.0.0.beta4" 2021-08-10 09:16:55 +02:00
local.py fix: mongodb upgrade error when upgrading from koa 2021-07-06 08:42:13 +02:00
plugins.py fix: better logging during plugins disable 2021-06-22 12:28:58 +02:00