Skip to content

Commit ae22dfd

Browse files
committed
📂 Update openshift specific files.
1 parent 7c56dca commit ae22dfd

35 files changed

+1546
-126
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 & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +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-
func-writers:
33-
- gauron99
34-
- jrangelramos
35-
- lkingland
36-
- matejvasek
37-
- matzew
38-
- salaboy
39-
functions-wg-leads:
40-
- lkingland
41-
- salaboy
42-
knative-admin:
43-
- aliok
44-
- arsenetar
45-
- cardil
46-
- dprotaso
47-
- dsimansk
48-
- evankanderson
49-
- knative-automation
50-
- knative-prow-releaser-robot
51-
- knative-prow-robot
52-
- knative-prow-updater-robot
53-
- knative-test-reporter-robot
54-
- matzew
55-
- upodroid
56-
knative-release-leads:
57-
- dprotaso
58-
- dsimansk
59-
knative-robots:
60-
- knative-automation
61-
- knative-prow-releaser-robot
62-
- knative-prow-robot
63-
- knative-prow-updater-robot
64-
- knative-test-reporter-robot
65-
operations-reviewers:
66-
- aliok
67-
- houshengbo
68-
- matzew
69-
operations-wg-leads:
70-
- houshengbo
71-
operations-writers:
72-
- aliok
73-
- houshengbo
74-
- matzew
75-
productivity-leads:
76-
- cardil
77-
- upodroid
78-
productivity-reviewers:
79-
- evankanderson
809
- mgencur
81-
productivity-wg-leads:
82-
- cardil
83-
- upodroid
84-
productivity-writers:
85-
- cardil
86-
- upodroid
87-
security-wg-leads:
88-
- davidhadas
89-
- evankanderson
90-
security-writers:
91-
- davidhadas
92-
- evankanderson
93-
serving-approvers:
94-
- dsimansk
95-
- skonto
96-
serving-reviewers:
10+
- pierdipi
9711
- skonto
98-
serving-triage:
99-
- skonto
100-
serving-wg-leads:
101-
- dprotaso
102-
serving-writers:
103-
- dprotaso
104-
- dsimansk
105-
- skonto
106-
steering-committee:
12+
eventing-reviewers:
10713
- aliok
108-
- arsenetar
109-
- dprotaso
110-
- evankanderson
14+
- creydr
15+
- lberk
11116
- matzew
112-
ux-approvers:
113-
- prajjwalyd
114-
ux-wg-leads:
115-
- Leo6Leo
116-
- cali0707
117-
- mmejia02
118-
- zainabhusain227
119-
ux-writers:
120-
- Leo6Leo
121-
- cali0707
122-
- mmejia02
123-
- prajjwalyd
124-
- zainabhusain227
17+
- pierdipi

0 commit comments

Comments
 (0)