ci: integrate dagger with woodpecker
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful

The Woodpecker agent is now capable of running Dagger
pipelines.
This commit is contained in:
Dan Anglin 2023-05-14 04:53:16 +01:00
parent c036319fc6
commit 07549bdffb
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -1,19 +1,10 @@
---
pipeline:
test:
image: golang:1.20.4
environment:
- GO_TEST_VERBOSE=1
- GO_TEST_COVER=1
dagger:
image: golang:1.20.4-alpine
commands:
- apk add docker-cli
- cd internal/build
- go run magefiles/main.go -v test
when:
event: pull_request
lint:
image: golangci/golangci-lint:v1.52.2-alpine
commands:
- cd internal/build
- go run magefiles/main.go -v lint
when:
event: pull_request
- go run .
volumes:
- /var/run/docker.sock:/var/run/docker.sock