Skip to content

Commit

Permalink
Run make generate-release (#1165)
Browse files Browse the repository at this point in the history
Co-authored-by: mgencur <[email protected]>
Co-authored-by: Pierangelo Di Pilato <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2024
1 parent 891b910 commit 2482224
Show file tree
Hide file tree
Showing 21 changed files with 462 additions and 168 deletions.
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/event_display/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/eventing/cmd/event_display.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p vendor/knative.dev/eventing/cmd/event_display/kodata && \
go build -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/event_display && \
cp -r vendor/knative.dev/eventing/cmd/event_display/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/event_display

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-event-display-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-event-display-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/heartbeats/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/eventing/cmd/heartbeats.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p vendor/knative.dev/eventing/cmd/heartbeats/kodata && \
go build -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/heartbeats && \
cp -r vendor/knative.dev/eventing/cmd/heartbeats/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/heartbeats

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-heartbeats-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-heartbeats-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/kafka-controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/kafka-controller.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p control-plane/cmd/kafka-controller/kodata && \
go build -o /usr/bin/main ./control-plane/cmd/kafka-controller && \
cp -r control-plane/cmd/kafka-controller/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/kafka-controller

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-kafka-controller-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-kafka-controller-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller"

ENTRYPOINT ["/usr/bin/main"]
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/kafka-source-controller.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p control-plane/cmd/kafka-source-controller/kodata && \
go build -o /usr/bin/main ./control-plane/cmd/kafka-source-controller && \
cp -r control-plane/cmd/kafka-source-controller/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/kafka-source-controller

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-kafka-source-controller-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-kafka-source-controller-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/migrate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate/kodata && \
go build -o /usr/bin/main ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate && \
cp -r vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-migrate-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-migrate-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/post-install/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/post-install.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p control-plane/cmd/post-install/kodata && \
go build -o /usr/bin/main ./control-plane/cmd/post-install && \
cp -r control-plane/cmd/post-install/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/post-install

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-post-install-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-post-install-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/webhook-kafka/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/webhook-kafka.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p control-plane/cmd/webhook-kafka/kodata && \
go build -o /usr/bin/main ./control-plane/cmd/webhook-kafka && \
cp -r control-plane/cmd/webhook-kafka/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/webhook-kafka

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-webhook-kafka-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-webhook-kafka-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka"

ENTRYPOINT ["/usr/bin/main"]
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for test/test_images/committed-offset.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p test/test_images/committed-offset/kodata && \
go build -o /usr/bin/main ./test/test_images/committed-offset && \
cp -r test/test_images/committed-offset/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./test/test_images/committed-offset

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-test-test-images-committed-offset-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-test-test-images-committed-offset-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Committed Offset" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Committed Offset" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Committed Offset"

ENTRYPOINT ["/usr/bin/main"]
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for test/test_images/consumer-group-lag-provider-test.
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal

FROM $GO_BUILDER as builder

COPY . .

RUN mkdir -p /var/run/ko && \
mkdir -p test/test_images/consumer-group-lag-provider-test/kodata && \
go build -o /usr/bin/main ./test/test_images/consumer-group-lag-provider-test && \
cp -r test/test_images/consumer-group-lag-provider-test/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./test/test_images/consumer-group-lag-provider-test

FROM $GO_RUNTIME

FROM registry.access.redhat.com/ubi8/ubi-minimal
ARG VERSION=knative-v1.15

# install the missing zoneinfo to ubi-minimal
# Install zoneinfo.
RUN microdnf install tzdata

USER 65532

COPY --from=builder /usr/bin/main /usr/bin/main
COPY --from=builder /var/run/ko /var/run/ko

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-test-test-images-consumer-group-lag-provider-test-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-test-test-images-consumer-group-lag-provider-test-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Consumer Group Lag Provider Test" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Consumer Group Lag Provider Test" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Test Test Images Consumer Group Lag Provider Test"

ENTRYPOINT ["/usr/bin/main"]
Loading

0 comments on commit 2482224

Please sign in to comment.