Hacker News new | ask | show | jobs
Dagger NodeJS SDK: Develop Your CI/CD Pipelines as Code (dagger.io)
10 points by yurisagalov 1317 days ago
1 comments

Hi everyone! This launch comes on the heels of our Go SDK and Python SDK launch. Our goal is to eventually allow any developer to create CI/CD pipelines in their favorite language, and run them anywhere.

As usual, happy to answer any questions.

This is a great release! Now we have a way to share code between our CI and Terraform (we use CDKTF).

Imagine this scenario:

1. You onboard new developers and their on-boarding task is to add their name and public key to a DEVELOPERS.ts constants file

2. git submodule update your CDKTF repo and spin up a new dev box / playground for them to use

3. git submodule update your CI scripts and now your Dagger repo/definitions can deploy to said dev boxes

All with one source of truth (DEVELOPERS.ts), type-safety, and version-control!

Not to mention, if you wrote your server code in TypeScript, there's a lot of options here.

The great part is you can do this in any of the matrices of languages that are shared between these tools.