Page MenuHomeSoftware Heritage

Add swh-graph to the docker environment
ClosedPublic

Authored by vlorentz on Jul 27 2021, 4:05 PM.

Details

Summary

I'd like to use it to test the vault.

T1936

Diff Detail

Repository
rDENV Development environment
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 22765
Build 35501: arc lint + arc unit

Event Timeline

vlorentz retitled this revision from [wip] Start adding swh-graph to the docker environment to Start adding swh-graph to the docker environment.Jul 27 2021, 5:32 PM
ardumont added a subscriber: ardumont.

Nice, thanks.

I don't get how the graph gets filled in though. Do you restart regularly the graph
service (through some docker-compose command) so the commands gets executed to fill it?
(I see there is a journal client so that must be where the data comes from)

docker/services/swh-graph/entrypoint.sh
28

maybe that could be parametric in the docker-compose.graph.yml so we can modify it in the override or something (if that becomes too verbose)?

This revision is now accepted and ready to land.Jul 28 2021, 10:01 AM

Do you restart regularly the graph service (through some docker-compose command) so the commands gets executed to fill it?

For now, yes

This revision was automatically updated to reflect the committed changes.
docker/services/swh-graph/entrypoint.sh
28

that's copy pasted from objstorage and others, so kind of out of scope for this diff

vlorentz retitled this revision from Start adding swh-graph to the docker environment to Add swh-graph to the docker environment.Jul 28 2021, 4:41 PM