Page MenuHomePhabricator

Move Dan's CI metrics cron script / HTML output from to
Open, Needs TriagePublic


Code was being run in a personal crontab, which didn't stay when the machine was re-imaged (from people1001 to people1002).

Let's move it into doc1001 so it's more stable.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 17 2020, 6:16 PM

Possible good first task; needs the current output to be scped from people to doc, the code to be moved to doc and installed in a crontab, and then properly puppetised so it stays around the next time the host gets re-imaged (but that could be a separate, spun-out task).

Where is the source code for this?

@Jdforrester-WMF: good first task is for tasks which do not require any special permissions in order to test the contribution or to fix the task. Anyone should be able to reproduce. As scp was mentioned I assume that's not the case but please correct me if I misunderstand!

We're intentionally using the tag for tasks for our new starter. I hope you've not removed it from all those carefully curated tasks? Eurgh.

Where is the source code for this?

On people1002:/home/dduvall.

hashar added a subscriber: hashar.Jun 29 2020, 2:22 PM

Alternative is to have a regular Jenkins job to generate the reports then publish to doc1001. That has a few benefits:

  • keeps doc1001 pristine clear and just hosting static assets
  • we can retrigger / tweak the batch however we want via JJB/Jenkins config

We should also get the scripts published in some git repo (maybe integration/config is a good enough fit for that).

(else yeah +1 on the principle of having it documented / shared ;D )

[OT] @Jdforrester-WMF: I hope you (plural; team) will remove the tag from all those tasks, otherwise I will have to do that soon. Thanks :)

You should take that up with the owners of Phabricator. ;-)