diff --git a/config/jobs/kubernetes/contributor-site/contributor-site-periodics.yaml b/config/jobs/kubernetes/contributor-site/contributor-site-periodics.yaml new file mode 100644 index 000000000000..c3cb8f549077 --- /dev/null +++ b/config/jobs/kubernetes/contributor-site/contributor-site-periodics.yaml @@ -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" diff --git a/config/prow/plugins.yaml b/config/prow/plugins.yaml index 9744a12a81fd..6cfdbef009d7 100644 --- a/config/prow/plugins.yaml +++ b/config/prow/plugins.yaml @@ -64,6 +64,7 @@ approve: - repos: - kubernetes/cluster-registry - kubernetes/contrib + - kubernetes/contributor-site - kubernetes/dashboard - kubernetes/dns - kubernetes/examples @@ -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: