Skip to content

Commit

Permalink
Add prow jobs for new Kubeflow repositories:
Browse files Browse the repository at this point in the history
kubeflow/examples
kubeflow/testing
kubeflow/tf-operator
kubeflow/reporting

Remove references to tensorflow/k8s repository.
  • Loading branch information
jlewi committed Feb 12, 2018
1 parent c5a6cc2 commit b03be4e
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 55 deletions.
149 changes: 111 additions & 38 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,22 @@ presubmits:
hostPath:
path: /mnt/disks/ssd0

kubeflow/examples:
- name: kubeflow-examples-presubmit
context: kubeflow-examples-presubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test kubeflow-examples-presubmit"
trigger: "(?m)^/test( all| kubeflow-examples-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubeflow/kubeflow:
- name: kubeflow-presubmit
context: kubeflow-presubmit
Expand All @@ -240,6 +256,54 @@ presubmits:
- image: gcr.io/mlkube-testing/kubeflow-testing:latest
imagePullPolicy: Always

kubeflow/reporting:
- name: kubeflow-reporting-presubmit
context: kubeflow-reporting-presubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test kubeflow-reporting-presubmit"
trigger: "(?m)^/test( all| kubeflow-reporting-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubeflow/testing:
- name: kubeflow-testing-presubmit
context: kubeflow-testing-presubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test kubeflow-testing-presubmit"
trigger: "(?m)^/test( all| kubeflow-testing-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit
context: kubeflow-tf-operator-presubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test kubeflow-tf-operator-presubmit"
trigger: "(?m)^/test( all| kubeflow-tf-operator-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubernetes/charts:
- name: pull-charts-e2e
agent: kubernetes
Expand Down Expand Up @@ -4904,40 +4968,36 @@ presubmits:
- "--upload=gs://kubernetes-jenkins/pr-logs"
- "--clean"

tensorflow/k8s:
- name: tf-k8s-presubmit
context: tf-k8s-presubmit

tensorflow/minigo:
- name: tf-minigo-presubmit
context: tf-minigo-presubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test tf-k8s-presubmit"
trigger: "(?m)^/test( all| tf-k8s-presubmit),?(\\s+|$)"
rerun_command: "/test tf-minigo-presubmit"
trigger: "(?m)^/test( all| tf-minigo-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
# TODO(jlewi): Replace latest with a specific tag once the images stabilize.
- image: gcr.io/mlkube-testing/builder:latest
- image: gcr.io/minigo-testing/minigo-prow-harness:latest
imagePullPolicy: Always

tensorflow/minigo:
- name: tf-minigo-presubmit
context: tf-minigo-presubmit
postsubmits:
kubeflow/examples:
- name: kubeflow-examples-postsubmit
agent: kubernetes
always_run: true # Run for every PR, or only when requested.
rerun_command: "/test tf-minigo-presubmit"
trigger: "(?m)^/test( all| tf-minigo-presubmit),?(\\s+|$)"
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/minigo-testing/minigo-prow-harness:latest
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

postsubmits:
kubeflow/kubeflow:
- name: kubeflow-postsubmit
agent: kubernetes
Expand All @@ -4950,6 +5010,42 @@ postsubmits:
- image: gcr.io/mlkube-testing/kubeflow-testing:latest
imagePullPolicy: Always

kubeflow/reporting:
- name: kubeflow-reporting-postsubmit
agent: kubernetes
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubeflow/testing:
- name: kubeflow-testing-postsubmit
agent: kubernetes
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubeflow/tf-operator:
- name: kubeflow-tf-operator-postsubmit
agent: kubernetes
branches:
- master
labels:
preset-service-account: true
spec:
containers:
- image: gcr.io/kubeflow-ci/test-worker:latest
imagePullPolicy: Always

kubernetes/ingress-gce:
- name: ci-ingress-gce-image-push
agent: kubernetes
Expand Down Expand Up @@ -5477,18 +5573,6 @@ postsubmits:
requests:
memory: "1Gi"

tensorflow/k8s:
- name: tf-k8s-postsubmit
agent: kubernetes
branches:
- master
labels:
preset-service-account: true
spec:
containers:
# TODO(jlewi): Replace latest with a specific tag once the images stabilize.
- image: gcr.io/mlkube-testing/builder:latest
imagePullPolicy: Always

tensorflow/minigo:
- name: tf-minigo-postsubmit
Expand Down Expand Up @@ -14124,17 +14208,6 @@ periodics:
hostPath:
path: /mnt/disks/ssd0/docker-graph

- interval: 8h
agent: kubernetes
name: tf-k8s-periodic
labels:
preset-service-account: true
spec:
containers:
# TODO(jlewi): Replace latest with a specific tag once the images stabilize.
- image: gcr.io/mlkube-testing/builder:latest
imagePullPolicy: Always

- name: tf-minigo-periodic
interval: 8h
agent: kubernetes
Expand Down
20 changes: 20 additions & 0 deletions prow/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,31 @@ plugins:
google/cadvisor:
- trigger

kubeflow/examples:
- lgtm
- size
- trigger

kubeflow/kubeflow:
- lgtm
- size
- trigger

kubeflow/reporting:
- lgtm
- size
- trigger

