Skip to content

Commit

Permalink
Run the mnist notebook in the periodic tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Lewi committed Jun 24, 2020
1 parent e798210 commit 15905f7
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prow_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ workflows:
name: gcp-kf-ready
job_types:
- periodic

- tekton_run: kubeflow/gcp-blueprints/tests/pipeline-runs/mnist-nb-pipeline-run.yaml
name: mnist-notebook
job_types:
- periodic
58 changes: 58 additions & 0 deletions tests/pipeline-runs/mnist-nb-pipeline-run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Demo on how to write a pipeline run.

apiVersion: tekton.dev/v1alpha1
kind: PipelineRun
metadata:
generateName: mnist-
namespace: kf-ci
labels:
pipeline: mnist-notebook
spec:
params:
# test-target-name, artifacts-gcs, and junit-path are required for
# all the PipelineRuns. For tests spawned by Prow, values of these
# params will be injected on the fly.
- name: test-target-name
value: manual-testinig
- name: artifacts-gcs
value: gs://kubeflow-ci_temp/jlewi_mnist_testing/2020-0619
- name: junit-path
value: artifacts/junit_manual-testing
- name: testing-cluster-pattern
value: 'kf-vbp-.*'
- name: testing-cluster-location
value: 'us-central1'
- name: notebook-output
value: gs://kubeflow-ci-deployment_ci-temp/mnist_test
- name: notebook-path
value: mnist/mnist_gcp.ipynb
resources:
# This pull number has changes blocked on:
# https://github.com/kubeflow/testing/pull/622
- name: notebook-repo
resourceSpec:
type: git
params:
- name: url
value: https://github.com/kubeflow/examples.git
- name: revision
value: master
- name: testing-repo
resourceSpec:
type: git
params:
- name: url
value: https://github.com/jlewi/testing.git
- name: revision
value: gcp_blueprints
# value: refs/pull/676/head
# The image we want to build
- name: image
resourceSpec:
type: image
params:
- name: url
value: gcr.io/kubeflow-ci-deployment/mnist-test
pipelineRef:
name: notebook-test
serviceAccountName: kf-ci

0 comments on commit 15905f7

Please sign in to comment.