forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prow_config.yaml
109 lines (109 loc) · 3.94 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
# This file configures the workflows to trigger in our Prow jobs.
# see kubeflow/testing/py/run_e2e_workflow.py
python_paths:
- kubeflow/kubeflow/py
workflows:
# 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
# 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/*