forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 2
/
prow_config.yaml
131 lines (130 loc) · 4 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
# 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/*
# 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
- 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
# 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
# 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:
- presubmit
- postsubmit
- periodic
params:
platform: 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/*
# 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:v20181017-bfeaaf5-dirty-4adcd0"
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:v20181017-bfeaaf5-dirty-4adcd0"
include_dirs:
- components/tensorflow-notebook-image/*