Skip to content

Commit

Permalink
Run make generate-release (#780)
Browse files Browse the repository at this point in the history
Co-authored-by: mgencur <[email protected]>
  • Loading branch information
serverless-qe and mgencur authored Sep 3, 2024
1 parent 9945cd3 commit 0864ebe
Show file tree
Hide file tree
Showing 29 changed files with 619 additions and 224 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/apiserver_receive_adapter.
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 cmd/apiserver_receive_adapter/kodata && \
go build -o /usr/bin/main ./cmd/apiserver_receive_adapter && \
cp -r cmd/apiserver_receive_adapter/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/apiserver_receive_adapter

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-apiserver-receive-adapter-rhel8-container" \
name="openshift-serverless-1/eventing-apiserver-receive-adapter-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Apiserver Receive Adapter"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/appender/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/appender.
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 cmd/appender/kodata && \
go build -o /usr/bin/main ./cmd/appender && \
cp -r cmd/appender/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/appender

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-appender-rhel8-container" \
name="openshift-serverless-1/eventing-appender-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Appender" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Appender" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Appender"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/channel_controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/in_memory/channel_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 cmd/in_memory/channel_controller/kodata && \
go build -o /usr/bin/main ./cmd/in_memory/channel_controller && \
cp -r cmd/in_memory/channel_controller/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/in_memory/channel_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-in-memory-channel-controller-rhel8-container" \
name="openshift-serverless-1/eventing-in-memory-channel-controller-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Controller"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/channel_dispatcher/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/in_memory/channel_dispatcher.
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 cmd/in_memory/channel_dispatcher/kodata && \
go build -o /usr/bin/main ./cmd/in_memory/channel_dispatcher && \
cp -r cmd/in_memory/channel_dispatcher/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/in_memory/channel_dispatcher

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-in-memory-channel-dispatcher-rhel8-container" \
name="openshift-serverless-1/eventing-in-memory-channel-dispatcher-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing In Memory Channel Dispatcher"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/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 cmd/controller/kodata && \
go build -o /usr/bin/main ./cmd/controller && \
cp -r cmd/controller/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/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-controller-rhel8-container" \
name="openshift-serverless-1/eventing-controller-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Controller" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Controller" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Controller"

ENTRYPOINT ["/usr/bin/main"]
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 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 cmd/event_display/kodata && \
go build -o /usr/bin/main ./cmd/event_display && \
cp -r cmd/event_display/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./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-event-display-rhel8-container" \
name="openshift-serverless-1/eventing-event-display-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Event Display" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Event Display" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Event Display"

ENTRYPOINT ["/usr/bin/main"]
30 changes: 22 additions & 8 deletions openshift/ci-operator/knative-images/filter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/broker/filter.
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 cmd/broker/filter/kodata && \
go build -o /usr/bin/main ./cmd/broker/filter && \
cp -r cmd/broker/filter/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/broker/filter

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-broker-filter-rhel8-container" \
name="openshift-serverless-1/eventing-broker-filter-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Broker Filter" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Broker Filter" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Broker Filter"

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 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 cmd/heartbeats/kodata && \
go build -o /usr/bin/main ./cmd/heartbeats && \
cp -r cmd/heartbeats/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./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-heartbeats-rhel8-container" \
name="openshift-serverless-1/eventing-heartbeats-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Heartbeats" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Heartbeats" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Heartbeats"

ENTRYPOINT ["/usr/bin/main"]
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/heartbeats_receiver.
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 cmd/heartbeats_receiver/kodata && \
go build -o /usr/bin/main ./cmd/heartbeats_receiver && \
cp -r cmd/heartbeats_receiver/kodata /var/run/ko
ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/heartbeats_receiver

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-heartbeats-receiver-rhel8-container" \
name="openshift-serverless-1/eventing-heartbeats-receiver-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver" \
maintainer="[email protected]" \
description="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Heartbeats Receiver"

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

0 comments on commit 0864ebe

Please sign in to comment.