kubeflow/testing:
- lgtm
- size
- trigger

kubeflow/tf-operator:
- lgtm
- size
- trigger

kubernetes/charts:
- approve
- blunderbuss
Expand Down
5 changes: 4 additions & 1 deletion testgrid/cmd/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,11 @@ func TestJobsTestgridEntryMatch(t *testing.T) {
// Also check k/k presubmit, prow postsubmit and periodic jobs
for _, job := range prowConfig.AllPresubmits([]string{
"google/cadvisor",
"kubeflow/examples",
"kubeflow/kubeflow",
"kubeflow/reporting",
"kubeflow/testing",
"kubeflow/tf-operator",
"kubernetes/kubernetes",
"kubernetes/test-infra",
"kubernetes/cluster-registry",
Expand All @@ -362,7 +366,6 @@ func TestJobsTestgridEntryMatch(t *testing.T) {
"kubernetes/heapster",
"kubernetes/charts",
"kubernetes/kube-deploy",
"tensorflow/k8s",
"tensorflow/minigo",
}) {
jobs[job.Name] = false
Expand Down
60 changes: 44 additions & 16 deletions testgrid/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1663,14 +1663,27 @@ test_groups:
gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-presubmit
num_columns_recent: 30
- name: kubeflow-postsubmit
gcs_prefix: kubernetes-jenkins/logs/google_kubeflow/kubeflow-postsubmit
- name: tf-k8s-periodic
gcs_prefix: kubernetes-jenkins/logs/tf-k8s-periodic
- name: tf-k8s-presubmit
gcs_prefix: kubernetes-jenkins/pr-logs/directory/tf-k8s-presubmit
gcs_prefix: kubernetes-jenkins/logs/kubeflow_kubeflow/kubeflow-postsubmit
- name: kubeflow-examples-presubmit
gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-examples-presubmit
num_columns_recent: 30
- name: tf-k8s-postsubmit
gcs_prefix: kubernetes-jenkins/logs/tensorflow_k8s/tf-k8s-postsubmit
- name: kubeflow-examples-postsubmit
gcs_prefix: kubernetes-jenkins/logs/kubeflow_kubeflow/kubeflow-examples-postsubmit
- name: kubeflow-reporting-presubmit
gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-reporting-presubmit
num_columns_recent: 30
- name: kubeflow-reporting-postsubmit
gcs_prefix: kubernetes-jenkins/logs/kubeflow_reporting/kubeflow-reporting-postsubmit
- name: kubeflow-testing-presubmit
gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-testing-presubmit
num_columns_recent: 30
- name: kubeflow-testing-postsubmit
gcs_prefix: kubernetes-jenkins/logs/kubeflow_testing/kubeflow-testing-postsubmit
- name: kubeflow-tf-operator-presubmit
gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-tf-operator-presubmit
num_columns_recent: 30
- name: kubeflow-tf-operator-postsubmit
gcs_prefix: kubernetes-jenkins/logs/kubeflow_tf-operator/kubeflow-tf-operator-postsubmit
- name: tf-minigo-periodic
gcs_prefix: kubernetes-jenkins/logs/tf-minigo-periodic
- name: tf-minigo-presubmit
Expand Down Expand Up @@ -3568,15 +3581,30 @@ dashboards:
- name: kubeflow-presubmit
description: Presubmit tests for Kubeflow.
test_group_name: kubeflow-presubmit
- name: tf-k8s-periodic
description: Periodic builds and testing of TfJob CRD at head running on stable GKE.
test_group_name: tf-k8s-periodic
- name: tf-k8s-postsubmit
description: Postsubmit tests of TfJob CRD running on stable GKE.
test_group_name: tf-k8s-postsubmit
- name: tf-k8s-presubmit
description: Presubmit tests of TfJob CRD running on stable GKE.
test_group_name: tf-k8s-presubmit
- name: kubeflow-examples-postsubmit
description: Postsubmit kubeflow/examples.
test_group_name: kubeflow-examples-postsubmit
- name: kubeflow-examples-presubmit
description: Presubmits for kubeflow/examples.
test_group_name: kubeflow-examples-presubmit
- name: kubeflow-reporting-postsubmit
description: Postsubmit kubeflow/reporting.
test_group_name: kubeflow-reporting-postsubmit
- name: kubeflow-reporting-presubmit
description: Presubmits for kubeflow/reporting.
test_group_name: kubeflow-reporting-presubmit
- name: kubeflow-testing-postsubmit
description: Postsubmit kubeflow/testing.
test_group_name: kubeflow-testing-postsubmit
- name: kubeflow-testing-presubmit
description: Presubmits for kubeflow/testing.
test_group_name: kubeflow-testing-presubmit
- name: kubeflow-tf-operator-postsubmit
description: Postsubmit kubeflow/tf-operator.
test_group_name: kubeflow-tf-operator-postsubmit
- name: kubeflow-tf-operator-presubmit
description: Presubmits for kubeflow/tf-operator.
test_group_name: kubeflow-tf-operator-presubmit
- name: spark-periodic-default-gke
description: Periodic builds and testing of Apache Spark on default version of GKE.
test_group_name: spark-periodic-default-gke
Expand Down

0 comments on commit b03be4e

Please sign in to comment.