From 75649496952475aa644cd90880296fcf24420998 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Tue, 6 Aug 2019 22:53:20 +0300 Subject: [PATCH] Add e2e docs --- e2e/README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 e2e/README.md diff --git a/e2e/README.md b/e2e/README.md new file mode 100644 index 0000000..8017582 --- /dev/null +++ b/e2e/README.md @@ -0,0 +1,35 @@ +# podinfo end-to-end testing + +The e2e testing infrastructure is powered by CircleCI and [Kubernetes Kind](https://github.com/kubernetes-sigs/kind). + +### CI workflow + +* download go modules +* run unit tests +* build container +* install kubectl, helm and Kubernetes Kind CLIs +* create local Kubernetes cluster with kind +* deploy Tiller on the local cluster +* load podinfo image onto the local cluster +* deploy podinfo with Helm +* run Helm tests + +```yaml +jobs: + e2e-kubernetes: + machine: true + steps: + - checkout + - run: + name: Build podinfo container + command: e2e/build.sh + - run: + name: Start Kubernetes Kind cluster + command: e2e/bootstrap.sh + - run: + name: Install podinfo with Helm + command: e2e/install.sh + - run: + name: Run Helm tests + command: e2e/test.sh +```