Unverified Commit db4f7e68 authored by Erik Wilson's avatar Erik Wilson Committed by GitHub

Merge pull request #885 from erikwilson/update-sonobuoy

Update sonobuoy to v0.16.1 and use e2e go runner
parents 09f7674a fefa44fe
...@@ -2,7 +2,7 @@ FROM golang:1.13.1-alpine3.10 ...@@ -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
......
...@@ -110,6 +110,7 @@ export -f sonobuoy-destruct ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment