datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

daily status email #109

Closed yarikoptic closed 2 years ago

yarikoptic commented 2 years ago

not sure if could/should be sent out by some github action or just some cronjob on smaug.

Subject: datalad/git-annex [OK X], [FAILED Y]

and in the body just a printout in yaml of some record which would have github, and all the clients on the top level, and then individual workflows with OK/FAILED indicator for each of them. Where present, would be nice to have them as URLs to corresponding action run, but I guess something would be better than nothing -- I just often forget to check current status and miss some change in the situation.

jwodder commented 2 years ago

@yarikoptic To be clear: By "clients", do you mean the Ubuntu/macOS/Windows workflows on GitHub Actions or the "local" clients on ndoli & smaug?

yarikoptic commented 2 years ago

the latter -- "local" clients on ndoli & smaug.

jwodder commented 2 years ago

@yarikoptic Then what exactly do you mean by "individual workflows" and "URLs to corresponding action run"? The local clients' whole thing is that they're not run under GitHub Actions.

yarikoptic commented 2 years ago

Then what exactly do you mean by "individual workflows" and "URLs to corresponding action run"?

workflows as you see them on Actions tab https://github.com/datalad/git-annex/actions ![image](https://user-images.githubusercontent.com/39889/159810992-7dedd8d5-ecb2-4870-8cf7-7b72c2a62bd8.png)

so individual workflows like "Build git-annex on Ubuntu" and other "Build git-annex" ones.

Example Just make it not markdown but html body of an email so could be clicked on. Would be nice if PASS is in green and FAIL in RED, and those which didn't run --- - in grey. If it is impossible to associate with URLs for local clients log dumps, may be we could indeed keep some latest build logs hanging for a week or so in that repo to simplify such introspection? (note that rendered version does not make those ssh:// urls into hyperlinks)

Subject: datalad/git-annex daily summary: 3 FAILED, 3 PASSED

would correspond current unfortunate state which I wasn't aware about :-/

The local clients' whole thing is that they're not run under GitHub Actions.

I know. But it shouldn't preclude getting their current/latest status, possibly with the date when it was updated

jwodder commented 2 years ago

@yarikoptic So is this e-mail supposed to cover the tests in GitHub Actions, on local clients, or both? Could you give an example of a complete e-mail's contents?

jwodder commented 2 years ago

@yarikoptic Ping.

yarikoptic commented 2 years ago

extended example above with results for a local client etc