- Install minikube (https://github.com/kubernetes/minikube#installation);
- Authenticate local docker:
gcloud auth configure-docker # part of `make gke_login`
- Launch minikube:
./minikube.sh start
- Make sure the kubectl tool uses the minikube k8s cluster:
minikube status
kubectl config use-context minikube
- Load images into minikube's virtual machine:
./minikube.sh load-images
- Apply minikube configuration and some k8s fixture services:
./minikube.sh apply
- Create a new virtual environment with Python 3.7:
python -m venv venv
source venv/bin/activate
- Install testing dependencies:
make setup
- Run the unit test suite:
make test_unit
- Run the integration test suite:
make test_integration
- Cleanup shutdown minikube:
./minikube.sh clean
./minikube.sh stop