Skip to content

Commit 61321b2

Browse files
committed
📂 Update openshift specific files.
1 parent 6810236 commit 61321b2

35 files changed

+1546
-128
lines changed

Makefile

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#This makefile is used by ci-operator
2+
3+
CGO_ENABLED=0
4+
GOOS=linux
5+
CORE_IMAGES=$(shell find ./cmd -name main.go ! -path "./cmd/broker/*" ! -path "./cmd/mtbroker/*" | sed 's|/main.go||') ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate ./vendor/knative.dev/pkg/leaderelection/chaosduck
6+
TEST_IMAGES=$(shell find ./test/test_images -mindepth 1 -maxdepth 1 -type d) ./vendor/knative.dev/reconciler-test/cmd/eventshub ./cmd/heartbeats
7+
BRANCH=
8+
TEST=
9+
IMAGE=
10+
TEST_IMAGE_TAG ?= latest
11+
12+
# Guess location of openshift/release repo. NOTE: override this if it is not correct.
13+
OPENSHIFT=${CURDIR}/../../github.com/openshift/release
14+
15+
install:
16+
for img in $(CORE_IMAGES); do \
17+
go install $$img ; \
18+
done
19+
go build -o $(GOPATH)/bin/mtbroker_ingress ./cmd/broker/ingress/
20+
go build -o $(GOPATH)/bin/mtbroker_filter ./cmd/broker/filter/
21+
go build -o $(GOPATH)/bin/storage_version_migration ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate
22+
.PHONY: install
23+
24+
test-install:
25+
for img in $(TEST_IMAGES); do \
26+
go install $$img ; \
27+
done
28+
.PHONY: test-install
29+
30+
test-e2e:
31+
openshift/e2e-tests.sh
32+
.PHONY: test-e2e
33+
34+
test-conformance:
35+
openshift/e2e-conformance-tests.sh
36+
.PHONY: test-conformance
37+
38+
test-reconciler:
39+
openshift/e2e-rekt-tests.sh
40+
.PHONY: test-reconciler
41+
42+
test-experimental:
43+
openshift/e2e-experimental-tests.sh
44+
.PHONY: test-experimental
45+
46+
test-encryption-auth-e2e:
47+
openshift/e2e-encryption-auth-tests.sh
48+
.PHONY: test-encryption-auth-e2e
49+
50+
# Target used by github actions.
51+
test-images:
52+
for img in $(TEST_IMAGES); do \
53+
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko build --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -B $$img || \
54+
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko resolve --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -RBf $$img || exit $?; \
55+
done
56+
.PHONY: test-images
57+
58+
test-image-single:
59+
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko build --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -B test/test_images/$(IMAGE) || \
60+
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko resolve --tags=$(TEST_IMAGE_TAG) $(KO_FLAGS) -RBf test/test_images/$(IMAGE)
61+
.PHONY: test-image-single
62+
63+
# Run make DOCKER_REPO_OVERRIDE=<your_repo> test-e2e-local if test images are available
64+
# in the given repository. Make sure you first build and push them there by running `make test-images`.
65+
# Run make BRANCH=<ci_promotion_name> test-e2e-local if test images from the latest CI
66+
# build for this branch should be used. Example: `make BRANCH=knative-v0.14.2 test-e2e-local`.
67+
# If neither DOCKER_REPO_OVERRIDE nor BRANCH are defined the tests will use test images
68+
# from the last nightly build.
69+
# If TEST is defined then only the single test will be run.
70+
test-e2e-local:
71+
./openshift/e2e-tests-local.sh $(TEST)
72+
.PHONY: test-e2e-local
73+
74+
# Generate an aggregated knative release yaml file, as well as a CI file with replaced image references
75+
generate-release:
76+
./openshift/release/generate-release.sh
77+
.PHONY: generate-release

OWNERS

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
# Approvers in this repo should also be added to the eventing-contrib
2-
# approvers list.
1+
# The OWNERS file is used by prow to automatically merge approved PRs.
2+
3+
# DO NOT EDIT! File generated via https://github.com/openshift-knative/hack/tree/main/config.
4+
35
approvers:
4-
- technical-oversight-committee
5-
- eventing-writers
6-
- knative-release-leads
6+
- aliok
7+
- Cali0707
8+
- creydr
9+
- Kaustubh-pande
10+
- lberk
11+
- matzew
12+
- rudyredhat1
13+
- twoGiants
714

