k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-k8s-infra-apps-periodics.yaml (about) 1 periodics: 2 - name: periodic-k8sio-deploy-app-codesearch 3 cluster: k8s-infra-prow-build-trusted 4 cron: "0 */6 * * *" # Runs every 6 hours, we can further reduce if needed 5 decorate: true 6 extra_refs: 7 - org: kubernetes 8 repo: k8s.io 9 base_ref: main 10 reporter_config: 11 slack: 12 channel: "k8s-infra-alerts" 13 job_states_to_report: 14 - failure 15 - aborted 16 - error 17 report_template: 'Deploying codesearch: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-k8s-infra-apps#deploy-codesearch|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>' 18 annotations: 19 testgrid-create-test-group: 'true' 20 testgrid-dashboards: sig-k8s-infra-apps 21 testgrid-tab-name: periodic-deploy-codesearch 22 testgrid-description: 'runs https://git.k8s.io/k8s.io/apps/codesearch/deploy.sh daily in kubernetes/k8s.io/apps/codesearch' 23 testgrid-alert-email: k8s-infra-rbac-codesearch@kubernetes.io, k8s-infra-alerts@kubernetes.io 24 testgrid-num-failures-to-alert: '2' 25 spec: 26 serviceAccountName: prow-deployer 27 containers: 28 - image: gcr.io/k8s-staging-infra-tools/k8s-infra:latest 29 imagePullPolicy: Always 30 command: 31 - ./apps/codesearch/restart.sh 32 volumeMounts: 33 - name: github 34 mountPath: /etc/github-token 35 readOnly: true 36 volumes: 37 - name: github 38 secret: 39 secretName: k8s-infra-ci-robot-github-token