staging: Deploy latest maven stack
loader.core: v3.3.0 lister: v2.9.1
Plan:
-
Tag lister and loader.core -
Stop scheduler-schedule-recurrent-service -
Clean up 'maven' queue -
scheduler: Drop listed_origins entries with visit_type 'maven' [1] -
Restart scheduler-schedule-recurrent service -
Upgrade worker deps [2] -
Restart swh-worker@lister -
Restart swh-worker@loader_maven -
Trigger back listing on maven repositories [3] -
[1]
15:20:28 swh-scheduler@db1:5432=> delete from listed_origins where visit_type='maven';
DELETE 4048045
Time: 52186.502 ms (00:52.187)
- [2]
Setting up python3-swh.lister (2.9.1-1~swh1~bpo10+1) ...
Setting up python3-swh.loader.core (3.3.0-1~swh1~bpo10+1) ...
- [3]
15:26:57 swh-scheduler@db1:5432=> update listers set current_state='{}'::jsonb where name='maven';
UPDATE 2
Time: 34.898 ms
15:27:07 swh-scheduler@db1:5432=> select * from listers where name='maven';
+--------------------------------------+-------+-----------------+-------------------------------+---------------+-------------------------------+
| id | name | instance_name | created | current_state | updated |
+--------------------------------------+-------+-----------------+-------------------------------+---------------+-------------------------------+
| ab79de00-a2d3-44ac-90a8-f53c35c5d893 | maven | repo1.maven.org | 2022-04-13 14:58:57.054812+00 | {} | 2022-04-13 14:58:57.054812+00 |
| b1a5a64a-6838-449c-a0ad-89072dd466e0 | maven | clojars.org | 2022-04-13 14:45:19.786948+00 | {} | 2022-04-14 15:41:42.958798+00 |
+--------------------------------------+-------+-----------------+-------------------------------+---------------+-------------------------------+
(2 rows)
Time: 7.449 ms
15:27:27 swh-scheduler@db1:5432=> update task set status='next_run_not_scheduled', next_run=now() where type='list-maven-incremental';
UPDATE 2
Time: 96.027 ms
Migrated from T4215 (view on Phabricator)
Edited by Antoine R. Dumont