Modern CI/CD Pipeline from Scratch (with Dagger TypeScript Modules) - Part 1

Modern CI/CD Pipeline from Scratch (with Dagger TypeScript Modules) - Part 1

1.343 Lượt nghe
Modern CI/CD Pipeline from Scratch (with Dagger TypeScript Modules) - Part 1
What does it look like to build a modern CI/CD pipeline from scratch in 2024? While many of you would pick GitHub Actions and be done with it, how do you run it locally? And what do you need to do to get caching to work? Tom Chauveau joins us to help Alex Sims build a modern CI/CD pipeline from scratch. We start with a Remix app, write the CI/CD pipeline in TypeScript and get it working locally. While we don't finish, this is a great start (according to Alex). This was recorded in January 2024, just as Dagger was preparing to launch Functions in the v0.10 release. While many things have improved in Dagger since then, the excitement & the joy of approaching CI/CD with this mindset have remained the same. If you are curious about something specific in the follow-up video, drop a comment below. Listen to the discussion before & after the screen sharing 🎧 https://makeitwork.fm/6 The full content experience 📺 https://makeitwork.tv 00:00 Intro 01:32 Install Dagger CLI 03:02 Create your first Dagger Module 09:43 dagger functions 14:45 Getting your source code into a Dagger Module 21:14 daggerverse.dev 24:14 Using Tom's Dagger Node modules 30:43 dagger call terminal 36:46 Dependencies & caching 39:03 Typecheck function 44:12 Optimize source for caching 55:13 Re-using functions 59:53 Why is this taking so long? 01:01:26 Next time when we get together 01:07:21 How can we see multiple commands run at the same time? 01:11:37 End result