Add owners and prow config

This commit is contained in:
Mustafa Gezen 2022-10-30 02:21:39 +02:00
parent 23248641fc
commit 15940664bc
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1
8 changed files with 119 additions and 0 deletions

4
OWNERS Normal file
View File

@ -0,0 +1,4 @@
approvers:
- alias-maintainers
reviewers:
- alias-maintainers

5
OWNERS_ALIASES Normal file
View File

@ -0,0 +1,5 @@
aliases:
alias-maintainers:
- mstg
- nazunalika
- NeilHanlon

0
config/BUILD.bazel Normal file
View File

0
config/jobs/BUILD.bazel Normal file
View File

View File

@ -0,0 +1,26 @@
presubmits:
rocky-linux/peridot:
- name: pull-peridot-validate-prow-yaml
run_if_changed: '^(config/prow/(config|plugins).yaml$|config/jobs/.*.yaml$)'
decorate: true
spec:
containers:
- image: gcr.io/k8s-prow/checkconfig:v20221028-a8625c1f93
command:
- checkconfig
args:
- --config-path=config/prow/config.yaml
- --job-config-path=config/jobs
- --plugin-config=config/prow/plugins.yaml
- --strict
- name: pull-peridot-unit-test
branches:
- main
always_run: true
decorate: true
spec:
containers:
- image: alpine
command:
- /bin/date

0
config/prow/BUILD.bazel Normal file
View File

56
config/prow/config.yaml Normal file
View File

@ -0,0 +1,56 @@
prowjob_namespace: prow
pod_namespace: test-pods
deck:
spyglass:
lenses:
- lens:
name: metadata
required_files:
- started.json|finished.json
- lens:
config:
name: buildlog
required_files:
- build-log.txt
- lens:
name: junit
required_files:
- bazel-testlogs/.*/test.xml
- lens:
name: podinfo
required_files:
- podinfo.json
plank:
job_url_prefix_config:
"*": https://prow.build.resf.org/view/
report_templates:
'*': >-
[Full PR test history](https://prow.build.resf.org/pr-history?org={{.Spec.Refs.Org}}&repo={{.Spec.Refs.Repo}}&pr={{with index .Spec.Refs.Pulls 0}}{{.Number}}{{end}}).
[Your PR dashboard](https://prow.build.resf.org/pr?query=is:pr+state:open+author:{{with
index .Spec.Refs.Pulls 0}}{{.Author}}{{end}}).
default_decoration_configs:
"*":
gcs_configuration:
bucket: s3://resf-prod-prow-logs
path_strategy: explicit
s3_credentials_secret: s3-credentials
utility_images:
clonerefs: gcr.io/k8s-prow/clonerefs:v20221028-a8625c1f93
entrypoint: gcr.io/k8s-prow/entrypoint:v20221028-a8625c1f93
initupload: gcr.io/k8s-prow/initupload:v20221028-a8625c1f93
sidecar: gcr.io/k8s-prow/sidecar:v20221028-a8625c1f93
tide:
queries:
- labels:
- lgtm
- approved
missingLabels:
- needs-rebase
- do-not-merge/hold
- do-not-merge/work-in-progress
- do-not-merge/invalid-owners-file
repos:
- rocky-linux/peridot

28
config/prow/plugins.yaml Normal file
View File

@ -0,0 +1,28 @@
plugins:
rocky-linux/peridot:
plugins:
- approve
- assign
- blunderbuss
- cat
- config-updater
- dog
- help
- heart
- hold
- label
- lgtm
- trigger
- verify-owners
- wip
- yuks
config_updater:
maps:
config/prow/config.yaml:
name: config
config/prow/plugins.yaml:
name: plugins
config/jobs/**/*.{yaml,yml}:
name: job-config
gzip: true