Build & run locally...then in CI
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.