Skip to content

Commit d6c9df7

Browse files
committed
📂 Update openshift specific files.
1 parent 7546d4f commit d6c9df7

17 files changed

+668
-234
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
generate:
2+
./openshift/generate.sh
3+
.PHONY: generate
4+
5+
generate-release: generate
6+
.PHONY: generate
7+
8+
e2e-tests:
9+
./openshift/install.sh
10+
./openshift/e2e-tests.sh
11+
.PHONY: e2e-tests

OWNERS

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1+
# The OWNERS file is used by prow to automatically merge approved PRs.
2+
13
approvers:
2-
- technical-oversight-committee
3-
- knative-release-leads
4-
- eventing-wg-leads
5-
- eventing-writers
4+
- eventing-approvers
65

7-
# Reviewers are suggested from the reviewers list first, then the approvers
8-
# list. To add reviewers while spreading the load among existing approvers,
9-
# copy the approvers to the reviewers list too.
10-
# reviewers:
11-
# TODO: fill in the owning WG
6+
reviewers:
7+
- eventing-reviewers

OWNERS_ALIASES

+7-225
Original file line numberDiff line numberDiff line change
@@ -1,233 +1,15 @@
1-
# This file is auto-generated from peribolos.
2-
# Do not modify this file, instead modify peribolos/knative-extensions.yaml
3-
41
aliases:
5-
autoscaler-keda-approvers:
6-
- skonto
7-
backstage-plugins-reviewers:
8-
- aliok
9-
- cali0707
10-
- leo6leo
11-
- pierdipi
12-
backstage-plugins-writers:
2+
eventing-approvers:
133
- aliok
14-
- cali0707
15-
- leo6leo
16-
- pierdipi
17-
client-wg-leads:
18-
- dsimansk
19-
- rhuss
20-
client-writers:
21-
- dsimansk
22-
- rhuss
23-
discovery-approvers:
24-
- lberk
25-
docs-writers:
26-
- csantanapr
27-
- skonto
28-
eventing-autoscaler-keda-approvers: []
29-
eventing-awssqs-approvers:
30-
- lberk
31-
- matzew
32-
eventing-ceph-approvers:
33-
- lberk
34-
- matzew
35-
eventing-couchdb-approvers:
36-
- lberk
37-
- lionelvillard
38-
- matzew
39-
eventing-github-approvers:
40-
- lberk
41-
- matzew
42-
eventing-gitlab-approvers:
43-
- lberk
44-
- matzew
45-
- sebgoa
46-
eventing-kafka-approvers:
47-
- aliok
48-
- lberk
49-
- matzew
50-
- pierDipi
51-
eventing-kafka-broker-approvers:
52-
- aliok
53-
- matzew
54-
- pierDipi
55-
eventing-kafka-broker-reviewers:
56-
- Leo6Leo
57-
- cali0707
58-
eventing-kafka-writers: []
59-
eventing-natss-approvers:
60-
- astelmashenko
61-
- dan-j
62-
eventing-prometheus-approvers:
4+
- creydr
635
- lberk
646
- matzew
65-
eventing-rabbitmq-approvers:
66-
- ikavgo
67-
- mkuratczyk
68-
eventing-redis-approvers:
69-
- aavarghese
70-
- lionelvillard
71-
- matzew
7+
- mgencur
8+
- pierdipi
9+
- skonto
7210
eventing-reviewers:
73-
- Leo6Leo
74-
- cali0707
75-
- creydr
76-
eventing-wg-leads:
77-
- pierDipi
78-
eventing-writers:
79-
- Leo6Leo
8011
- aliok
81-
- cali0707
8212
- creydr
83-
- lionelvillard
84-
- matzew
85-
- pierDipi
86-
func-tastic-approvers:
87-
- lance
88-
- lkingland
89-
- matejvasek
90-
- nainaz
91-
- salaboy
92-
functastic-writers:
93-
- lance
94-
- lkingland
95-
- matejvasek
96-
- matzew
97-
- nainaz
98-
- salaboy
99-
function-runtime-approvers:
100-
- lance
101-
- lkingland
102-
- matejvasek
103-
- matzew
104-
- nainaz
105-
- salaboy
106-
function-runtime-writers:
107-
- lance
108-
- lkingland
109-
- matejvasek
110-
- matzew
111-
- nainaz
112-
- salaboy
113-
homebrew-kn-plugins-approvers:
114-
- dsimansk
115-
- rhuss
116-
kn-plugin-admin-approvers:
117-
- dsimansk
118-
- rhuss
119-
kn-plugin-event-approvers:
120-
- cardil
121-
- rhuss
122-
kn-plugin-operator-approvers:
123-
- dsimansk
124-
- houshengbo
125-
- rhuss
126-
kn-plugin-quickstart-approvers:
127-
- dsimansk
128-
- rhuss
129-
kn-plugin-sample-approvers:
130-
- dsimansk
131-
- rhuss
132-
kn-plugin-service-log-approvers:
133-
- rhuss
134-
kn-plugin-source-kafka-approvers:
135-
- daisy-ycguo
136-
- dsimansk
137-
- rhuss
138-
kn-plugin-source-kamelet-approvers:
139-
- christophd
140-
- rhuss
141-
knative-admin:
142-
- aliok
143-
- cardil
144-
- dprotaso
145-
- dsimansk
146-
- evankanderson
147-
- knative-automation
148-
- knative-prow-releaser-robot
149-
- knative-prow-robot
150-
- knative-prow-updater-robot
151-
- knative-test-reporter-robot
152-
- matzew
153-
- nrrso
154-
- skonto
155-
- upodroid
156-
knative-release-leads:
157-
- dprotaso
158-
- dsimansk
159-
- skonto
160-
knative-robots:
161-
- knative-automation
162-
- knative-prow-releaser-robot
163-
- knative-prow-robot
164-
- knative-prow-updater-robot
165-
- knative-test-reporter-robot
166-
net-contour-approvers:
167-
- KauzClay
168-
- dprotaso
169-
net-gateway-api-approvers:
170-
- dprotaso
171-
net-http01-approvers: []
172-
net-istio-approvers:
173-
- skonto
174-
net-kourier-approvers:
175-
- skonto
176-
operations-wg-leads:
177-
- houshengbo
178-
operations-writers:
179-
- dprotaso
180-
- houshengbo
181-
- upodroid
182-
productivity-leads:
183-
- cardil
184-
- upodroid
185-
productivity-wg-leads:
186-
- cardil
187-
- upodroid
188-
productivity-writers:
189-
- cardil
190-
- upodroid
191-
security-guard-approvers:
192-
- davidhadas
193-
- rhuss
194-
security-wg-leads:
195-
- davidhadas
196-
- evankanderson
197-
security-writers:
198-
- davidhadas
199-
- evankanderson
200-
serving-approvers:
201-
- dsimansk
202-
- skonto
203-
serving-progressive-rollout-approvers:
204-
- alexagriffith
205-
- houshengbo
206-
- sukumargaonkar
207-
- yuzisun
208-
serving-reviewers:
209-
- skonto
210-
serving-triage:
211-
- skonto
212-
serving-wg-leads:
213-
- dprotaso
214-
serving-writers:
215-
- dprotaso
216-
- dsimansk
217-
- skonto
218-
steering-committee:
219-
- aliok
220-
- dprotaso
221-
- evankanderson
13+
- lberk
22214
- matzew
223-
- nrrso
224-
ux-wg-leads:
225-
- cali0707
226-
- leo6leo
227-
- mmejia02
228-
- zainabhusain227
229-
ux-writers:
230-
- cali0707
231-
- leo6leo
232-
- mmejia02
233-
- zainabhusain227
15+
- pierdipi
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# DO NOT EDIT! Generated Dockerfile.
2+
3+
FROM registry.ci.openshift.org/ocp/4.17:cli-artifacts as tools
4+
5+
# Dockerfile to bootstrap build and test in openshift-ci
6+
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder
7+
8+
ARG TARGETARCH
9+
10+
COPY --from=tools /usr/share/openshift/linux_$TARGETARCH/oc.rhel8 /usr/bin/oc
11+
12+
RUN ln -s /usr/bin/oc /usr/bin/kubectl
13+
14+
RUN yum install -y httpd-tools
15+
16+
RUN wget https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
17+
chmod 700 ./get-helm-3
18+
19+
RUN ./get-helm-3 --version v3.11.3 --no-sudo && helm version
20+
21+
RUN GOFLAGS='' go install github.com/mikefarah/yq/v3@latest
22+
RUN GOFLAGS='' go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/[email protected]
23+
24+
# go install creates $GOPATH/.cache with root permissions, we delete it here
25+
# to avoid permission issues with the runtime users
26+
RUN rm -rf $GOPATH/.cache
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-8-release-golang-1.22-openshift-4.17
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 /usr/bin/controller
20+
COPY LICENSE /licenses/
21+
22+
USER 65532
23+
24+
LABEL \
25+
com.redhat.component="openshift-serverless-1-eventing-istio-controller-rhel8-container" \
26+
name="openshift-serverless-1/eventing-istio-controller-rhel8" \
27+
version=$VERSION \
28+
summary="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
29+
maintainer="[email protected]" \
30+
description="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
31+
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
32+
io.k8s.description="Red Hat OpenShift Serverless Eventing Istio Controller" \
33+
io.openshift.tags="controller"
34+
35+
ENTRYPOINT ["/usr/bin/controller"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# DO NOT EDIT! Generated Dockerfile.
2+
3+
FROM src
4+
5+
RUN chmod +x vendor/k8s.io/code-generator/generate-groups.sh || true
6+
RUN chmod +x vendor/knative.dev/pkg/hack/generate-knative.sh || true
7+
RUN chmod +x vendor/k8s.io/code-generator/generate-internal-groups.sh || true

openshift/e2e-tests.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
3+
repo_root_dir=$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..
4+
5+
export SKIP_INITIALIZE=true
6+
export GOPATH=/tmp/go
7+
export GOCACHE=/tmp/go-cache
8+
export ARTIFACTS=${ARTIFACT_DIR:-$(mktemp -u -t -d)}
9+
10+
"${repo_root_dir}/test/e2e-tests.sh"

0 commit comments

Comments
 (0)