diff --git a/projects/vitess/Dockerfile b/projects/vitess/Dockerfile index 9eda3560d..4e7c4c9f1 100644 --- a/projects/vitess/Dockerfile +++ b/projects/vitess/Dockerfile @@ -16,5 +16,6 @@ FROM gcr.io/oss-fuzz-base/base-builder-go RUN git clone --depth 1 https://github.com/vitessio/vitess +RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing COPY build.sh $SRC/ WORKDIR $SRC/vitess diff --git a/projects/vitess/build.sh b/projects/vitess/build.sh index 8a085f41d..458da4a48 100755 --- a/projects/vitess/build.sh +++ b/projects/vitess/build.sh @@ -14,6 +14,5 @@ # limitations under the License. # ################################################################################ - -chmod +x $SRC/vitess/go/test/fuzzing/oss_fuzz_build.sh -$SRC/vitess/go/test/fuzzing/oss_fuzz_build.sh +cp $SRC/cncf-fuzzing/projects/vitess/vt_schema_fuzzer.go $SRC/vitess/go/test/fuzzing/ +$SRC/cncf-fuzzing/projects/vitess/build.sh