Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.4 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.4 KB

Agate CI

Agate use Dagger to handle its CI and local development.

Table of Contents

Requirements

Dagger commands

💡 You can list all functions using dagger functions

Open a shell inside a container with the project loaded

dagger shell project --entrypoint /bin/sh

Use it to debug flacky tests or test things inside the CI or container environment.

Install Agate binary from local source

dagger export binary

You should see agate binary in your current host directory.

Start a PostgreSQL database

dagger up --native database

You can either configure the database with flags in the CLI or using your environment.

💡 Execute dagger call database --help to see the flags.

Execute CI locally

dagger call ci run

This will build, lint and run unit tests in parallel.

💡 Execute dagger call ci --help to see additional subcommands.