forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prow_config.yaml
253 lines (252 loc) · 7.44 KB
/
prow_config.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# This file configures the workflows to trigger in our Prow jobs.
# see kubeflow/testing/py/run_e2e_workflow.py
workflows:
# deploy app test runs tests on gke.
- app_dir: kubeflow/kubeflow/testing/workflows
component: click_deploy_test
name: deployapp
job_types:
- periodic
include_dirs:
- bootstrap/*
- kubeflow/*
- testing/*
params:
workflowName: deployapp
# deploy app test runs tests on gke.
- app_dir: kubeflow/kubeflow/testing/workflows
component: click_deploy_test
name: deployapp-istio
job_types:
- periodic
include_dirs:
- bootstrap/*
- kubeflow/*
- testing/*
params:
installIstio: true
workflowName: deployapp-istio
# kfctl test runs tests on gke using the new kfctl go binary and IAP
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_go_test
name: kfctl-go-iap
job_types:
- presubmit
- postsubmit
- periodic
include_dirs:
- bootstrap/*
- deployment/*
- kubeflow/*
- testing/*
params:
platform: gke
gkeApiVersion: v1
workflowName: kfctl-go
useBasicAuth: false
useIstio: false
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_go_test
name: kfctl-go-iap-istio
job_types:
- presubmit
- postsubmit
- periodic
include_dirs:
- bootstrap/*
- deployment/*
- dependencies/*
- kubeflow/*
- testing/*
params:
platform: gke
gkeApiVersion: v1
workflowName: kfctl-go
useBasicAuth: false
useIstio: true
# Run basic auth test as part of every periodic and postsubmit run.
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_go_test
name: kfctl-go-basic-auth
job_types:
- postsubmit
- periodic
include_dirs:
- bootstrap/*
- deployment/*
- kubeflow/*
- testing/*
params:
platform: gke
gkeApiVersion: v1
workflowName: kfctl-go
useBasicAuth: true
useIstio: false
# Only run kfctl presubmit test with basic auth if
# files related to basic auth are modified.
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_go_test
name: kfctl-go-basic-auth
job_types:
- presubmit
include_dirs:
# If kfctl is modified make sure basic auth still works
- bootstrap/*
- kubeflow/kubeflow/common/basic-auth.libsonnet
- kubeflow/kubeflow/common/prototypes/basic-auth.jsonnet
- testing/kfctl/*
- testing/workflows/kfctl_go_test.jsonnet
params:
platform: gke
gkeApiVersion: v1
workflowName: kfctl-go
useBasicAuth: true
useIstio: false
# kfctl test runs tests on gke.
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_test
name: kfctl
job_types:
- presubmit
- postsubmit
- periodic
include_dirs:
- scripts/*
- kubeflow/*
- testing/*
- deployment/*
params:
platform: gke
gkeApiVersion: v1
workflowName: kfctl
- app_dir: kubeflow/kubeflow/testing/workflows
component: kfctl_test
name: kfctl-beta
job_types:
- presubmit
- postsubmit
- periodic
include_dirs:
- scripts/gke/*
- deployment/gke/*
params:
platform: gke
gkeApiVersion: v1beta1
workflowName: kfctl-beta
# Run unittests
# TODO(jlewi): Need to add step to run go and python unittests
- app_dir: kubeflow/kubeflow/testing/workflows
component: unit_tests
name: unittests
params:
workflowName: unittest
# TODO(jlewi): We should be running the minikube workflow
# on presubmit when the minikube E2E test itself changes
# so we verify the test is working before submitting
# changes to it. But right now we can't match a regex or
# glob.
# see: https://github.com/kubeflow/testing/issues/187
# see: https://github.com/kubeflow/kubeflow/issues/1350
#
# Run tests on minikube
- app_dir: kubeflow/kubeflow/testing/workflows
component: workflows
name: kubeflow-e2e-minikube
job_types:
# TODO(https://github.com/kubeflow/kubeflow/issues/2703): Reenable minikube on presubmit
# when the test is fixed.
# - presubmit
- postsubmit
- periodic
params:
platform: minikube
workflowName: e2e-minikube
include_dirs:
# Run on presubmit if any files used by minikube change
- kubeflow/core/*
- kubeflow/pytorch-job/*
- testing/deploy_kubeflow.py
- testing/workflows/components/workflows.jsonnet
- testing/workflows/components/workflows.libsonnet
- testing/install_minikube.sh
- app_dir: kubeflow/kubeflow/testing/workflows
component: tfserving
name: tf-serving
job_types:
- presubmit
- postsubmit
- periodic
include_dirs:
- kubeflow/tf-serving/*
- components/k8s-model-server/*
- testing/*
params:
workflowName: tfserving
# Image Auto Release workflows.
# The workflows below are related to auto building our Docker images.
# We have separate pre/postsubmit jobs because we want to use different
# registries
- app_dir: kubeflow/kubeflow/releasing/releaser
component: centraldashboard
name: dashboard-release
job_types:
- presubmit
params:
registry: "gcr.io/kubeflow-ci"
include_dirs:
- components/centraldashboard/*
- releasing/releaser/components/centraldashboard.jsonnet
# The postsubmit run publishes the docker images to gcr.io/kubeflow-images-public
- app_dir: kubeflow/kubeflow/releasing/releaser
component: centraldashboard
name: dashboard-release
job_types:
- postsubmit
params:
registry: "gcr.io/kubeflow-images-public"
include_dirs:
- components/centraldashboard/*
- releasing/releaser/components/centraldashboard.jsonnet
- app_dir: kubeflow/kubeflow/components/tensorflow-notebook-image/releaser
component: workflows
name: tf-notebook-release
job_types:
- presubmit
params:
registry: "gcr.io/kubeflow-ci"
step_image: "gcr.io/kubeflow-ci/test-worker/test-worker:v20190116-b7abb8d-e3b0c4"
include_dirs:
- components/tensorflow-notebook-image/*
# The postsubmit run publishes the docker images to gcr.io/kubeflow-images-public
- app_dir: kubeflow/kubeflow/components/tensorflow-notebook-image/releaser
component: workflows
name: tf-notebook-release
job_types:
- postsubmit
params:
registry: "gcr.io/kubeflow-images-public"
step_image: "gcr.io/kubeflow-ci/test-worker/test-worker:v20190116-b7abb8d-e3b0c4"
include_dirs:
- components/tensorflow-notebook-image/*
# Jupyter-web-app presubmit
- app_dir: kubeflow/kubeflow/components/jupyter-web-app/releaser
component: workflows
name: jupyterui-release
job_types:
- presubmit
params:
registry: "gcr.io/kubeflow-ci"
step_image: "gcr.io/kubeflow-ci/test-worker/test-worker:v20190116-b7abb8d-e3b0c4"
include_dirs:
- components/jupyter-web-app/*
# Jupyter-web-app postsubmit that publishes the docker image to gcr.io/kubeflow-images-public
- app_dir: kubeflow/kubeflow/components/jupyter-web-app/releaser
component: workflows
name: jupyterui-release
job_types:
- postsubmit
params:
registry: "gcr.io/kubeflow-images-public"
step_image: "gcr.io/kubeflow-ci/test-worker/test-worker:v20190116-b7abb8d-e3b0c4"
include_dirs:
- components/jupyter-web-app/*