File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ # Tutor provides the `tutor MODE do JOB ...` CLI as a consistent way to execute jobs
2+ # across the dev, local, and k8s modes. To support jobs in the docker-compose modes
3+ # (dev and local), we must define a `-job` variant service in which jobs could be run.
4+
5+ # When `tutor local do JOB ...` is invoked, we `docker-compose run` each of JOB's
6+ # tasks against the appropriate `-job` services, as defined here.
7+ # When `tutor dev do JOB ...` is invoked, we do the same, but also include any
8+ # compose overrides in ../dev/docker-compose.jobs.yml.
9+
10+ # Note that these services will all be `run` rather than `start`ed and `exec`ed.
11+ # This is because jobs are often used for initialization tasks, which may need to
12+ # happen before the service can be successfully `start`ed.
13+
114version : " {{ DOCKER_COMPOSE_VERSION }}"
215services :
316
You can’t perform that action at this time.
0 commit comments