Skip to content

Commit

Permalink
Fixed coverages
Browse files Browse the repository at this point in the history
Signed-off-by: anmol <[email protected]>
  • Loading branch information
Anmol-RapidFort committed Nov 21, 2023
1 parent 1294cdd commit b62bb3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions community_images/nats/ironbank/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 &
Expand Down
3 changes: 3 additions & 0 deletions community_images/nats/official/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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 &
Expand Down

0 comments on commit b62bb3f

Please sign in to comment.