Page MenuHomeSoftware Heritage

metadata indexer: Deploy origin head
Closed, MigratedEdits Locked

Event Timeline

vlorentz triaged this task as Normal priority.
vlorentz created this task.

Actually, that's not a duplicate

Actually, that's not a duplicate

yes, it is ;)

ardumont renamed this task from Deploy revision/origin metadata indexers to metadata indexer: Deploy origin head.Nov 21 2018, 3:19 PM

And it's done:

$ cat originhead.csv
indexer_origin_head;oneshot;[["git+https://github.com/SoftwareHeritage/swh-indexer"]]
$ cat originhead.csv | python3 -m swh.scheduler.cli task schedule -c type -c policy -c args --delimiter ';' -
Created 1 tasks

Task 105154202
  Next run: just now (2018-11-21 15:13:00+00:00)
  Interval: 1 day, 0:00:00
  Type: indexer_origin_head
  Policy: oneshot
  Args:
    ['git+https://github.com/SoftwareHeritage/swh-indexer']
  Keyword args:

Checking back the status on that task, everything is fine:

16:18:44 softwareheritage-scheduler@db:5432=> select id, status, policy, next_run from task where type='indexer_origin_head';
┌───────────┬───────────┬─────────┬───────────────────────────────┐
│    id     │  status   │ policy  │           next_run            │
├───────────┼───────────┼─────────┼───────────────────────────────┤
│ 105154202 │ completed │ oneshot │ 2018-11-21 15:13:00.170131+00 │
└───────────┴───────────┴─────────┴───────────────────────────────┘