mirror of https://github.com/google/oss-fuzz.git
[fluxcd] Add outstanding repositories (#7277)
Flux is made of multiple repositories, this PR extends the Fuzz coverage to: - pkg - notification-controller - kustomize-controller - helm-controller - image-reflector-controller - source-controller - image-automation-controller Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
parent
16c9c2ded6
commit
1b04483c48
|
@ -19,10 +19,11 @@ FROM gcr.io/oss-fuzz-base/base-builder-go
|
|||
ENV PROJECT_ROOT="${GOPATH:-/root/go}/src/github.com/fluxcd"
|
||||
|
||||
RUN mkdir -p "${PROJECT_ROOT}"
|
||||
RUN git clone --depth 1 https://github.com/fluxcd/notification-controller \
|
||||
"${PROJECT_ROOT}/notification-controller"
|
||||
RUN git clone --depth 1 https://github.com/fluxcd/pkg \
|
||||
"${PROJECT_ROOT}/pkg"
|
||||
|
||||
# Flux has its components scattered around multiple repositories due to its architecture.
|
||||
# Here we clone all of them. The build process happens as build.sh iterate over each one of them.
|
||||
ARG REPOSITORIES="pkg notification-controller kustomize-controller helm-controller image-reflector-controller source-controller image-automation-controller"
|
||||
RUN for repo in ${REPOSITORIES}; do git clone --depth 1 "https://github.com/fluxcd/${repo}" "${PROJECT_ROOT}/${repo}"; done
|
||||
|
||||
COPY build.sh $SRC/
|
||||
WORKDIR $SRC
|
||||
|
|
Loading…
Reference in New Issue