Merge pull request #39 from mstg/prow-test

Add owners and prow config
This commit is contained in:
resf-prow[bot] 2022-10-30 01:44:07 +00:00 committed by GitHub
commit dc60de46d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 129 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

3
config/prow/labels.yaml Normal file
View File

@ -0,0 +1,3 @@
labels:
- color: 00ff00
name: lgtm

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

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