Skip to content

Commit

Permalink
📂 Update openshift specific files.
Browse files Browse the repository at this point in the history
  • Loading branch information
serverless-qe committed Nov 8, 2024
1 parent c13da73 commit fbe818f
Show file tree
Hide file tree
Showing 17 changed files with 676 additions and 244 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
generate:
./openshift/generate.sh
.PHONY: generate

generate-release: generate
.PHONY: generate

e2e-tests:
./openshift/install.sh
./openshift/e2e-tests.sh
.PHONY: e2e-tests
14 changes: 5 additions & 9 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# The OWNERS file is used by prow to automatically merge approved PRs.

approvers:
- technical-oversight-committee
- knative-release-leads
- eventing-wg-leads
- eventing-writers
- eventing-approvers

# Reviewers are suggested from the reviewers list first, then the approvers
# list. To add reviewers while spreading the load among existing approvers,
# copy the approvers to the reviewers list too.
# reviewers:
# TODO: fill in the owning WG
reviewers:
- eventing-reviewers
242 changes: 7 additions & 235 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -1,243 +1,15 @@
# This file is auto-generated from peribolos.
# Do not modify this file, instead modify peribolos/knative-extensions.yaml

aliases:
autoscaler-keda-approvers:
- ReToCode
- skonto
backstage-plugins-reviewers:
- aliok
- cali0707
- leo6leo
- pierdipi
backstage-plugins-writers:
- aliok
- cali0707
- leo6leo
- pierdipi
client-wg-leads:
- dsimansk
- rhuss
client-writers:
- dsimansk
- rhuss
discovery-approvers:
- lberk
docs-writers:
- csantanapr
- retocode
- skonto
eventing-autoscaler-keda-approvers: []
eventing-awssqs-approvers:
- lberk
- matzew
eventing-ceph-approvers:
- lberk
- matzew
eventing-couchdb-approvers:
- lberk
- lionelvillard
- matzew
eventing-github-approvers:
- lberk
- matzew
eventing-gitlab-approvers:
- lberk
- matzew
- sebgoa
eventing-kafka-approvers:
- aliok
- lberk
- matzew
- pierDipi
eventing-kafka-broker-approvers:
eventing-approvers:
- aliok
- matzew
- pierDipi
eventing-kafka-broker-reviewers:
- Leo6Leo
- cali0707
eventing-kafka-writers: []
eventing-natss-approvers:
- astelmashenko
- dan-j
eventing-prometheus-approvers:
- creydr
- lberk
- matzew
eventing-rabbitmq-approvers:
- ikavgo
- mkuratczyk
eventing-redis-approvers:
- aavarghese
- lionelvillard
- matzew
- mgencur
- pierdipi
- skonto
eventing-reviewers:
- Leo6Leo
- cali0707
- creydr
eventing-wg-leads:
- pierDipi
eventing-writers:
- Leo6Leo
- aliok
- cali0707
- creydr
- lionelvillard
- matzew
- pierDipi
func-tastic-approvers:
- lance
- lkingland
- matejvasek
- nainaz
- salaboy
functastic-writers:
- lance
- lkingland
- matejvasek
- matzew
- nainaz
- salaboy
function-runtime-approvers:
- lance
- lkingland
- matejvasek
- matzew
- nainaz
- salaboy
function-runtime-writers:
- lance
- lkingland
- matejvasek
- lberk
- matzew
- nainaz
- salaboy
homebrew-kn-plugins-approvers:
- dsimansk
- rhuss
kn-plugin-admin-approvers:
- dsimansk
- rhuss
kn-plugin-event-approvers:
- cardil
- rhuss
kn-plugin-operator-approvers:
- dsimansk
- houshengbo
- rhuss
kn-plugin-quickstart-approvers:
- dsimansk
- psschwei
- rhuss
kn-plugin-sample-approvers:
- dsimansk
- rhuss
kn-plugin-service-log-approvers:
- rhuss
kn-plugin-source-kafka-approvers:
- daisy-ycguo
- dsimansk
- rhuss
kn-plugin-source-kamelet-approvers:
- christophd
- rhuss
knative-admin:
- aliok
- cardil
- davidhadas
- dprotaso
- dsimansk
- evankanderson
- knative-automation
- knative-prow-releaser-robot
- knative-prow-robot
- knative-prow-updater-robot
- knative-test-reporter-robot
- nainaz
- psschwei
- salaboy
- upodroid
knative-release-leads: []
knative-robots:
- knative-automation
- knative-prow-releaser-robot
- knative-prow-robot
- knative-prow-updater-robot
- knative-test-reporter-robot
net-contour-approvers:
- KauzClay
- dprotaso
net-gateway-api-approvers:
- dprotaso
net-http01-approvers: []
net-istio-approvers:
- skonto
net-kourier-approvers:
- skonto
operations-wg-leads:
- houshengbo
operations-writers:
- dprotaso
- houshengbo
- upodroid
productivity-leads:
- cardil
- upodroid
productivity-wg-leads:
- cardil
- upodroid
productivity-writers:
- cardil
- upodroid
security-guard-approvers:
- davidhadas
- psschwei
- rhuss
security-wg-leads:
- davidhadas
- evankanderson
security-writers:
- davidhadas
- evankanderson
serving-approvers:
- ReToCode
- skonto
serving-progressive-rollout-approvers:
- alexagriffith
- houshengbo
- sukumargaonkar
- yuzisun
serving-reviewers:
- izabelacg
- retocode
- skonto
serving-triage:
- izabelacg
- retocode
- skonto
serving-wg-leads:
- dprotaso
serving-writers:
- ReToCode
- dprotaso
- skonto
steering-committee:
- aliok
- davidhadas
- dprotaso
- dsimansk
- evankanderson
- nainaz
- psschwei
- salaboy
technical-oversight-committee: []
ux-wg-leads:
- cali0707
- leo6leo
- mmejia02
- zainabhusain227
ux-writers:
- cali0707
- leo6leo
- mmejia02
- zainabhusain227
- pierdipi
26 changes: 26 additions & 0 deletions openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# DO NOT EDIT! Generated Dockerfile.

