Skip to content

Commit

Permalink
Add openshift specific files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Mar 29, 2022
1 parent 530841f commit 1bf43a2
Show file tree
Hide file tree
Showing 24 changed files with 1,062 additions and 218 deletions.
71 changes: 71 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#This makefile is used by ci-operator

# Copyright 2019 The OpenShift Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

CGO_ENABLED=0
GOOS=linux
TEST_IMAGES=$(shell find -L ./test/test_images ./vendor/knative.dev/serving/test/test_images/grpc-ping ./vendor/knative.dev/serving/test/test_images/multicontainer -mindepth 1 -maxdepth 2 -type f -name "*.go" -exec dirname {} \;)
TEST=
DOCKER_REPO_OVERRIDE=

install: build
cp ./kn $(GOPATH)/bin
.PHONY: install

build:
./hack/build.sh -f
.PHONY: build

build-cross:
./hack/build.sh -x
.PHONY: build-cross

build-cross-package: build-cross
./package_cliartifacts.sh
.PHONY: build-cross-package

test-install:
go install $(TEST_IMAGES)
.PHONY: test-install

test-images:
for img in $(TEST_IMAGES); do \
KO_DOCKER_REPO=$(DOCKER_REPO_OVERRIDE) ko resolve --tags=latest -RBf $$img/ ; \
done
.PHONY: test-images

test-unit:
./hack/build.sh -t
.PHONY: test-unit

test-e2e:
./openshift/e2e-tests-openshift.sh
.PHONY: test-e2e

# 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.17.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

# Generates a ci-operator configuration for a specific branch.
generate-ci-config:
./openshift/ci-operator/generate-ci-config.sh $(BRANCH) > ci-operator-config.yaml
.PHONY: generate-ci-config
9 changes: 5 additions & 4 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# The OWNERS file is used by prow to automatically merge approved PRs.

approvers:
- client-writers
- technical-oversight-committee
- knative-release-leads
- knative-client-approvers

reviewers:
- client-reviewers
- knative-client-reviewers
219 changes: 5 additions & 214 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -1,220 +1,11 @@
# This file is auto-generated from peribolos.
# Do not modify this file, instead modify peribolos/knative.yaml

aliases:
api-core-wg-leads:
- dprotaso
autoscaling-reviewers:
- nader-ziada
- psschwei
- taragu
autoscaling-wg-leads:
- julz
autoscaling-writers:
- julz
- yanweiguo
client-reviewers:
- itsmurugappan
client-wg-leads:
knative-client-approvers:
- alanfx
- dsimansk
- navidshaikh
- rhuss
client-writers:
- dsimansk
- maximilien
- navidshaikh
- rhuss
conformance-task-force-leads:
- omerbensaadon
- salaboy
conformance-writers:
- omerbensaadon
- salaboy
docs-reviewers:
- RichardJJG
- mpetason
- nainaz
- omerbensaadon
- pmbanugo
- snneji
docs-wg-leads:
- csantanapr
- omerbensaadon
- snneji
docs-writers:
- RichardJJG
- abrennan89
- carieshmarie
- csantanapr
- omerbensaadon
- richieescarez
- snneji
eventing-reviewers:
- aslom
- tayarani
- tommyreddad
eventing-triage:
- akashrv
- antoineco
- lberk
eventing-wg-leads:
- devguyio
- lionelvillard
eventing-writers:
- akashrv
- aliok
- antoineco
- devguyio
- lberk
- lionelvillard
- matzew
- pierDipi
- vaikas
knative-admin:
- csantanapr
- dprotaso
- duglin
- evankanderson
- julz
- knative-prow-releaser-robot
- knative-prow-robot
- knative-prow-updater-robot
- knative-test-reporter-robot
- lance
- markusthoemmes
- matzew
- nak3
- pmorie
- rhuss
- spencerdillard
- thisisnotapril
- vaikas
knative-release-leads:
- matzew
- nak3
knative-robots:
- knative-prow-releaser-robot
- knative-prow-robot
- knative-prow-updater-robot
- knative-test-reporter-robot
networking-reviewers:
- JRBANCEL
- ZhiminXiang
- andrew-su
- arturenault
- carlisia
- nak3
- shashwathi
- tcnghia
- vagababov
- yanweiguo
networking-wg-leads:
- ZhiminXiang
- nak3
networking-writers:
- JRBANCEL
- ZhiminXiang
- nak3
- vagababov
operations-reviewers:
- Cynocracy
- aliok
- houshengbo
- jcrossley3
- matzew
- trshafer
operations-wg-leads:
- houshengbo
operations-writers:
- Cynocracy
- aliok
- houshengbo
- jcrossley3
knative-client-reviewers:
- alanfx
- dsimansk
- matzew
- trshafer
pkg-configmap-reviewers:
- dprotaso
- mattmoor
- vagababov
pkg-configmap-writers:
- dprotaso
- mattmoor
- vagababov
pkg-controller-reviewers:
- dprotaso
- mattmoor
- tcnghia
- vagababov
- whaught
pkg-controller-writers:
- dprotaso
- mattmoor
- tcnghia
- vagababov
productivity-reviewers:
- albertomilan
- efiturri
- evankanderson
- gerardo-lc
- joshua-bone
- kvmware
- shinigambit
- steuhs
productivity-wg-leads:
- chizhg
- n3wscott
productivity-writers:
- chaodaiG
- chizhg
- coryrc
- n3wscott
security-wg-leads:
- evankanderson
- julz
security-writers:
- evankanderson
- julz
serving-observability-reviewers:
- skonto
- yanweiguo
serving-observability-writers:
- yanweiguo
serving-reviewers:
- carlisia
- julz
- nader-ziada
- nealhu
- psschwei
- whaught
serving-writers:
- dprotaso
- julz
- markusthoemmes
- tcnghia
- vagababov
source-wg-leads:
- lionelvillard
steering-committee:
- csantanapr
- lance
- pmorie
- thisisnotapril
- vaikas
technical-oversight-committee:
- dprotaso
- evankanderson
- julz
- markusthoemmes
- rhuss
trademark-committee:
- duglin
- evankanderson
- spencerdillard
ux-wg-leads:
- csantanapr
- omerbensaadon
- snneji
ux-writers:
- csantanapr
- omerbensaadon
- snneji
Loading

0 comments on commit 1bf43a2

Please sign in to comment.