mirror of https://github.com/google/oss-fuzz.git
[kOps] Initial integration (#4729)
* [teleport] Initial integration * Minor update to run tests again * [Kops] Initial integration * Minor adjustment * Run tests again * Removed comment * --depth'ed cloning of two repositories
This commit is contained in:
parent
ca4fe7678b
commit
32ef0b191c
|
@ -17,8 +17,10 @@
|
|||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
|
||||
RUN go get github.com/ianlancetaylor/demangle
|
||||
RUN git clone --depth 1 https://github.com/kubernetes/kubernetes.git $GOPATH/src/k8s.io/kubernetes
|
||||
RUN git clone --depth 1 https://github.com/kubernetes/kubernetes.git
|
||||
RUN git clone --depth 1 https://github.com/google/AFL
|
||||
RUN git clone --depth 1 https://github.com/dvyukov/go-fuzz-corpus
|
||||
RUN go get k8s.io/kops
|
||||
WORKDIR $SRC/
|
||||
|
||||
WORKDIR $GOPATH/src/k8s.io/kubernetes
|
||||
|
||||
COPY build.sh $SRC/build.sh
|
||||
COPY build.sh $SRC/
|
||||
|
|
|
@ -20,6 +20,13 @@ set -o pipefail
|
|||
set -o errexit
|
||||
set -x
|
||||
|
||||
# Compile kOps fuzzers
|
||||
$GOPATH/src/k8s.io/kops/tests/fuzz/build.sh
|
||||
|
||||
|
||||
# Compile Kubernetes fuzzers
|
||||
mv $SRC/kubernetes $GOPATH/src/k8s.io/
|
||||
|
||||
function compile_fuzzer {
|
||||
local pkg=$1
|
||||
local function=$2
|
||||
|
|
Loading…
Reference in New Issue