Merge pull request #885 from erikwilson/update-sonobuoy

Update sonobuoy to v0.16.1 and use e2e go runner
This commit is contained in:
Erik Wilson 2019-10-09 15:44:20 -07:00 committed by GitHub
commit db4f7e684a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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