Skip to content

Commit

Permalink
Run make generate-release
Browse files Browse the repository at this point in the history
  • Loading branch information
serverless-qe committed Jan 17, 2025
1 parent d301bae commit 30bd450
Show file tree
Hide file tree
Showing 33 changed files with 139 additions and 7 deletions.
2 changes: 1 addition & 1 deletion openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN wget https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 &&
RUN ./get-helm-3 --version v3.11.3 --no-sudo && helm version

RUN GOFLAGS='' go install github.com/mikefarah/yq/v3@latest
RUN GOFLAGS='' go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/skopeo@v1.16.1
RUN GOFLAGS='' go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/skopeo@v1.17.0

# go install creates $GOPATH/.cache with root permissions, we delete it here
# to avoid permission issues with the runtime users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/apiserver_receive_adapter
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/appender/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/appender
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/channel_controller
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/channel_dispatcher
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/controller
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/event_display/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/event_display
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/filter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/filter
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/heartbeats/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/heartbeats
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/heartbeats_receiver
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/ingress/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/ingress
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/jobsink/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/jobsink
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/migrate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/migrate
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/mqttsource/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/mqttsource
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/mtchannel_broker
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/mtping/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/mtping
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/pong/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/pong
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/schema/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/schema
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-images/webhook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/webhook
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/websocketsource
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/event-sender
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/eventshub
COPY LICENSE /licenses/

USER 65532

Expand Down
2 changes: 2 additions & 0 deletions openshift/ci-operator/knative-test-images/print/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/print
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/recordevents
COPY LICENSE /licenses/

USER 65532

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

WORKDIR /workspace
COPY . .

ENV CGO_ENABLED=1
Expand All @@ -17,6 +18,7 @@ ARG VERSION=knative-v1.16
RUN microdnf update tzdata -y && microdnf reinstall tzdata -y

COPY --from=builder /usr/bin/main /usr/bin/request-sender
COPY LICENSE /licenses/

USER 65532

Expand Down
Loading

0 comments on commit 30bd450

Please sign in to comment.