yes github actions really changed the game. Its a great product. I don’t know how to beat that. Maybe once it’s on nostr third party cicd integrations would be easier ?

Reply to this note

Please Login to reply.

Discussion

Travis and the GitHub integration hooks for it were basically the same? There’s some release process stuff people use actions for which I don’t bother with, but the core CI stuff doesn’t require a whole lot, just someone willing to donate millions of dollars a year in CPU cost to make it free for OSS devs.

pay lightning invoice to run build pipeline

A killer app for machine to machine Lightning payments?

lol I’d always forget to pay it on push, no thank you that’d be awful.

Easy fix: pay lightning invoice to push. And pull. 😂

“I wanted to open a PR but lnd is currently restarting so I can’t” oh man what a mess.

Well, obviously if you were a LND dev you'd run a CLN node in case you needed to fix a critical LND bug with a pull-req... 😂

Good point about the free compute power. I missed that in my analysis

naddr1qqyxxdmyvsmrqdn9qywhwumn8ghj7mn0wd68yttsw43zuam9d3kx7unyv4ezumn9wspzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqvzqqqr4guzzjrgj

GitHub Actions is great when it works out of the box, but the process of setting up these plugins and understanding how they work in dozens of nonsense JavaScript is pretty arcane to me, so every time I have to do something unusual I either give up or waste a very long time on it. I don't understand why the build environments and so on can't be set with bash scripts or even the Dockerfiles that everybody loves.

This is one of the things I love about Earthly, the syntax is essentially dockerfiles with a bit of Make mixed in so my entire ci config becomes just running a earthly target. (something I can also run locally)

I tried that, it looked nice, but I hit a problem and gave up entirely. I should try again.

But where exactly do you use it and for what specifically?

Here's an example of a simple one I did that runs the tests and builds and pushes a docker image. My real-world configs run all the steps and build all the images in the same file.

https://github.com/duck1123/me.untethr.nostr-relay/blob/main/Earthfile

Circleci config https://github.com/duck1123/me.untethr.nostr-relay/blob/main/.circleci/config.yml