k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-k8s-infra-prow.yaml (about) 1 postsubmits: 2 kubernetes/k8s.io: 3 - name: post-k8sio-deploy-prow-build-resources 4 cluster: k8s-infra-prow-build-trusted 5 decorate: true 6 max_concurrency: 1 7 run_if_changed: "^infra/gcp/terraform/k8s-infra-prow-build/" 8 branches: 9 - ^main$ 10 annotations: 11 testgrid-create-test-group: 'true' 12 testgrid-dashboards: sig-k8s-infra-prow 13 testgrid-tab-name: deploy-prow-build 14 testgrid-alert-email: k8s-infra-alerts@kubernetes.io 15 testgrid-num-failures-to-alert: '1' 16 rerun_auth_config: 17 github_team_slugs: 18 # proxy for sig-k8s-infra-oncall 19 - org: kubernetes 20 slug: sig-k8s-infra-leads 21 # proxy for test-infra-oncall 22 - org: kubernetes 23 slug: test-infra-admins 24 reporter_config: 25 slack: 26 channel: "prow-alerts" 27 job_states_to_report: 28 - success 29 - failure 30 - aborted 31 - error 32 report_template: 'Deploying k8s-infra-prow-build cluster: {{.Status.State}}. Commit: <{{.Spec.Refs.BaseLink}}|{{printf "%.7s" .Spec.Refs.BaseSHA}}> | <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-k8s-infra-prow#deploy-prow-build|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>' 33 spec: 34 serviceAccountName: prow-deployer 35 containers: 36 - image: gcr.io/k8s-staging-infra-tools/k8s-infra:latest 37 command: 38 - ./infra/gcp/terraform/k8s-infra-prow-build/deploy.sh 39 - name: post-k8sio-deploy-prow-build-trusted-resources 40 cluster: k8s-infra-prow-build-trusted 41 decorate: true 42 max_concurrency: 1 43 run_if_changed: "^infra/gcp/terraform/k8s-infra-prow-build-trusted/" 44 branches: 45 - ^main$ 46 annotations: 47 testgrid-create-test-group: 'true' 48 testgrid-dashboards: sig-k8s-infra-prow 49 testgrid-tab-name: deploy-prow-build-trusted 50 testgrid-alert-email: k8s-infra-alerts@kubernetes.io 51 testgrid-num-failures-to-alert: '1' 52 rerun_auth_config: 53 github_team_slugs: 54 # proxy for sig-k8s-infra-oncall 55 - org: kubernetes 56 slug: sig-k8s-infra-leads 57 # proxy for test-infra-oncall 58 - org: kubernetes 59 slug: test-infra-admins 60 spec: 61 serviceAccountName: prow-deployer 62 containers: 63 - image: gcr.io/k8s-staging-infra-tools/k8s-infra:latest 64 command: 65 - ./infra/gcp/terraform/k8s-infra-prow-build-trusted/deploy.sh 66 reporter_config: 67 slack: 68 channel: "prow-alerts" 69 job_states_to_report: 70 - success 71 - failure 72 - aborted 73 - error 74 report_template: 'Deploying k8s-infra-prow-build-trusted cluster: {{.Status.State}}. Commit: <{{.Spec.Refs.BaseLink}}|{{printf "%.7s" .Spec.Refs.BaseSHA}}> | <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-k8s-infra-prow#deploy-prow-build-trusted|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>' 75 76 periodics: 77 - name: ci-k8s-infra-build-cluster-prow-build-trusted 78 cron: "*/5 * * * *" #Every 5 minutes 79 cluster: k8s-infra-prow-build-trusted 80 decorate: true 81 max_concurrency: 1 82 extra_refs: 83 - org: kubernetes 84 repo: test-infra 85 base_ref: master 86 annotations: 87 testgrid-dashboards: sig-k8s-infra-prow 88 testgrid-tab-name: gke-prow-build-trusted-heartbeat 89 testgrid-num-failures-to-alert: '6' 90 testgrid-alert-email: k8s-infra-alerts@kubernetes.io, k8s-infra-prow-oncall@kubernetes.io 91 spec: 92 containers: 93 - image: gcr.io/k8s-staging-infra-tools/k8s-infra:latest 94 command: 95 - "echo" 96 args: 97 - "Everything is fine!" 98 resources: 99 limits: 100 cpu: 100m 101 memory: 512Mi 102 requests: 103 cpu: 100m 104 memory: 512Mi 105 106 - name: ci-k8sio-autobump-prow-build-clusters 107 cron: "15 14-20/5 * * 1-5" # Run at :15 every hour between 9:15 and 6:15 PM PST Mon-Fri 108 cluster: k8s-infra-prow-build-trusted 109 decorate: true 110 max_concurrency: 1 111 extra_refs: 112 - org: kubernetes 113 repo: k8s.io 114 base_ref: main 115 annotations: 116 testgrid-dashboards: sig-k8s-infra-k8sio 117 testgrid-alert-email: k8s-infra-alerts@kubernetes.io 118 testgrid-num-failures-to-alert: '3' 119 description: runs autobumper to create/update a PR that updates prow build cluster component images 120 rerun_auth_config: 121 github_team_slugs: 122 # proxy for sig-k8s-infra-oncall 123 - org: kubernetes 124 slug: sig-k8s-infra-leads 125 # proxy for test-infra-oncall 126 - org: kubernetes 127 slug: test-infra-admins 128 spec: 129 containers: 130 - image: gcr.io/k8s-prow/generic-autobumper:v20240517-ea10bd814 131 command: 132 - generic-autobumper 133 args: 134 - --config=hack/autobump-config.yaml 135 volumeMounts: 136 - name: github 137 mountPath: /etc/github-token 138 readOnly: true 139 volumes: 140 - name: github 141 secret: 142 secretName: k8s-infra-ci-robot-github-token 143 144 - name: ci-k8sio-autobump-prow-build-clusters-for-autodeploy 145 # This is arbitrarily 3h earlier than test-infra-oncall's prow autobump job 146 cron: "30 14-19/5 * * 1-5" # Run at 7:30 and 12:30 PST Mon-Fri 147 cluster: k8s-infra-prow-build-trusted 148 decorate: true 149 max_concurrency: 1 150 extra_refs: 151 - org: kubernetes 152 repo: k8s.io 153 base_ref: main 154 annotations: 155 testgrid-dashboards: sig-k8s-infra-k8sio 156 testgrid-alert-email: k8s-infra-alerts@kubernetes.io 157 testgrid-num-failures-to-alert: '1' 158 description: runs autobumper to create/update a PR that updates prow build cluster component images 159 rerun_auth_config: 160 github_team_slugs: 161 # proxy for sig-k8s-infra-oncall 162 - org: kubernetes 163 slug: sig-k8s-infra-leads 164 # proxy for test-infra-oncall 165 - org: kubernetes 166 slug: test-infra-admins 167 spec: 168 containers: 169 - image: gcr.io/k8s-prow/generic-autobumper:v20240517-ea10bd814 170 command: 171 - generic-autobumper 172 args: 173 - --config=hack/autobump-config.yaml 174 - --labels-override=skip-review 175 - --skip-if-no-oncall 176 volumeMounts: 177 - name: github 178 mountPath: /etc/github-token 179 readOnly: true 180 volumes: 181 - name: github 182 secret: 183 secretName: k8s-infra-ci-robot-github-token