mirror of https://github.com/k3s-io/k3s
Update sonobuoy to v0.16.1 and use e2e go runner
parent
09f7674a87
commit
fefa44feac
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue