logoalt Hacker News

modelessyesterday at 7:21 PM3 repliesview on HN

It's insane to me that being able to run CI steps locally is not the first priority of every CI system. It ought to be a basic requirement.


Replies

mrinterwebyesterday at 10:05 PM

I've often thought about this. There are times I would rather have CI run locally, and use my PGP signature to add a git note to the commit. Something like:

``` echo "CI passed" | gpg2 --clearsign --output=- | git notes add -F- ```

Then CI could check git notes and check the dev signature, and skip the workflow/pipeline if correctly signed. With more local CI, the incentive may shift to buying devs fancier machines instead of spending that money on cloud CI. I bet most devs have extra cores to spare and would not mind having a beefier dev machine.

show 2 replies
dupedyesterday at 8:56 PM

This goes against every incentive for the CI service provider

show 1 reply