Changeset View
Changeset View
Standalone View
Standalone View
docker/docker-compose.yml
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | swh-scheduler-runner: | ||||
env_file: | env_file: | ||||
- ./env/common_python.env | - ./env/common_python.env | ||||
- ./env/scheduler-db.env | - ./env/scheduler-db.env | ||||
- ./env/scheduler.env | - ./env/scheduler.env | ||||
environment: | environment: | ||||
SWH_CONFIG_FILENAME: /scheduler.yml | SWH_CONFIG_FILENAME: /scheduler.yml | ||||
SWH_SCHEDULER_CONFIG_FILE: /scheduler.yml | SWH_SCHEDULER_CONFIG_FILE: /scheduler.yml | ||||
entrypoint: /entrypoint.sh | entrypoint: /entrypoint.sh | ||||
command: start-runner -p 10 | command: start-runner --period 10 | ||||
depends_on: | |||||
- swh-scheduler | |||||
- amqp | |||||
volumes: | |||||
- "./conf/scheduler.yml:/scheduler.yml:ro" | |||||
- "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" | |||||
swh-scheduler-runner-priority: | |||||
image: swh/stack | |||||
build: ./ | |||||
env_file: | |||||
- ./env/common_python.env | |||||
- ./env/scheduler-db.env | |||||
- ./env/scheduler.env | |||||
environment: | |||||
SWH_CONFIG_FILENAME: /scheduler.yml | |||||
SWH_SCHEDULER_CONFIG_FILE: /scheduler.yml | |||||
entrypoint: /entrypoint.sh | |||||
ardumont: The difference is here, the runner is in charge of scheduling solely the load-{git,svn,hg… | |||||
command: start-runner --period 10 --with-priority --task-type load-git --task-type load-svn --task-type load-hg --task-type load-archive-files | |||||
depends_on: | depends_on: | ||||
- swh-scheduler | - swh-scheduler | ||||
- amqp | - amqp | ||||
volumes: | volumes: | ||||
- "./conf/scheduler.yml:/scheduler.yml:ro" | - "./conf/scheduler.yml:/scheduler.yml:ro" | ||||
- "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" | - "./services/swh-scheduler-worker/entrypoint.sh:/entrypoint.sh:ro" | ||||
# Graph storage | # Graph storage | ||||
▲ Show 20 Lines • Show All 290 Lines • Show Last 20 Lines |
The difference is here, the runner is in charge of scheduling solely the load-{git,svn,hg,archive-files} with priority.
The other (initial) runner won't do it anymore, it will only scheduled the rests of the tasks without any priority.