From 6706dfe94b0a589868e551702a24d2b2cfefbc05 Mon Sep 17 00:00:00 2001
From: Philippe Scorsolini
Date: Fri, 3 Feb 2023 19:24:35 +0100
Subject: [PATCH] crossplane: moved tests to project repository (#9515)
Once https://github.com/crossplane/crossplane/pull/3671 all test cases
will have been moved to `crossplane/crossplane`, so we can switch the
build script to use that directly.
Signed-off-by: Philippe Scorsolini
Signed-off-by: Philippe Scorsolini
---
projects/crossplane/Dockerfile | 3 +--
projects/crossplane/build.sh | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/projects/crossplane/Dockerfile b/projects/crossplane/Dockerfile
index 4068bb84c..c6c0e7c96 100644
--- a/projects/crossplane/Dockerfile
+++ b/projects/crossplane/Dockerfile
@@ -15,7 +15,6 @@
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder-go
-RUN git clone --depth 1 https://github.com/crossplane/crossplane
-RUN git clone --depth 1 https://github.com/cncf/cncf-fuzzing
+RUN git clone --depth 1 https://github.com/crossplane/crossplane $SRC/crossplane
COPY build.sh $SRC/
WORKDIR $SRC/crossplane
diff --git a/projects/crossplane/build.sh b/projects/crossplane/build.sh
index 5ac52ac61..7048d8362 100644
--- a/projects/crossplane/build.sh
+++ b/projects/crossplane/build.sh
@@ -15,4 +15,4 @@
#
################################################################################
-$SRC/cncf-fuzzing/projects/crossplane/build.sh
+$SRC/crossplane/test/fuzz/oss_fuzz_build.sh