Hello everyone,
Few months ago I presented to the Dagger community meetup a project called BigTesty.
This library proposes integration testing with BigQuery on Google Cloud with an ephemeral infra and it's based on Dagger for the CI logic.
Currently the orientation is to package the project on Docker, because we want to be able to use BigTesty in each CI tool (Cloud Build, Gitlab CI, Github Actions...). Each of these tools is based on Docker.
Today when I build the image locally and execute it with Docker (build and run), it works correctly.
Dagger depends on Docker and I need to deal with Docker Dind but it works well locally.
I haven't tested yet with Github actions and Gitlab CI, but I think it should work because I saw some examples of how to use Dagger in an existing CI.
In these examples, the execution is done with Docker Dind in a privileged mode.
I have an issue using BigTesty and deal with Docker in Docker with Cloud Build.
There is no example in the Google Cloud or Dagger doc to use Dagger in Cloud Build.
I wanted to ask some help from the Dagger community, maybe the approach used today is not the best approach (BigTesty packaged in Docker to be used in each CI tool), please feel free to give me your advice, feedback and propositions.
To prevent the use of Docker Dind in the CI tools (painful with Cloud Build), I also tested to run the Dagger code of BigTesty with Podman and rootless mode but I have some issues :
I share with you the link of the project from Github :
https://github.com/tosun-si/bigtesty
The Dagger logic is written in this file :
https://github.com/tosun-si/bigtesty/blob/main/main.go
The packaging of the Dagger app in Docker is written is this file :
https://github.com/tosun-si/bigtesty/blob/main/Dockerfile
Contributions are also welcome to help me to release an alpha version.
Thanks for your help.
BigTesty is a framework that allows to create Integration Tests with BigQuery on a real and short lived Infrastructure. - GitHub - tosun-si/bigtesty: BigTesty is a framework that allows to create I...
BigTesty is a framework that allows to create Integration Tests with BigQuery on a real and short lived Infrastructure. - tosun-si/bigtesty