Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: cicd: use dagger for ci #1472

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Jan 21, 2025

Dagger looks like a runner that would allow testing CI changes before pushing them to the repository (how novel!).

Here's the incantation I needed locally to run this:

: Download and install the "dagger" tool yourself.
podman volume create dagger_cache ||:
podman run --name dagger-engine-v0.15.2 -d -v dagger_cache:/var/lib/dagger --privileged registry.dagger.io/engine:v0.15.2
export _EXPERIMENTAL_DAGGER_RUNNER_HOST=podman-container://dagger-engine-v0.15.2
dagger call test --source=https://github.com/quay/claircore # or --source=.

[Dagger] looks like a runner that would allow testing CI changes
_before_ pushing them to the repository (how novel!).

Here's the incantation I needed locally to run this:

```
: Download and install the "dagger" tool yourself.
podman volume create dagger_cache ||:
podman run --name dagger-engine-v0.15.2 -d -v dagger_cache:/var/lib/dagger --privileged registry.dagger.io/engine:v0.15.2
export _EXPERIMENTAL_DAGGER_RUNNER_HOST=podman-container://dagger-engine-v0.15.2
dagger call test --source=https://github.com/quay/claircore # or --source=.
```

[Dagger]: https://docs.dagger.io/

Signed-off-by: Hank Donnay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant