Just posted my first quick update of CI/CD on Nostr. It's my first video like this so it's not amazing quality, but i gotta start somewhere... 🤷♂️ 📜TLDR: Basically I added a little front-end to trigger a DVM that watches the specified repository and publishes a note on each commit, mentioning the author and commit hash. 🐾 Next Steps: - Split publishing of note into seperate DVM's (aka: introduce chaining) - Improve handling of DVM request (adding responses) - Add other chained steps (like pulling/building repository) - ... 🚀 To try it out yourself: - https://stens.dev and enter a repository naddr - @git-watchbot will put out notes on new commits. https://flare.pub/w/naddr1qqrk5vtyxf2566czyzamthdqu92k09ulq4p5q77uyqeadu9mkv8hy5f2nqw0mvhsncn5wqcyqqqgtwcykjnp8 CC: @DanConwayDev @franzap @elsat @Dustin #grownostr
Just posted my first quick update of CI/CD on Nostr. It's my first video like this so it's not amazing quality, but i gotta start somewhere... 🤷♂️ 📜TLDR: Basically I added a little front-end to trigger a DVM that watches the specified repository and publishes a note on each commit, mentioning the author and commit hash. 🐾 Next Steps: - Split publishing of note into seperate DVM's (aka: introduce chaining) - Improve handling of DVM request (adding responses) - Add other chained steps (like pulling/building repository) - ... 🚀 To try it out yourself: - https://stens.dev and enter a repository naddr - @git-watchbot will put out notes on new commits. https://flare.pub/w/naddr1qqrk5vtyxf2566czyzamthdqu92k09ulq4p5q77uyqeadu9mkv8hy5f2nqw0mvhsncn5wqcyqqqgtwcykjnp8 CC: @DanConwayDev @franzap @elsat @Dustin #grownostr nostr.fmt.wiz.biz
Nice video. There is so much potential here!
Are you watching for kind 30618 events?
Yes! It watches both 30618 and 1716 events. Link to source code: - DVM-git-watcher: nostr:naddr1qq8kgand94nkjapdwashgcmgv4eqzrthwden5te0dehhxtnvdakqyg9mkhw6pc24v7te7p2rgpaacgpn6mcthvc0wfgj4xqulke0p838gupsgqqqw7vsnr4zez - StensDev: nostr:naddr1qq8kgand94nkjapdwashgcmgv4eqzrthwden5te0dehhxtnvdakqyg9mkhw6pc24v7te7p2rgpaacgpn6mcthvc0wfgj4xqulke0p838gupsgqqqw7vsnr4zez
Cool. I'm also working on CI/CD based on the original nip-17 and some bits of nip-34 Wasnt all the clear why a DVM was needed. And how the push triggered an event, or which event it was.
Where would the ci/cd action run if not in a DVM? Or is this just a private ci/cd action?
I was thinking of using https://www.drone.io/
Right so I think the difference is that instead of that company hosting it (or any company), someone runs a DVM that does that work for you and you can pay a subscriptions, etc. Also, it would be easier for AI to use it if it’s a DVM (just pay an invoice, no need to sign up, no cc info required, etc) If you want privacy though, it might always be better to go through a company like that.
Oh, I thought drone was open source. If not, there's other open source CI/CD out there https://github.com/drone