Skip to content

Commit 1b67f6f

Browse files
committed
📂 Update openshift specific files.
1 parent ffe604c commit 1b67f6f

File tree

35 files changed

+17425
-1
lines changed

35 files changed

+17425
-1
lines changed

openshift/ci-operator/build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
FROM registry.ci.openshift.org/ocp/4.17:cli-artifacts as tools
44

55
# Dockerfile to bootstrap build and test in openshift-ci
6-
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.19 as builder
6+
FROM registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19 as builder
77

88
ARG TARGETARCH
99

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/activator.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/activator
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/activator
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-activator-rhel8-container" \
26+
name="openshift-serverless-1/serving-activator-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Activator" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Activator" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Activator" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Activator" \
33+
io.openshift.tags="activator"
34+
35+
ENTRYPOINT ["/ko-app/activator"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/autoscaler-hpa.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/autoscaler-hpa
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/autoscaler-hpa
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-autoscaler-hpa-rhel8-container" \
26+
name="openshift-serverless-1/serving-autoscaler-hpa-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Autoscaler Hpa" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Autoscaler Hpa" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Autoscaler Hpa" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Autoscaler Hpa" \
33+
io.openshift.tags="autoscaler-hpa"
34+
35+
ENTRYPOINT ["/ko-app/autoscaler-hpa"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/autoscaler.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/autoscaler
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/autoscaler
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-autoscaler-rhel8-container" \
26+
name="openshift-serverless-1/serving-autoscaler-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Autoscaler" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Autoscaler" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Autoscaler" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Autoscaler" \
33+
io.openshift.tags="autoscaler"
34+
35+
ENTRYPOINT ["/ko-app/autoscaler"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for pkg/cleanup/cmd/cleanup.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./pkg/cleanup/cmd/cleanup
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/cleanup
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-cleanup-rhel8-container" \
26+
name="openshift-serverless-1/serving-cleanup-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Cleanup" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Cleanup" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Cleanup" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Cleanup" \
33+
io.openshift.tags="cleanup"
34+
35+
ENTRYPOINT ["/ko-app/cleanup"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/controller.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/controller
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/controller
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-controller-rhel8-container" \
26+
name="openshift-serverless-1/serving-controller-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Controller" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Controller" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Controller" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Controller" \
33+
io.openshift.tags="controller"
34+
35+
ENTRYPOINT ["/ko-app/controller"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/default-domain.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/default-domain
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/default-domain
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-default-domain-rhel8-container" \
26+
name="openshift-serverless-1/serving-default-domain-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Default Domain" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Default Domain" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Default Domain" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Default Domain" \
33+
io.openshift.tags="default-domain"
34+
35+
ENTRYPOINT ["/ko-app/default-domain"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/migrate
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-migrate-rhel8-container" \
26+
name="openshift-serverless-1/serving-migrate-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Migrate" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Migrate" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Migrate" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Migrate" \
33+
io.openshift.tags="migrate"
34+
35+
ENTRYPOINT ["/ko-app/migrate"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/queue.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/queue
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/queue
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-queue-rhel8-container" \
26+
name="openshift-serverless-1/serving-queue-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Queue" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Queue" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Queue" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Queue" \
33+
io.openshift.tags="queue"
34+
35+
ENTRYPOINT ["/ko-app/queue"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/schema-tweak.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/schema-tweak
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/schema-tweak
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-schema-tweak-rhel8-container" \
26+
name="openshift-serverless-1/serving-schema-tweak-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Schema Tweak" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Schema Tweak" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Schema Tweak" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Schema Tweak" \
33+
io.openshift.tags="schema-tweak"
34+
35+
ENTRYPOINT ["/ko-app/schema-tweak"]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT! Generated Dockerfile for cmd/webhook.
2+
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-9-release-golang-1.24-nofips-openshift-4.19
3+
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal
4+
5+
FROM $GO_BUILDER as builder
6+
7+
WORKDIR /workspace
8+
COPY . .
9+
10+
ENV CGO_ENABLED=1
11+
ENV GOEXPERIMENT=strictfipsruntime
12+
13+
RUN go build -tags strictfipsruntime -o /usr/bin/main ./cmd/webhook
14+
15+
FROM $GO_RUNTIME
16+
17+
ARG VERSION=knative-nightly
18+
19+
COPY --from=builder /usr/bin/main /ko-app/webhook
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-serving-webhook-rhel8-container" \
26+
name="openshift-serverless-1/serving-webhook-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Serving Webhook" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Serving Webhook" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Serving Webhook" \
32+
io.k8s.description="Red Hat OpenShift Serverless Serving Webhook" \
33+
io.openshift.tags="webhook"
34+
35+
ENTRYPOINT ["/ko-app/webhook"]

0 commit comments

Comments
 (0)