Fix bug in move to internal (#1964)

Co-authored-by: Azeem Shaikh <azeems@google.com>
This commit is contained in:
Azeem Shaikh 2022-05-26 10:13:04 -07:00 committed by GitHub
parent 3e2c0fa1f8
commit a30bd749cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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"]

View File

@ -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

View File

@ -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: