Files
podinfo/e2e/README.md
stefanprodan 7564949695 Add e2e docs
2019-08-06 22:53:20 +03:00

868 B

podinfo end-to-end testing

The e2e testing infrastructure is powered by CircleCI and Kubernetes 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
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