Skip to content

Commit

Permalink
Enable xgboost test. (#79)
Browse files Browse the repository at this point in the history
related to #78
  • Loading branch information
jlewi committed Jul 11, 2020
1 parent 0907733 commit a4b5eb9
Show file tree
Hide file tree
Showing 2 changed files with 53 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 @@ -18,4 +18,9 @@ workflows:
- tekton_run: kubeflow/gcp-blueprints/tests/pipeline-runs/mnist-nb-pipeline-run.yaml
name: mnist-notebook
job_types:
- periodic

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

apiVersion: tekton.dev/v1alpha1
kind: PipelineRun
metadata:
generateName: xgboost-
namespace: kf-ci
labels:
pipeline: xgboost-notebook
version: master
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_xgboost_testing/2020-0710
- name: junit-path
value: artifacts/junit_manual-testing
- name: testing-cluster-pattern
value: 'kf-vbp-.*'
- name: testing-cluster-location
value: 'us-central1-c'
- name: notebook-output
value: gs://kubeflow-ci-deployment_ci-temp/xgboost_test
- name: notebook-path
value: xgboost_synthetic/build-train-deploy.ipynb
resources:
- name: notebook-repo
resourceSpec:
type: git
params:
- name: url
value: https://github.com/kubeflow/examples.git
- name: revision
value: master
# The image we want to build
- name: image
resourceSpec:
type: image
params:
- name: url
value: gcr.io/kubeflow-ci-deployment/xgboost-synthetic-test
pipelineRef:
name: notebook-test
serviceAccountName: kf-ci

0 comments on commit a4b5eb9

Please sign in to comment.