Skip to content
Permalink
Browse files

fix(charts): fix in-cluster test setup via helm chart

  • Loading branch information...
rwos committed Dec 6, 2018
1 parent 33a2c21 commit 1053a801cc7f2e8b0d1cc5bb44ef29ccbb1d0982
Showing with 13 additions and 2 deletions.
  1. +3 −2 README.md
  2. +10 −0 charts/workflow-e2e/templates/workflow-e2e-pod.yaml
@@ -117,8 +117,9 @@ A third option is to run the test suite from within the very cluster that is und
To install the [helm](https://github.com/kubernetes/helm) chart and start the tests, assuming helm and its corresponding server component tiller are [installed](https://github.com/kubernetes/helm/blob/master/docs/install.md):

```console
helm repo add workflow-e2e https://charts.deis.com/workflow-e2e
helm install --verify workflow-e2e/workflow-e2e --namespace deis
git clone git clone git@github.com:deis/workflow-e2e.git; cd workflow-e2e
helm dependency update charts/workflow-e2e
helm upgrade --install workflow-e2e charts/workflow-e2e --namespace deis
```

To monitor tests as they execute:
@@ -11,6 +11,8 @@ spec:
image: {{.Values.org}}/workflow-e2e:{{.Values.docker_tag}}
imagePullPolicy: {{.Values.pull_policy}}
env:
- name: DEIS_ROUTER_SERVICE_PORT
value: "80"
- name: GINKGO_NODES
value: "{{.Values.ginkgo_nodes}}"
- name: JUNIT
@@ -22,6 +24,14 @@ spec:
value: "{{.Values.test}}"
- name: DEBUG_MODE
value: "{{.Values.debug_mode}}"
command: ["/bin/bash"]
args:
- -c
- >
export DEIS_CONTROLLER_URL=http://deis.$$(getent hosts deis-router | grep -o "^[^ ]*").nip.io;
export DEIS_ROUTER_SERVICE_HOST=deis.$$(getent hosts deis-router | grep -o "^[^ ]*").nip.io;
./docker-test-integration.sh
volumeMounts:
- name: artifact-volume
mountPath: /root

0 comments on commit 1053a80

Please sign in to comment.
You can’t perform that action at this time.