Skip to content

Commit 4e41128

Browse files
gaoning777k8s-ci-robot
authored andcommitted
update yaml tag in samples (#1176)
1 parent 785d474 commit 4e41128

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

samples/arena-samples/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ There are a series of examples about how to build deeplearning models with [Aren
77
1. Install the arena
88

99
```
10-
kubectl create -f https://raw.githubusercontent.com/kubeflow/pipelines/master/samples/arena-samples/arena.yaml
10+
kubectl create -f https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/samples/arena-samples/arena.yaml
1111
```
1212

1313
2. Add addtional RBAC role to service account `pipeline-runner`
1414

1515
```
16-
kubectl create -f https://raw.githubusercontent.com/kubeflow/pipelines/master/samples/arena-samples/arena_launcher_rbac.yaml
16+
kubectl create -f https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/samples/arena-samples/arena_launcher_rbac.yaml
1717
```
1818

1919
## Demos

samples/ibm-samples/ffdl-seldon/ffdl_pipeline.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def ffdlPipeline(
3030
):
3131
"""A pipeline for end to end machine learning workflow."""
3232

33-
configuration_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/commons/config/component.yaml')
34-
train_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/ffdl/train/component.yaml')
35-
serve_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/ibm-components/ffdl/serve/component.yaml')
33+
configuration_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/ibm-components/commons/config/component.yaml')
34+
train_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/ibm-components/ffdl/train/component.yaml')
35+
serve_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/ibm-components/ffdl/serve/component.yaml')
3636

3737
get_configuration = configuration_op(
3838
token = GITHUB_TOKEN,

samples/kubeflow-tf/kubeflow-training-classification.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
from kfp import components
2020

21-
dataflow_tf_transform_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/dataflow/tft/component.yaml')
22-
kubeflow_tf_training_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/kubeflow/dnntrainer/component.yaml')
23-
dataflow_tf_predict_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/dataflow/predict/component.yaml')
24-
confusion_matrix_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/local/confusion_matrix/component.yaml')
21+
dataflow_tf_transform_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/dataflow/tft/component.yaml')
22+
kubeflow_tf_training_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/kubeflow/dnntrainer/component.yaml')
23+
dataflow_tf_predict_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/dataflow/predict/component.yaml')
24+
confusion_matrix_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/local/confusion_matrix/component.yaml')
2525

2626
@dsl.pipeline(
2727
name='Pipeline TFJob',

samples/resnet-cmle/resnet-train-pipeline.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
import os
2323

2424
dataflow_python_op = comp.load_component_from_url(
25-
'https://raw.githubusercontent.com/kubeflow/pipelines/d2f5cc92a46012b9927209e2aaccab70961582dc/components/gcp/dataflow/launch_python/component.yaml')
25+
'https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/gcp/dataflow/launch_python/component.yaml')
2626
cloudml_train_op = comp.load_component_from_url(
27-
'https://raw.githubusercontent.com/kubeflow/pipelines/d2f5cc92a46012b9927209e2aaccab70961582dc/components/gcp/ml_engine/train/component.yaml')
27+
'https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/gcp/ml_engine/train/component.yaml')
2828
cloudml_deploy_op = comp.load_component_from_url(
29-
'https://raw.githubusercontent.com/kubeflow/pipelines/d2f5cc92a46012b9927209e2aaccab70961582dc/components/gcp/ml_engine/deploy/component.yaml')
29+
'https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/gcp/ml_engine/deploy/component.yaml')
3030

3131

3232
def resnet_preprocess_op(project_id: 'GcpProject', output: 'GcsUri', staging_dir: 'GcsUri', train_csv: 'GcsUri[text/csv]',

samples/xgboost-spark/xgboost-training-cm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919

2020
from kfp import components
2121

22-
confusion_matrix_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/local/confusion_matrix/component.yaml')
23-
roc_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/deb4d0ed41662055031832f4ba03e324dd609143/components/local/roc/component.yaml')
22+
confusion_matrix_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/local/confusion_matrix/component.yaml')
23+
roc_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/785d474699cffb7463986b9abc4b1fbe03796cb6/components/local/roc/component.yaml')
2424

2525
# ================================================================
2626
# The following classes should be provided by components provider.

0 commit comments

Comments
 (0)