forked from knative-extensions/eventing-kafka-broker
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d1856d
commit e40a256
Showing
86 changed files
with
13,318 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Multiarch builds | ||
|
||
on: | ||
push: | ||
branches: ['release-v*'] | ||
|
||
jobs: | ||
multiarch-build: | ||
uses: openshift-knative/hack/.github/workflows/multiarch-build.yaml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Use :nonroot base image for all containers | ||
defaultBaseImage: gcr.io/distroless/static:nonroot | ||
defaultBaseImage: registry.access.redhat.com/ubi8/ubi-minimal:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# This file is needed by kubebuilder but all functionality should exist inside | ||
# the hack/ files. | ||
|
||
CGO_ENABLED=0 | ||
GOOS=linux | ||
# Ignore errors if there are no images. | ||
CONTROL_PLANE_IMAGES=./control-plane/cmd/kafka-controller ./control-plane/cmd/webhook-kafka ./control-plane/cmd/post-install | ||
TEST_IMAGES=$(shell find ./test/cmd ./test/test_images ./vendor/knative.dev/reconciler-test/cmd ./vendor/knative.dev/eventing/test/test_images -mindepth 1 -maxdepth 1 -type d 2> /dev/null) | ||
BRANCH= | ||
TEST= | ||
IMAGE= | ||
TEST_IMAGE_TAG ?= latest | ||
|
||
# Guess location of openshift/release repo. NOTE: override this if it is not correct. | ||
OPENSHIFT=${CURDIR}/../../github.com/openshift/release | ||
|
||
# Build and install commands. | ||
install: | ||
for img in $(CONTROL_PLANE_IMAGES); do \ | ||
go install $$img ; \ | ||
done | ||
.PHONY: install | ||
|
||
test-install: | ||
for img in $(TEST_IMAGES); do \ | ||
go install $$img ; \ | ||
done | ||
.PHONY: test-install | ||
|
||
test-e2e: | ||
openshift/e2e-tests.sh | ||
.PHONY: test-e2e | ||
|
||
test-conformance: | ||
openshift/e2e-conformance-tests.sh | ||
.PHONY: test-conformance | ||
|
||
test-reconciler: | ||
openshift/e2e-rekt-tests.sh | ||
.PHONY: test-reconciler | ||
|
||
test-reconciler-keda: | ||
INSTALL_KEDA="true" openshift/e2e-rekt-tests.sh | ||
.PHONY: test-reconciler-keda | ||
|
||
test-reconciler-encryption-auth: | ||
openshift/e2e-rekt-encryption-auth-tests.sh | ||
.PHONY: test-reconciler | ||
|
||
# Requires ko 0.2.0 or newer. | ||
# Target used by github actions. | ||
test-images: | ||
for img in $(TEST_IMAGES); do \ | ||
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko build --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -B $$img || \ | ||
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko resolve --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -RBf $$img || exit $?; \ | ||
done | ||
.PHONY: test-images | ||
|
||
test-image-single: | ||
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko build --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -B test/test_images/$(IMAGE) || \ | ||
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko resolve --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -RBf test/test_images/$(IMAGE) | ||
.PHONY: test-image-single | ||
|
||
# Run make DOCKER_REPO_OVERRIDE=<your_repo> test-e2e-local if test images are available | ||
# in the given repository. Make sure you first build and push them there by running `make test-images`. | ||
# Run make BRANCH=<ci_promotion_name> test-e2e-local if test images from the latest CI | ||
# build for this branch should be used. Example: `make BRANCH=knative-v0.14.2 test-e2e-local`. | ||
# If neither DOCKER_REPO_OVERRIDE nor BRANCH are defined the tests will use test images | ||
# from the last nightly build. | ||
# If TEST is defined then only the single test will be run. | ||
test-e2e-local: | ||
./openshift/e2e-tests-local.sh $(TEST) | ||
.PHONY: test-e2e-local | ||
|
||
# Generate an aggregated knative release yaml file, as well as a CI file with replaced image references | ||
generate-release: | ||
./openshift/release/generate-release.sh $(RELEASE) | ||
.PHONY: generate-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# Sponsored by the Event Delivery WG | ||
# At least one WG lead from https://github.com/knative/community/blob/master/working-groups/WORKING-GROUPS.md#event-delivery | ||
# must be in the "approvers" list. | ||
# The OWNERS file is used by prow to automatically merge approved PRs. | ||
|
||
approvers: | ||
- technical-oversight-committee | ||
- knative-release-leads | ||
- eventing-writers | ||
- eventing-kafka-broker-approvers | ||
- alanfx | ||
- aliok | ||
- creydr | ||
- lberk | ||
- matzew | ||
- mgencur | ||
- pierDipi | ||
- warrenvw | ||
|
||
reviewers: | ||
- eventing-writers | ||
- eventing-kafka-broker-approvers | ||
- eventing-kafka-broker-reviewers | ||
- aliok | ||
- creydr | ||
- lberk | ||
- matzew | ||
- pierDipi |
59 changes: 0 additions & 59 deletions
59
control-plane/config/eventing-kafka-broker/200-controller/100-config-tracing.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -195,6 +195,4 @@ spec: | |
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
restartPolicy: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,8 +89,6 @@ spec: | |
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
|
||
ports: | ||
- name: https-webhook | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,4 @@ spec: | |
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault | ||
restartPolicy: Always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,5 +51,3 @@ spec: | |
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,5 +51,3 @@ spec: | |
capabilities: | ||
drop: | ||
- ALL | ||
seccompProfile: | ||
type: RuntimeDefault |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | ||
|
||
# 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 |
Oops, something went wrong.