Dagger NodeJS SDK: Develop Your CI/CD Pipelines as Code (dagger.io) 10 points by yurisagalov 3y ago ↗ HN
[–] shykes 3y ago ↗ 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. [–] j_kao 3y ago ↗ 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 file2. git submodule update your CDKTF repo and spin up a new dev box / playground for them to use3. git submodule update your CI scripts and now your Dagger repo/definitions can deploy to said dev boxesAll 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.
[–] j_kao 3y ago ↗ 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 file2. git submodule update your CDKTF repo and spin up a new dev box / playground for them to use3. git submodule update your CI scripts and now your Dagger repo/definitions can deploy to said dev boxesAll 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.
2 comments
[ 0.20 ms ] story [ 13.7 ms ] threadAs usual, happy to answer any questions.
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.