8-
# Reviewers are suggested from the reviewers list first, then the approvers
9-
# list. To add reviewers while spreading the load among existing approvers,
10-
# copy the approvers to the reviewers list too.
1115
reviewers:
12-
- eventing-writers
13-
- eventing-reviewers
16+
- aliok
17+
- Cali0707
18+
- creydr
19+
- lberk
20+
- matzew

OWNERS_ALIASES

Lines changed: 9 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,17 @@
1-
# This file is auto-generated from peribolos.
2-
# Do not modify this file, instead modify peribolos/knative.yaml
3-
41
aliases:
5-
client-reviewers: []
6-
client-wg-leads:
7-
- dsimansk
8-
client-writers:
9-
- dsimansk
10-
docs-reviewers:
11-
- nainaz
12-
- skonto
13-
docs-writers:
14-
- skonto
15-
eventing-reviewers:
16-
- Leo6Leo
17-
- aslom
18-
- cali0707
19-
- creydr
20-
eventing-wg-leads:
21-
- creydr
22-
- pierDipi
23-
eventing-writers:
24-
- Leo6Leo
2+
eventing-approvers:
3+
- alanfx
254
- aliok
26-
- cali0707
275
- creydr
6+
- jcrossley3
7+
- lberk
288
- matzew
29-
- pierDipi
30-
func-reviewers:
31-
- jrangelramos
32-
- nainaz
33-
func-writers:
34-
- gauron99
35-
- jrangelramos
36-
- lkingland
37-
- matejvasek
38-
- matzew
39-
- salaboy
40-
functions-wg-leads:
41-
- lkingland
42-
- salaboy
43-
knative-admin:
44-
- aliok
45-
- arsenetar
46-
- cardil
47-
- dprotaso
48-
- dsimansk
49-
- evankanderson
50-
- gauron99
51-
- knative-automation
52-
- knative-prow-releaser-robot
53-
- knative-prow-robot
54-
- knative-prow-updater-robot
55-
- knative-test-reporter-robot
56-
- linkvt
57-
- matzew
58-
- upodroid
59-
knative-release-leads:
60-
- dprotaso
61-
- dsimansk
62-
- gauron99
63-
- linkvt
64-
knative-robots:
65-
- knative-automation
66-
- knative-prow-releaser-robot
67-
- knative-prow-robot
68-
- knative-prow-updater-robot
69-
- knative-test-reporter-robot
70-
operations-reviewers:
71-
- aliok
72-
- houshengbo
73-
- matzew
74-
operations-wg-leads:
75-
- houshengbo
76-
operations-writers:
77-
- aliok
78-
- houshengbo
79-
- matzew
80-
productivity-leads:
81-
- cardil
82-
- upodroid
83-
productivity-reviewers:
84-
- evankanderson
859
- mgencur
86-
productivity-wg-leads:
87-
- cardil
88-
- upodroid
89-
productivity-writers:
90-
- cardil
91-
- upodroid
92-
security-wg-leads:
93-
- davidhadas
94-
- evankanderson
95-
security-writers:
96-
- davidhadas
97-
- evankanderson
98-
serving-approvers:
99-
- dsimansk
100-
- skonto
101-
serving-reviewers:
10+
- pierdipi
10211
- skonto
103-
serving-triage:
104-
- skonto
105-
serving-wg-leads:
106-
- dprotaso
107-
serving-writers:
108-
- dprotaso
109-
- dsimansk
110-
- skonto
111-
steering-committee:
12+
eventing-reviewers:
11213
- aliok
113-
- arsenetar
114-
- dprotaso
115-
- evankanderson
14+
- creydr
15+
- lberk
11616
- matzew
117-
ux-wg-leads:
118-
- Leo6Leo
119-
- cali0707
120-
- mmejia02
121-
- zainabhusain227
122-
ux-writers:
123-
- Leo6Leo
124-
- cali0707
125-
- mmejia02
126-
- zainabhusain227
17+
- pierdipi

0 commit comments

Comments
 (0)