From a16da2aac133cadea691fa9a0517b1b95f629401 Mon Sep 17 00:00:00 2001 From: YujiOshima Date: Wed, 4 Apr 2018 09:08:48 +0900 Subject: [PATCH] Add prow job for new kubeflow/hp-tuning repository Signed-off-by: YujiOshima --- prow/config.yaml | 27 ++++++++++++++++++++++++ testgrid/cmd/configurator/config_test.go | 1 + testgrid/config.yaml | 11 ++++++++++ 3 files changed, 39 insertions(+) diff --git a/prow/config.yaml b/prow/config.yaml index a0f3c96e3a441..c9b2c708a8024 100644 --- a/prow/config.yaml +++ b/prow/config.yaml @@ -76,6 +76,7 @@ tide: - kubeflow/pytorch-operator - kubeflow/testing - kubeflow/tf-operator + - kubeflow/hp-tuning labels: - lgtm - approved @@ -383,6 +384,22 @@ presubmits: - image: gcr.io/kubeflow-ci/test-worker:latest imagePullPolicy: Always + kubeflow/hp-tuning: + - name: kubeflow-hp-tuning-presubmit + context: kubeflow-hp-tuning-presubmit + agent: kubernetes + always_run: true # Run for every PR, or only when requested. + rerun_command: "/test kubeflow-hp-tuning-presubmit" + trigger: "(?m)^/test( all| kubeflow-hp-tuning-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 @@ -5890,6 +5907,16 @@ postsubmits: - image: gcr.io/kubeflow-ci/test-worker:latest imagePullPolicy: Always + kubeflow/hp-tuning: + - name: kubeflow-hp-tuning-postsubmit + agent: kubernetes + 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 diff --git a/testgrid/cmd/configurator/config_test.go b/testgrid/cmd/configurator/config_test.go index 50472b0a61948..857ecf7ddb419 100644 --- a/testgrid/cmd/configurator/config_test.go +++ b/testgrid/cmd/configurator/config_test.go @@ -359,6 +359,7 @@ func TestJobsTestgridEntryMatch(t *testing.T) { "kubeflow/reporting", "kubeflow/testing", "kubeflow/tf-operator", + "kubeflow/hp-tuning", "kubernetes/kubernetes", "kubernetes/test-infra", "kubernetes/cluster-registry", diff --git a/testgrid/config.yaml b/testgrid/config.yaml index e50f8e8556b9e..67959446e7d18 100644 --- a/testgrid/config.yaml +++ b/testgrid/config.yaml @@ -2002,6 +2002,11 @@ test_groups: num_columns_recent: 30 - name: kubeflow-tf-operator-postsubmit gcs_prefix: kubernetes-jenkins/logs/kubeflow_tf-operator/kubeflow-tf-operator-postsubmit +- name: kubeflow-hp-tuning-presubmit + gcs_prefix: kubernetes-jenkins/pr-logs/directory/kubeflow-hp-tuning-presubmit + num_columns_recent: 30 +- name: kubeflow-hp-tuning-postsubmit + gcs_prefix: kubernetes-jenkins/logs/kubeflow_hp-tuning/kubeflow-hp-tuning-postsubmit - name: tf-minigo-periodic gcs_prefix: kubernetes-jenkins/logs/tf-minigo-periodic - name: tf-minigo-presubmit @@ -4163,6 +4168,12 @@ dashboards: - name: kubeflow-tf-operator-presubmit description: Presubmits for kubeflow/tf-operator. test_group_name: kubeflow-tf-operator-presubmit + - name: kubeflow-hp-tuning-postsubmit + description: Postsubmit kubeflow/hp-tuning. + test_group_name: kubeflow-hp-tuning-postsubmit + - name: kubeflow-hp-tuning-presubmit + description: Presubmits for kubeflow/hp-tuning. + test_group_name: kubeflow-hp-tuning-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