diff --git a/community_images/nats/ironbank/coverage.sh b/community_images/nats/ironbank/coverage.sh index 8022343d97..7b16433b7f 100644 --- a/community_images/nats/ironbank/coverage.sh +++ b/community_images/nats/ironbank/coverage.sh @@ -28,6 +28,8 @@ function test_nats() { set -e GO111MODULE=off go get github.com/nats-io/nats.go go env -w GOPROXY=http://${NATS_SERVER}:8222,direct + go get golang.org/x/crypto/blake2b@v0.14.0 + go mod tidy cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-pub && go install && cd || exit cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-echo && go install && cd || exit nats-echo -s nats://$NATS_USER:$NATS_PASS@${NATS_SERVER}:4222 SomeSubject & diff --git a/community_images/nats/official/coverage.sh b/community_images/nats/official/coverage.sh index db14e799b4..de736834ad 100644 --- a/community_images/nats/official/coverage.sh +++ b/community_images/nats/official/coverage.sh @@ -22,6 +22,9 @@ function test_nats() { kubectl wait pods nats-release-client -n "${NAMESPACE}" --for=condition=ready --timeout=10m echo "#!/bin/bash GO111MODULE=off go get github.com/nats-io/nats.go + go env -w GOPROXY=http://${NATS_SERVER}:8222,direct + go get golang.org/x/crypto/blake2b@v0.14.0 + go mod tidy cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-pub && go install && cd || exit cd \"\$GOPATH\"/src/github.com/nats-io/nats.go/examples/nats-echo && go install && cd || exit nats-echo -s nats://$NATS_USER:$NATS_PASS@${HELM_RELEASE}.${NAMESPACE}.svc.cluster.local:4222 SomeSubject &