Skip to content

jasperfue/dagger-circle-example

Repository files navigation

README

Installation Steps for Dagger Pipeline

Install Docker

The pipeline will be executed in a container, so Docker is required. Docker can be downloaded from the official Docker website.

Install the Dagger CLI

For Windows:

  1. Open PowerShell.
  2. 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:

  1. Open Command Prompt.
  2. Run the following command:
    where dagger
    You should see a path similar to C:\<your home folder>\dagger\dagger.exe.

Install the Dagger SDK for Python

You can install the Dagger Python SDK either via pip or Conda.

  • Using pip:
    pip install dagger-io
  • Using Conda:
    conda install dagger-io

Running the Pipeline

With the setup completed, follow these steps to run the pipeline locally:

  1. Ensure that the Docker Desktop App is open. This is necessary as the pipeline runs in a Docker container.
  2. Open Command Prompt in the root directory.
  3. Execute the command:
    dagger run python ci/main.py

This command will initiate the pipeline using the Dagger tool.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •