Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
periodics:
- name: pull-contributor-site-lottery-factor
cluster: eks-prow-build-cluster
annotations:
testgrid-dashboards: sig-contribex-contributor-website
testgrid-tab-name: pull-contributor-site-lottery-factor
decorate: true
extra_refs:
- repo: kubernetes/contributor-site
base_ref: master
spec:
containers:
- image: us-docker.pkg.dev/k8s-infra-prow/images/build/go-runner:v2.1.1
command:
- /bin/bash
- -c
- |
set -e
cd hack
go mod init hack || true
go mod tidy
go run gen-lottery-factor.go
env:
- name: GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: github-token
key: token
resources:
limits:
cpu: "2"
memory: 2Gi
requests:
cpu: "2"
memory: 2Gi
cron: "0 0 * * 1" # Every Monday at midnight UTC
labels:
preset-dind-enabled: "true"
5 changes: 5 additions & 0 deletions config/prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ approve:
- repos:
- kubernetes/cluster-registry
- kubernetes/contrib
- kubernetes/contributor-site
- kubernetes/dashboard
- kubernetes/dns
- kubernetes/examples
Expand Down Expand Up @@ -188,6 +189,10 @@ label:
- ci-short
- ci-extended
- ci-full
# Call for Help labels for kubernetes/contributor-site
- call-for-help
- sig-contribex-nco
- call-for-help-approved

restricted_labels:
kubernetes/kubernetes:
Expand Down