Page MenuHomeSoftware Heritage

docker-compose: Fix missing `start-` prefix on scheduler cli
ClosedPublic

Authored by ardumont on Wed, Oct 2, 7:12 AM.

Details

Summary

Prior to this commit, on fresh container update, the listener and runner
scheduler services would not start.

swh-scheduler-runner_1        | Waiting for postgresql to start
swh-scheduler-runner_1        | wait-for-it: waiting for swh-scheduler-db:5432 without a timeout
swh-scheduler-runner_1        | wait-for-it: swh-scheduler-db:5432 is available after 0 seconds
swh-scheduler-runner_1        | Starting the swh-scheduler runner
swh-scheduler-runner_1        | wait-for-it: waiting for amqp:5672 without a timeout
swh-scheduler-runner_1        | wait-for-it: amqp:5672 is available after 4 seconds
swh-scheduler-runner_1        | Usage: swh scheduler [OPTIONS] COMMAND [ARGS]...
swh-scheduler-runner_1        | Try "swh scheduler -h" for help.
swh-scheduler-runner_1        |
swh-scheduler-runner_1        | Error: No such command "runner".
swh-docker-dev_swh-scheduler-runner_1 exited with code 2

Because we removed the backward compatibility code and forgot to update the
docker env.

Related D1995

Test Plan

doco up

Diff Detail

Repository
rCDFD Dockerfiles for developers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Wed, Oct 2, 7:12 AM
ardumont updated this revision to Diff 6926.Wed, Oct 2, 7:13 AM

Fix commit message

zack accepted this revision.Wed, Oct 2, 8:19 AM

nice catch!

This revision is now accepted and ready to land.Wed, Oct 2, 8:19 AM