Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fluxcd] Add outstanding repositories #7277

Merged
merged 1 commit into from
Feb 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions projects/fluxcd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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