Page MenuHomeSoftware Heritage

worker: Reference the task-type registering step for loader/lister
ClosedPublic

Authored by ardumont on Nov 18 2019, 10:37 AM.

Details

Summary

Depends on D2291 D2292

Test Plan

Mount with local override [1] (because we need D2291, D2292)

doco up -d

And then check loader and lister still start up without error.
For example, for the loader (because of D2292, \m/):

swh-loader_1                  |   . swh.loader.npm.tasks.LoadNpm
swh-loader_1                  |   . swh.loader.package.tasks.LoadArchive
swh-loader_1                  |   . swh.loader.package.tasks.LoadDebian
swh-loader_1                  |   . swh.loader.package.tasks.LoadDeposit
swh-loader_1                  |   . swh.loader.package.tasks.LoadNpm
swh-loader_1                  |   . swh.loader.package.tasks.LoadPyPI

[1] docker-compose.override.yml excerpt:

swh-lister:
  volumes:
    - "$SWH_ENVIRONMENT_HOME/swh-lister:/src/swh-lister"
    - "$SWH_ENVIRONMENT_HOME/swh-scheduler:/src/swh-scheduler"

swh-scheduler-api:
  volumes:
    - "$SWH_ENVIRONMENT_HOME/swh-scheduler:/src/swh-scheduler"

swh-loader:
  volumes:
    - "$SWH_ENVIRONMENT_HOME/swh-loader-core:/src/swh-loader-core"
    - "$SWH_ENVIRONMENT_HOME/swh-scheduler:/src/swh-scheduler"

Diff Detail

Repository
rCDFD Dockerfiles for developers
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9069
Build 13264: arc lint + arc unit

Event Timeline

ardumont created this revision.Nov 18 2019, 10:37 AM
ardumont updated this revision to Diff 7884.EditedNov 18 2019, 11:23 AM

Add missing dependency and configuration for the loader part

douardda accepted this revision.Nov 18 2019, 2:01 PM
This revision is now accepted and ready to land.Nov 18 2019, 2:01 PM