From b62bb3f90492698d4778f583fe0e5b9f0ebeb234 Mon Sep 17 00:00:00 2001 From: anmol Date: Tue, 21 Nov 2023 15:26:38 -0800 Subject: [PATCH] Fixed coverages Signed-off-by: anmol --- community_images/nats/ironbank/coverage.sh | 2 ++ community_images/nats/official/coverage.sh | 3 +++ 2 files changed, 5 insertions(+) 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 &