In this workshop, we'll explore how Dagger can:
- Eliminate Environment Discrepancies: Use containerization to ensure your development and CI environments are identical.
- Simplify Onboarding: Create self-contained environments that new team members can spin up instantly.
- Streamline CI/CD Pipelines: Define complex pipelines with code-first configuration, reducing failures due to environment differences.
- Enhance Productivity: Focus on coding rather than environment setup and debugging.
Through a hands-on session, we'll port an existing development and CI setup to Dagger using a realistic example project. You'll gain practical experience in:
- Writing Dagger pipelines using Go
- Orchestrating builds, tests, and deployments in a consistent environment
- Integrating Dagger into existing workflows
By the end of this workshop, you'll be equipped to leverage Dagger to standardize environments, accelerate your CI/CD pipelines, and improve team collaboration.
⚠️ Please note: This workshop will primarily use Go for the coding exercises.
Some familiarity with the language is recommended.
Preparations
⚠️ Please read the following section carefully.
This workshop is offered in a hybrid format, giving you two ways to complete the exercises:
- Use your own computer:
- Ensure your machine can run Docker and any other required tools.
- Be aware that your organization may restrict installing or running these tools.
- Use the online playground environment:
- You’ll work directly in your browser (no need to install anything).
- A strong internet connection is essential; spotty Wi-Fi may cause issues.
You are free to choose either option.
Prerequisites for using your own machine
- Make sure Docker is installed and running.
- Make sure Go is installed.
- Install the latest Dagger CLI.
- Make sure you have a GitHub account set up with SSH keys.
- Last, but not least: you'll need your favorite text editor or IDE.
Online Playground
During the live training phase, participants can use this playground environment.
⚠️ Stopping a playground will erase all progress. To keep your files, download them before shutting it down.
Workshop materials
You can find the workshop materials on GitHub: