Skip to main content

Build, run and test locally

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.

tip

The Dagger engine/CLI is available for install on macOS, Linux, and Windows to run locally or in CI

tip

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.

Dagger Cloud

Dagger Cloud is a managed service that aims to help you troubleshoot your current dagger runs by storing operation history and enabling functionality such as storing outputs and a comprehensive detailed view of your executions.

If you're interested in trying out Dagger Cloud, you can find more information in our docs section. Furthermore, if you have any feedback or ideas that could help improve the product, there is an open discussion in GitHub where you can leave us your inputs.