Fixes teleport and syzkaller builds (#5254)

* Fixes teleport and syzkaller builds

By running go mod vendor after go mod tidy

* fixup syzkaller
This commit is contained in:
Catena cyber 2021-02-25 10:20:26 +01:00 committed by GitHub
parent c0cb833e8b
commit a339cd0ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -18,6 +18,9 @@
make descriptions
go mod tidy && go mod vendor
compile_go_fuzzer github.com/google/syzkaller/pkg/compiler Fuzz compiler_fuzzer
compile_go_fuzzer github.com/google/syzkaller/prog/test FuzzDeserialize prog_deserialize_fuzzer
compile_go_fuzzer github.com/google/syzkaller/prog/test FuzzParseLog prog_parselog_fuzzer

View File

@ -15,5 +15,6 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN git clone --depth 1 https://github.com/gravitational/teleport.git
COPY build.sh $SRC/
WORKDIR $SRC/
WORKDIR $SRC/teleport

View File

@ -15,10 +15,7 @@
#
################################################################################
mkdir -p $GOPATH/src/github.com/gravitational
cd $GOPATH/src/github.com/gravitational
git clone https://github.com/gravitational/teleport.git
make update-vendor
compile_go_fuzzer github.com/gravitational/teleport/lib/fuzz FuzzParseProxyJump utils_fuzz gofuzz
compile_go_fuzzer github.com/gravitational/teleport/lib/fuzz FuzzNewExpression parse_fuzz gofuzz