6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-14 17:24:08 +00:00
tutor/tests/commands
Régis Behmo 7972a75915 feat: leverage RUN --mount for faster image building
We make use of the Docker build cache to install python and nodejs
requirements faster in the case of repeated builds.

This feature is only possible for users of BuildKit, so we detect
whether `docker buildx` is available at runtime.

We do not make use of `COPY --link` because the `--link` option is
incompatible with `--chown=app:app`:
https://github.com/docker/buildx/issues/1408

For reference, see:

https://www.docker.com/blog/dockerfiles-now-support-multiple-build-contexts/
https://docs.docker.com/engine/reference/commandline/buildx_build/#build-context
2023-06-14 21:08:49 +02:00
..
__init__.py refactor: add code coverage, cover CLI commands with tests 2022-01-04 13:40:33 +01:00
base.py refactor: annotation with __future__.annotations 2023-01-18 08:36:14 +01:00
test_cli.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
test_compose.py chore: upgrade requirements 2023-02-09 12:07:09 +01:00
test_config.py feat: config save --append/--remove KEY=VAL options 2023-06-14 19:40:58 +02:00
test_context.py feat: pluggable local/dev/k8s do <job> commands 2022-11-15 09:46:08 +01:00
test_dev.py depr: get rid of the local/dev bindmount commands 2022-10-19 17:51:06 +02:00
test_images.py feat: leverage RUN --mount for faster image building 2023-06-14 21:08:49 +02:00
test_jobs.py fix: do not prepend DJANGO settings info to all jobs 2022-11-24 18:40:16 +01:00
test_k8s.py feat: migrate to plugins.v1 with filters & actions 2022-04-15 15:30:54 +02:00
test_local.py Merge remote-tracking branch 'origin/master' into nightly 2022-11-29 15:07:54 +00:00
test_plugins.py refactor: move format_table function to utils 2023-02-28 09:45:11 +01:00