Skip to content

Commit

Permalink
Merge pull request #3 from ozdanborne/test-results
Browse files Browse the repository at this point in the history
Save XML results
  • Loading branch information
ozdanborne authored Aug 9, 2017
2 parents b6d1ea0 + b9e051a commit 08130ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
# Inspiration: https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/conformance/build/Dockerfile
FROM golang
LABEL maintainer "[email protected]"
VOLUME /report
ENV FOCUS="(Networking).*(\[Conformance\])|\[Feature:NetworkPolicy\]"
ADD kubeconfig /root/kubeconfig
ADD ./bin/e2e.test .
CMD ./e2e.test -kubeconfig=/root/kubeconfig --ginkgo.focus="$FOCUS"
CMD ./e2e.test -kubeconfig=/root/kubeconfig --ginkgo.focus="$FOCUS" -report-dir=/report

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ are set for every pod:
kubectl run e2e --image=ozdanborne/k8s-e2e --restart=Never --attach -- ./e2e.test --ginkgo.focus="(Networking).*(\[Conformance\])|\[Feature:NetworkPolicy\]"
```

### Test Results XML

XML test results will be output to `/result` in the container. Volume mount this
directory onto the host to view results once the container has finished.

## Future Work

**Pass Target Apiserver as Param**
Expand Down

0 comments on commit 08130ea

Please sign in to comment.