aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/base-images
diff options
context:
space:
mode:
authorGravatar Catena cyber <35799796+catenacyber@users.noreply.github.com>2021-02-23 16:35:32 +0100
committerGravatar GitHub <noreply@github.com>2021-02-23 07:35:32 -0800
commite14bf4735ab706d6a9981bedf7d66f6a699de0e2 (patch)
tree94f788ce271d3272a2b2734800cbb5f2ec79f3b1 /infra/base-images
parent4e239284e54db26f30e2f2cabe359da0183e423e (diff)
Go 1.16 local builds (#5241)
* Makes vitess build local As it uses vitess.io instead of github * Completes minify project * Completes quic-go * Local build for nats project * Completes ipfs * run go mod tidy after adding go module * Right bash sequence for go mod tidy
Diffstat (limited to 'infra/base-images')
-rwxr-xr-xinfra/base-images/base-builder/compile_go_fuzzer2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/compile_go_fuzzer b/infra/base-images/base-builder/compile_go_fuzzer
index 1903e453..e3442aa0 100755
--- a/infra/base-images/base-builder/compile_go_fuzzer
+++ b/infra/base-images/base-builder/compile_go_fuzzer
@@ -31,7 +31,7 @@ go mod tidy || true
# project was downloaded with go get if go list fails
go list $tags $path || { cd $GOPATH/pkg/mod/ && cd `echo $path | cut -d/ -f1-3 | awk '{print $1"@*"}'`; }
# project does not have go.mod if go list fails again
-go list $tags $path || go mod init $path
+go list $tags $path || { go mod init $path && go mod tidy ;}
if [[ $SANITIZER = *coverage* ]]; then
fuzzed_package=`go list $tags -f '{{.Name}}' $path`