The rest-gateways service definition has a suite of system tests that make requests against a deployment of the rest gateway service. The tests are implemented in python and can be invoked by calling make check. They are useful for local development with minikube, but are particularly important for verifying deployments against the staging cluster.
While running make check on a deployment host works fine, it would be nicer to containerize these tests and run them via helm test.
The long term goal of this is to automate verification of deployments to a point where it becomes possible to have something like spiderpig for service deployments.
- extract smokepy into a separate repo
- release a stable version of smokepy
- verify running smokepy tests with helm test on minikube
- verify running smokepy tests with helmfile test on staging
- merge and deploy a version of the api-gateway chart with containerized tests
- make sure documentation is up to date.
- find a way to reliably get live logs (--logs is prone to race conditions when the pod is slow to come up)