Deploy next swh.graph manually
v5.1 will be running with the rust toolchain. Before this (v3.4), it was running with the java toolchain.
First step, deploy it manually in granet as we used to do.
Requirements, granet is still buster and python3.7 packaged with it is too old for the first tryouts.
plan:
-
Migrate to bullseye -
Fix network issue -
FAIL: Install new swh.graph v5.1 version in venv -
Migrate to bookworm -
Fix network issue again (my puppet fix did not work...) -
Install cargo toolchain -
Install new swh.graph v5.1 version in venv -
FAIL: Test swh.graph with it -
Create venv with python3.11 with previous version v3.4 -
(fallback) Start back services running with existing version -
Take notes along the way (here) -
Reindex graph data -
Deploy next version (with rust) -
Deactivate puppet -
#5394 (closed): Fix network configuration (something has changed with new bullseye/bookworm) -
#5385 (closed): Fix swh-graph-grpc.service failing when called -
Reactivate puppet
Documentation:
Edited by Antoine R. Dumont