Page MenuHomeSoftware Heritage

archive-staging: Deploy listers in cluster
ClosedPublic

Authored by ardumont on Sep 6 2022, 3:36 PM.

Details

Summary

It's starting small by adding an existing and small lister, the gnu one.

Related to T4144

Test Plan

Testing this with the gnu lister is ok [1]

helm install is not complaining [2]

[1]

17:46:41 swh-scheduler@db1:5432=> select * from task_run where task = (select id from task where type='list-gnu-full') order by ended desc limit 1;
+----------+----------+--------------------------------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------------------------------+----------+
|    id    |   task   |              backend_id              |           scheduled           |            started            |             ended             |                       metadata                        |  status  |
+----------+----------+--------------------------------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------------------------------+----------+
| 75294590 | 17271527 | 463a5b35-236a-4a23-87cb-63f0c9918b22 | 2022-09-06 15:42:28.566102+00 | 2022-09-06 15:42:50.948995+00 | 2022-09-06 15:42:57.389424+00 | {"worker": "celery@lister-gnu-full-7d798574f6-dsc7z"} | eventful |
+----------+----------+--------------------------------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------------------------------+----------+
(1 row)

Time: 6.620 ms

[2]

helm install --values values-swh-application-versions.yaml  --values swh/values/default.yaml --values swh/values/staging.yaml swh-test swh --dry-run --debug --set namespace=test 2>&1

Diff Detail

Repository
R260 Helm charts for swh packages
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 6 2022, 4:48 PM
This revision was automatically updated to reflect the committed changes.

Nope, phab, it's in another branch!

vsellier requested changes to this revision.Sep 6 2022, 5:27 PM
vsellier added a subscriber: vsellier.
vsellier added inline comments.
swh/values/staging.yaml
124
This revision now requires changes to proceed.Sep 6 2022, 5:27 PM
This revision is now accepted and ready to land.Sep 7 2022, 5:54 PM