Commit Graph

18 Commits

Author SHA1 Message Date
Catena cyber 58d5848b0f
Fix typo in path equilavence for golang coverage (#5444) 2021-03-19 06:34:21 -07:00
Catena cyber 8b15e28751
Go coverage : use gofuzz tag by default (#5425)
as is done by gofuzz build
2021-03-17 07:42:12 -07:00
Catena cyber 5c174c7e36
Golang coverage: use absolute paths (#5407) 2021-03-16 12:19:02 -07:00
Catena cyber b000f70a7a
Golang coverage: build binary instead of bash script (#5377) 2021-03-14 08:29:13 -07:00
Catena cyber fb8b2e25bf
Golang coverage ok with package in $SRC (#5325) 2021-03-09 06:07:33 -08:00
Catena cyber e14bf4735a
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
2021-02-23 07:35:32 -08:00
Catena cyber 1e03eb94af
Go 1.16 more fixes (#5239)
* Fixes cilium build

* Fixes dragonfly build

* Fixes fasthttp build

* Fixes fastjson build

* golang build: change directory only temporary

* Fixes gitea build

* Fixes grpc-gateway build

* Fixes hugo project build

* Fixes ipfs build

* Fixes jsonparser build

* Fixes kubernetes build

* Fixes loki build

* Fixes minify build

* Fixes nats build

* Removes go get from the docs

* Fixes quic-go build

* Fixes radon build

* Fixes syzkaller build

* Fixes tidb build

* Fixes vitess build
2021-02-22 15:25:47 -08:00
Catena cyber 90164f397e
Fixes go coverage build with go 1.16 (#5237) 2021-02-22 09:06:53 -08:00
Catena cyber 60e9a661f9
Go 1.16 build fix with right parentheses (#5228)
* go: right bash condition for changing directory

* go-json-iterator: uses git clone

So as to copy fuzz target in right directory

* go: uses tags when running go list

* go-redis: uses git clone and builds local fuzz target

* cascadia: uses git clone instead of go get
2021-02-21 07:40:36 -08:00
Catena cyber 18500c17d7
golang: compatibility with go 1.16 modules (#5221) 2021-02-19 10:03:22 -08:00
Andrew Lytvynov 687187f07e
compile_go_fuzzer: pass build tags to `go list` (#5008)
`go list` will fail if all files in the fuzzed package use a build tag
restriction (like the common `gofuzz` tag).

Also, pass the `gofuzz` tag in the teleport build to plumb it through.
2021-01-20 11:44:15 -08:00
Catena cyber 60b3a3d5dd
Golang coverage improvements (#4920)
* Uses idiomatic way for golang package in coverage

* Extends go coverage report to the whole repository
2021-01-07 07:41:26 -08:00
Abhishek Arya 84616ae4ce
Fix "exec format error" due to incorrect shebang in python target. (#4746) 2020-11-29 18:49:47 -08:00
Catena cyber 831e4cd96a
Golang coverage reports for projects with modules (#4690)
such as coredns
cloning into GOPATH
2020-11-24 05:08:57 -08:00
Catena cyber 91a6a12dbe
Go json coverage (#4689)
* Good fuzz target for golang coverage with modules

* Place target in right directory for go-json-iterator

So that coverage gets access to the right package
2020-11-22 11:05:32 -08:00
Abhishek Arya 57ebc0c76a
Workaround for unbound var GO111MODULE 2020-11-21 09:09:01 -08:00
Catena cyber 2db56c4174
Golang project uses compile_go_fuzzer script (#4685)
* Golang project uses compile_go_fuzzer script

* Kubernetes project uses compile_go_fuzzer script

* Adds golang to ci covergae builds

* fixup

* Golang coverage with go modules

cf coredns project
2020-11-21 07:11:43 -08:00
Catena cyber 217175212b
[infra] Use generic compile_go_fuzzer for golang projects (#4659)
* Use generic compile_go_fuzzer for golang projects

* fix the copyright in the new script

Co-authored-by: Max Moroz <mmoroz@chromium.org>
2020-11-19 14:18:25 -08:00