staging: Deploy new D lang stack
-
swh-apps: Build image (if required) -
swh/infra/ci-cd/swh-charts!157 (merged): swh-charts: Reference new image (if required) -
swh/infra/ci-cd/swh-charts!159 (merged): swh-charts: Adapt values to reference the new lister -
Deploy (push branch and let argocd do its job) -
Connect to toolbox pod: Register new scheduler task types -
Restart scheduler-runner (so the new task types can eventually get scheduled) -
Instantiate an instance of forge to list [2] -
Checks pods are doing their jobs -
Tag grafana with "deployment service=lister-dlang environment=staging" [1]
Dashboard to follow [1]
[1] https://grafana.softwareheritage.org/goto/e-c3EAWIz?orgId=1
[2] In toolbox pod
swh@swh-toolbox-6cc9689489-bxgkl:~$ swh scheduler -C /etc/swh/config-scheduler.yml task add list-dlang --policy oneshot
Created 1 tasks
Task 33422653
Next run: today (2023-09-29T09:14:18.927198+00:00)
Interval: 1 day, 0:00:00
Type: list-dlang
Policy: oneshot
Args:
Keyword args:
[3]
listers {"asctime": "2023-09-29 09:24:02,860", "threadName": "MainThread", "pathname": "/opt/swh/.local/lib/python3.10/site-packages/celery/app/trace.py", "lineno": 131, "funcName": "info", "task_name": null, "task_id": null, "name": "cele
ry.app.trace", "levelname": "INFO", "message": "Task swh.lister.dlang.tasks.DlangListerTask[4ca6f096-72e7-4cdf-a1f3-905a9fcca1b9] succeeded in 22.294090315699577s: {'pages': 1, 'origins': 2387}", "data": {"id": "4ca6f096-72e7-4cdf-a1f3-905
a9fcca1b9", "name": "swh.lister.dlang.tasks.DlangListerTask", "return_value": "{'pages': 1, 'origins': 2387}", "runtime": 22.294090315699577, "args": "()", "kwargs": "{}"}}
Refs. swh/meta#5053
Depends on #5065 (closed)
Edited by Antoine R. Dumont