The pipeline will be executed in a container, so Docker is required. Docker can be downloaded from the official Docker website.
- Open PowerShell.
- Run the following command:
Invoke-WebRequest -UseBasicParsing -Uri https://dl.dagger.io/dagger/install.ps1 | Invoke-Expression
For installation guides on other operating systems, please refer to the Dagger CLI documentation.
After installation, verify if Dagger is correctly installed:
- Open Command Prompt.
- Run the following command:
You should see a path similar to
where daggerC:\<your home folder>\dagger\dagger.exe.
You can install the Dagger Python SDK either via pip or Conda.
- Using pip:
pip install dagger-io
- Using Conda:
conda install dagger-io
With the setup completed, follow these steps to run the pipeline locally:
- Ensure that the Docker Desktop App is open. This is necessary as the pipeline runs in a Docker container.
- Open Command Prompt in the root directory.
- Execute the command:
dagger run python ci/main.py
This command will initiate the pipeline using the Dagger tool.