Page MenuHomeSoftware Heritage

Fix swh-scheduler-runner config
ClosedPublic

Authored by douardda on Thu, Dec 20, 1:29 PM.

Details

Summary

Ensure the scheduler.yml is properly loaded. For some reason, it seems to
require the presence of the file in both directories

/etc/softwareheritage/ AND
/etc/softwareheritage/worker/

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

douardda created this revision.Thu, Dec 20, 1:29 PM
ardumont added inline comments.
dockerfiles/swh-scheduler-worker/Dockerfile
9

fyi, the COPY seems to already take care of that step (creating the folder if not existing).
(i did not need this in other part).

douardda marked an inline comment as done.Thu, Dec 20, 1:43 PM
douardda added inline comments.
dockerfiles/swh-scheduler-worker/Dockerfile
9

yes but since I duct-taped the pb with a symlink below, we do nees this /etc/softwareheritage/worker/ directory...

ardumont accepted this revision.Thu, Dec 20, 2:00 PM
This revision is now accepted and ready to land.Thu, Dec 20, 2:00 PM
This revision was automatically updated to reflect the committed changes.