/
test-infra-periodics.yaml
134 lines (132 loc) · 3.81 KB
/
test-infra-periodics.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
periodics:
- name: ci-test-infra-bazel
decorate: true
extra_refs:
- org: kubernetes
repo: test-infra
base_ref: master
interval: 1h
labels:
preset-service-account: "true"
preset-bazel-scratch-dir: "true"
spec:
containers:
- image: launcher.gcr.io/google/bazel:0.29.1
command:
- hack/bazel.sh
args:
- test
- --config=ci
- --nobuild_tests_only
- //...
annotations:
testgrid-dashboards: sig-testing-misc
testgrid-tab-name: ci-bazel
description: Runs bazel test //... on the test-infra repo every hour
- name: ci-test-infra-triage
decorate: true
interval: 30m
spec:
containers:
- image: gcr.io/k8s-testimages/triage:latest
imagePullPolicy: Always
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
command:
- "timeout"
args:
- "-t"
- "10800"
- "/update_summaries.sh"
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
volumes:
- name: service
secret:
secretName: triage-service-account
annotations:
testgrid-num-failures-to-alert: '18'
testgrid-alert-stale-results-hours: '12'
testgrid-dashboards: sig-testing-misc
testgrid-tab-name: triage
testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com, k8s-infra-oncall@google.com
description: Runs BigQuery queries, summarizes results into clusters, and uploads to GCS for go.k8s.io/triage
- name: metrics-bigquery
interval: 24h
spec:
containers:
- image: gcr.io/k8s-testimages/bigquery:v20191004-77e27616c
args:
- --scenario=execute
- --
- test-infra/metrics/bigquery.py
- --
- --bucket=gs://k8s-metrics
- --backfill-days=90
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: VELODROME_INFLUXDB_CONFIG
value: /etc/velodrome-influxdb/config.json
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- name: influxdb
mountPath: /etc/velodrome-influxdb
readOnly: true
volumes:
- name: service
secret:
secretName: triage-service-account
- name: influxdb
secret:
secretName: velodrome-influxdb
annotations:
testgrid-dashboards: sig-testing-misc
testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com, k8s-infra-oncall@google.com
testgrid-num-failures-to-alert: '2'
description: Runs BigQuery queries to generate data for metrics.
- name: metrics-kettle
interval: 1h
spec:
containers:
- image: gcr.io/k8s-testimages/bigquery:v20191004-77e27616c
args:
- --scenario=execute
- --
- test-infra/kettle/monitor.py
- --
- --stale=6
- --table
- k8s-gubernator:build.all
- k8s-gubernator:build.week
- k8s-gubernator:build.day
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: VELODROME_INFLUXDB_CONFIG
value: /etc/velodrome-influxdb/config.json
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- name: influxdb
mountPath: /etc/velodrome-influxdb
readOnly: true
volumes:
- name: service
secret:
secretName: triage-service-account
- name: influxdb
secret:
secretName: velodrome-influxdb
annotations:
testgrid-num-failures-to-alert: '6'
testgrid-alert-stale-results-hours: '12'
testgrid-dashboards: sig-testing-misc
testgrid-alert-email: kubernetes-sig-testing-alerts@googlegroups.com, k8s-infra-oncall@google.com
description: Monitors Kettle's BigQuery database freshness.