Page MenuHomeSoftware Heritage

Activate the support for options from environment variables for swh-scheduler tool
ClosedPublic

Authored by douardda on Jan 31 2019, 10:33 AM.

Details

Summary

so that one can type (typically in a venv, with services running in dockers):

(venv) swh-environment$ export SWH_SCHEDULER_URL=http://127.0.0.1:5008
(venv) swh-environment$ swh-scheduler task-type list

depends on D1043

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda created this revision.Jan 31 2019, 10:33 AM
ardumont accepted this revision.Jan 31 2019, 10:34 AM
This revision is now accepted and ready to land.Jan 31 2019, 10:34 AM
This revision was automatically updated to reflect the committed changes.