Update sonobuoy to v0.16.1 and use e2e go runner

This commit is contained in:
Erik Wilson 2019-10-09 15:06:17 -07:00
parent 09f7674a87
commit fefa44feac
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM golang:1.13.1-alpine3.10
RUN apk -U --no-cache add bash git gcc musl-dev docker curl jq coreutils RUN apk -U --no-cache add bash git gcc musl-dev docker curl jq coreutils
RUN go get -d github.com/heptio/sonobuoy && \ RUN go get -d github.com/heptio/sonobuoy && \
git -C /go/src/github.com/heptio/sonobuoy checkout -b current v0.16.0 && \ git -C /go/src/github.com/heptio/sonobuoy checkout -b current v0.16.1 && \
go install github.com/heptio/sonobuoy go install github.com/heptio/sonobuoy
RUN rm -rf /go/src /go/pkg RUN rm -rf /go/src /go/pkg

View File

@ -110,6 +110,7 @@ export -f sonobuoy-destruct
sonobuoy-test() { sonobuoy-test() {
timeout --foreground 30m sonobuoy run \ timeout --foreground 30m sonobuoy run \
--config scripts/sonobuoy-config.json \ --config scripts/sonobuoy-config.json \
--plugin-env=e2e.E2E_USE_GO_RUNNER=true \
--wait \ --wait \
"${@}" "${@}"
if sonobuoy status | grep "failed"; then if sonobuoy status | grep "failed"; then