Deploy Packagist lister in production
staging:
-
swh-charts: Reference pod (to run in staging [1] and production) -
Deploy -
Trigger listing [2] -
Checks -
Deactivate task
production:
-
swh-charts: merge staging branch -
Deploy -
Trigger listing -
(ongoing) Checks
Refs. swh/meta#5001 (closed)
[1] Listing has been done (but apparently) manually as nothing exists in the static nor the elastic stack for that lister.
[2]
swhscheduler@scheduler0:~$ swh scheduler --config-file /etc/softwareheritage/scheduler/backend.yml task add list-packagist
Created 1 tasks
Task 33422048
Next run: today (2023-07-31T13:38:55.561938+00:00)
Interval: 1 day, 0:00:00
Type: list-packagist
Policy: recurring
Args:
Keyword args:
2023-07-31 15:41:26 swh-scheduler@db1:5432 λ select instance_name, visit_type, count(*) from listed_origins lo inner join listers l on l.id=lo.lister_id where lister_id in (select id from listers where name='Packagist') group by instance_name, visit_type order by count asc;
+---------------+------------+--------+
| instance_name | visit_type | count |
+---------------+------------+--------+
| packagist | hg | 12 |
| packagist | svn | 53 |
| packagist | git | 286640 |
+---------------+------------+--------+
(3 rows)
Time: 176.719 ms
Edited by Antoine R. Dumont