FROM registry.ci.openshift.org/ocp/4.17:cli-artifacts as tools

# Dockerfile to bootstrap build and test in openshift-ci
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder

ARG TARGETARCH

COPY --from=tools /usr/share/openshift/linux_$TARGETARCH/oc.rhel8 /usr/bin/oc

RUN ln -s /usr/bin/oc /usr/bin/kubectl

RUN yum install -y httpd-tools

RUN wget https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
chmod 700 ./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

# go install creates $GOPATH/.cache with root permissions, we delete it here
# to avoid permission issues with the runtime users
RUN rm -rf $GOPATH/.cache
34 changes: 34 additions & 0 deletions openshift/ci-operator/knative-images/controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# DO NOT EDIT! Generated Dockerfile for cmd/controller.
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

WORKDIR /go/src/cmd/controller
COPY . .

ENV CGO_ENABLED=1
ENV GOEXPERIMENT=strictfipsruntime

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

FROM $GO_RUNTIME

ARG VERSION=knative-nightly

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

USER 65532

LABEL \
com.redhat.component="openshift-serverless-1-eventing-istio-controller-rhel8-container" \
name="openshift-serverless-1/eventing-istio-controller-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
maintainer="serverless-support@redhat.com" \
description="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Istio Controller" \
io.k8s.description="Red Hat OpenShift Serverless Eventing Istio Controller" \
io.openshift.tags="controller"

ENTRYPOINT ["/usr/bin/controller"]
7 changes: 7 additions & 0 deletions openshift/ci-operator/source-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# DO NOT EDIT! Generated Dockerfile.

FROM src

RUN chmod +x vendor/k8s.io/code-generator/generate-groups.sh || true
RUN chmod +x vendor/knative.dev/pkg/hack/generate-knative.sh || true
RUN chmod +x vendor/k8s.io/code-generator/generate-internal-groups.sh || true
10 changes: 10 additions & 0 deletions openshift/e2e-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

repo_root_dir=$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..

export SKIP_INITIALIZE=true
export GOPATH=/tmp/go
export GOCACHE=/tmp/go-cache
export ARTIFACTS=${ARTIFACT_DIR:-$(mktemp -u -t -d)}

"${repo_root_dir}/test/e2e-tests.sh"
Loading

0 comments on commit fbe818f

Please sign in to comment.