diff --git a/prow_config.yaml b/prow_config.yaml index cff9cdba..c3a42608 100644 --- a/prow_config.yaml +++ b/prow_config.yaml @@ -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 \ No newline at end of file diff --git a/tests/pipeline-runs/mnist-nb-pipeline-run.yaml b/tests/pipeline-runs/mnist-nb-pipeline-run.yaml new file mode 100644 index 00000000..889fde3a --- /dev/null +++ b/tests/pipeline-runs/mnist-nb-pipeline-run.yaml @@ -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