Build, run and test locally
This documentation is for an older version of Dagger, which is no longer actively maintained.
We encourage you to upgrade and refer to the documentation for the most current version.
If you cannot upgrade to the latest version, please contact us in the help forum on Discord. When contacting us, please let us know why you cannot move to the latest version. From there, our team will work with you on your use case.
Everyone should be able to develop, test and run their application using a local pipeline. Having to commit & push in order to test a change slows down iteration. This guide shows you the Dagger way. Within 5 minutes, you will have a local CI/CD loop and run your first test & build pipeline. Afterwards, we'll look at running the same Dagger pipeline in your CI system.
Before we can build & test our example app with dagger
, we need to have Dagger installed and Docker running.
The Dagger engine/CLI is available for install on macOS, Linux, and Windows to run locally or in CI
Now that we are comfortable with our local CI/CD loop, let us configure a remote CI environment in the second part. The difference is that we will also deploy the build output to Netlify. Dagger makes this easy.