Skip to content

neuro-inc/platform-secrets

Repository files navigation

platform-secrets

Local Development

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