Skip to content

Commit

Permalink
Migrate kubeflow/testing to optional-test-infra (kubeflow#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yao Xiao authored Mar 16, 2021
1 parent 95313f0 commit eb6468d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,20 @@ data:
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
kubeflow/testing:
- name: kubeflow-testing-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]
kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
data:
plugins.yaml: |-
plugins.yaml: |
plugins:
kubeflow/katib:
- trigger
Expand All @@ -18,6 +18,8 @@ data:
- trigger
kubeflow/xgboost-operator:
- trigger
kubeflow/testing:
- trigger
kind: ConfigMap
metadata:
creationTimestamp: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,20 @@ presubmits:
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]

kubeflow/testing:
- name: kubeflow-testing-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
- master
decorate: false
labels:
preset-aws-cred: "true"
always_run: true
spec:
containers:
- image: public.ecr.aws/j1r0q0g6/kubeflow-testing:latest
imagePullPolicy: Always
command: ["/usr/local/bin/run_workflows.sh"]

kubeflow/tf-operator:
- name: kubeflow-tf-operator-presubmit # convention: (job type)-(repo name)-(suite name)-(test type)
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ plugins:
kubeflow/tf-operator:
- trigger
kubeflow/xgboost-operator:
- trigger
- trigger
kubeflow/testing:
- trigger
28 changes: 14 additions & 14 deletions prow_config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# This file configures the workflows to trigger in our Prow jobs.
# see kubeflow/testing/py/run_e2e_workflow.py
workflows:
workflows: {}
# Verifies the workflow is skipped because the test would fail since it
# doesn't exist
- app_dir: kubeflow/kubeflow/testing/lmnop
component: click_deploy_test
name: skipmeplease
job_types:
- presubmit
include_dirs:
- xyz/*
params:
workflowName: skipmeplease
- tekton_run: kubeflow/testing/tekton/runs/go-test-run.yaml
name: go-unittests
# - app_dir: kubeflow/kubeflow/testing/lmnop
# component: click_deploy_test
# name: skipmeplease
# job_types:
# - presubmit
# include_dirs:
# - xyz/*
# params:
# workflowName: skipmeplease
#
# - tekton_run: kubeflow/testing/tekton/runs/go-test-run.yaml
# name: go-unittests

# - tekton_run: kubeflow/testing/tekton/runs/py-test-run.yaml
# name: py-unittests
Expand All @@ -39,4 +39,4 @@ workflows:
# value: bar
# name: tekton-v1
# include_dirs:
# - py/*
# - py/*

0 comments on commit eb6468d

Please sign in to comment.