mirror of
https://github.com/ossf/scorecard.git
synced 2024-11-04 03:52:31 +03:00
Fix bug in move to internal
(#1964)
Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
parent
3e2c0fa1f8
commit
a30bd749cb
@ -31,7 +31,7 @@ ARG TARGETARCH
|
|||||||
RUN CGO_ENABLED=0 make build-controller
|
RUN CGO_ENABLED=0 make build-controller
|
||||||
|
|
||||||
FROM gcr.io/distroless/base:nonroot@sha256:d65ac1a65a4d82a48ebd0a22aea2acdd95d7abeeda245dfee932ec0018c781f4
|
FROM gcr.io/distroless/base:nonroot@sha256:d65ac1a65a4d82a48ebd0a22aea2acdd95d7abeeda245dfee932ec0018c781f4
|
||||||
COPY ./cron/internal/data/projects*csv cron/data/
|
COPY ./cron/internal/data/projects*csv cron/internal/data/
|
||||||
COPY --from=shuffle /src/cron/internal/data/projects.release.csv cron/internal/data/projects.release.csv
|
COPY --from=shuffle /src/cron/internal/data/projects.release.csv cron/internal/data/projects.release.csv
|
||||||
COPY --from=controller /src/cron/internal/controller/controller cron/internal/controller/controller
|
COPY --from=controller /src/cron/internal/controller/controller cron/internal/controller/controller
|
||||||
ENTRYPOINT ["cron/internal/controller/controller"]
|
ENTRYPOINT ["cron/internal/controller/controller"]
|
||||||
|
@ -52,7 +52,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
image: gcr.io/openssf/scorecard-batch-controller:latest
|
image: gcr.io/openssf/scorecard-batch-controller:latest
|
||||||
args: ["cron/data/projects.release.csv"]
|
args: ["cron/internal/data/projects.release.csv"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: SCORECARD_REQUEST_TOPIC_URL
|
- name: SCORECARD_REQUEST_TOPIC_URL
|
||||||
|
@ -52,7 +52,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: controller
|
- name: controller
|
||||||
image: gcr.io/openssf/scorecard-batch-controller:stable
|
image: gcr.io/openssf/scorecard-batch-controller:stable
|
||||||
args: ["cron/data/projects.csv"]
|
args: ["cron/internal/data/projects.csv"]
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
Loading…
Reference in New Issue
Block a user