Mint is a Docker image based platform to run tests against Minio server using various Minio, AWS SDKs and Tools. Read more on Mint here.
Following are the steps we need to follow
- Once a PR is opened on minio/minio repository, GitHub sends webhook notifications to our web server.
- Web server parses the incoming PR information and passes on this to an automation script. We can use https://github.com/adnanh/webhook or https://github.com/ceejbot/jthoober as the webhook receiver.
- The automation script checks out the PR locally and builds Minio Docker image.
- Push the Docker image to play.minio.io Docker registry.
- Spin up a minikube instance and deploy the Minio image created in previous step.
- Deploy Mint in the same Minikube instance and start running the tests.
- Fetch the logs from Minikube Mint pod.
- Post the Mint test logs back to GitHub PR and/or our Slack Holodeck channel.
- Need to finalize how we approach SSL based Minio instance testing. (Whether self-signed certificates are validated or not)
- Need to finalize how to test virtual style Minio deployments.