Skip to content

Instantly share code, notes, and snippets.

@nitisht
Last active November 16, 2017 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitisht/20bdfc96fa5cedccf708d93e6091cbb8 to your computer and use it in GitHub Desktop.
Save nitisht/20bdfc96fa5cedccf708d93e6091cbb8 to your computer and use it in GitHub Desktop.
Mint Automated runs for each PR

Mint

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.

Requirements of Mint automation pod

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.

Challenges

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment