dagger-drone-test/README.md

14 lines
500 B
Markdown
Raw Normal View History

2022-10-29 01:33:27 +02:00
# dagger drone test
Simply run below command to test your pipeline, can also be used through a
trusted repository in Droneci. But as we are using docker and dagger, this can
be done locally just as well
```bash
2022-10-29 01:34:32 +02:00
dagger_tag=$(openssl rand -hex 12)
docker build -t dagger-test-builder:${dagger_tag} .
docker run -v /var/run/docker.sock:/var/run/docker.sock dagger-test-builder:${dagger_tag} ./dagger 'https://github.com/kpenfound/greetings-api.git'
2022-10-29 01:33:27 +02:00
```
![recording of above command](assets/demo.gif)