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

- nostr:npub1hflnseyhn7tkngmkfmr4qrjygjppw3dgg3t3xpeza7r4skwy3u9samkmwh will put out notes on new commits.

https://flare.pub/w/naddr1qqrk5vtyxf2566czyzamthdqu92k09ulq4p5q77uyqeadu9mkv8hy5f2nqw0mvhsncn5wqcyqqqgtwcykjnp8

CC: nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr nostr:npub1wf4pufsucer5va8g9p0rj5dnhvfeh6d8w0g6eayaep5dhps6rsgs43dgh9 nostr:npub1zafcms4xya5ap9zr7xxr0jlrtrattwlesytn2s42030lzu0dwlzqpd26k5 nostr:npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc

#grownostr

Reply to this note

Please Login to reply.

Discussion

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

- nostr:npub1hflnseyhn7tkngmkfmr4qrjygjppw3dgg3t3xpeza7r4skwy3u9samkmwh will put out notes on new commits.

https://flare.pub/w/naddr1qqrk5vtyxf2566czyzamthdqu92k09ulq4p5q77uyqeadu9mkv8hy5f2nqw0mvhsncn5wqcyqqqgtwcykjnp8

CC: nostr:npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr nostr:npub1wf4pufsucer5va8g9p0rj5dnhvfeh6d8w0g6eayaep5dhps6rsgs43dgh9 nostr:npub1zafcms4xya5ap9zr7xxr0jlrtrattwlesytn2s42030lzu0dwlzqpd26k5 nostr:npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc

#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

Love it. Chaining will be so cool. I need to make a few updates to the debug page on DVMDash to show infinite chains

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

If it is open source, than someone could run it behind a DVM!

Once something is accessible via the DVM protocol, it can be used just like any other DVM, so other DVMs could call it, etc. reduces a lot of friction