This is done through (swh) scheduling the following instances (task-type: list-phabricator-full):
- Create swhbot register accounts
- Reference credentials per site:
- kde: https://phabricator.kde.org/ (~> register through https://identity.kde.org)
- wikimedia: https://phabricator.wikimedia.org/ (~> register through wikimedia.org)
- blender: https://developer.blender.org/ (~> direct registration)
- llvm: https://reviews.llvm.org (~> direct registration)
- ~~ phabricator: https://secure.phabricator.com (cannot register an account manually)~~
- D1594: Fix swh-lister's phabricator model to include instance in db model
- stop swh-worker@lister on workers
- Migrate existing schema
- Deploy latest version
- Restart workers
- Deploy scheduler tasks for forges instances (2 tasks list-phabricator-full [2], list-phabricator-incremental [3])
- llvm
- blender
- wikimedia
- kde
Note:
- A probably not exhaustive list can be found at [1]
[1] https://en.wikipedia.org/wiki/Phabricator
[2] Add list-phabricator-full instance (sample)
SCHEDULER_API_URL=http://saatchi.internal.softwareheritage.org:5008/; swh scheduler --url $SCHEDULER_API_URL task add list-phabricator-full --policy recurring forge_url='https://reviews.llvm.org' instance='llvm' Created 1 tasks Task 167877509 Next run: just now (2019-06-18 08:59:16+00:00) Interval: 90 days, 0:00:00 Type: list-phabricator-full Policy: recurring Args: Keyword args: forge_url: 'https://reviews.llvm.org' instance: 'llvm'
[3] Add list-phabricator-incremental instance (sample)
SCHEDULER_API_URL=http://localhost:5008/; swh scheduler --url $SCHEDULER_API_URL task add list-phabricator-incremental --policy recurring forge_url='https://reviews.llvm.org' instance='llvm' Created 1 tasks Task 4 Next run: just now (2019-06-18 10:15:45+00:00) Interval: 7 days, 0:00:00 Type: list-phabricator-incremental Policy: recurring Args: Keyword args: forge_url: 'https://reviews.llvm.org' instance: 'llvm'
Related T1797