mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #885 from erikwilson/update-sonobuoy
Update sonobuoy to v0.16.1 and use e2e go runner
This commit is contained in:
commit
db4f7e684a
@ -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
Block a user