Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move old gcp components to deprecated folder #2031

Merged
merged 3 commits into from
Sep 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,22 @@ steps:
# Build the Dataflow-based pipeline component images
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataflow/predict && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataflow/predict && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildPredictComponent'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataflow/tfdv && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataflow/tfdv && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildTFDVComponent'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataflow/tft && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataflow/tft && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildTFTComponent'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataflow/tfma && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataflow/tfma && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildTMAComponent'
waitFor: ["-"]

Expand All @@ -131,32 +131,32 @@ steps:
# Build the Dataproc-based pipeline component images
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/analyze && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/analyze && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocAnalyze'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/create_cluster && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/create_cluster && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocCreateCluster'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/delete_cluster && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/delete_cluster && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocDeleteCluster'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/predict && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/predict && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocPredict'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/transform && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/transform && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocTransform'
waitFor: ["-"]
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/dataproc/train && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/deprecated/dataproc/train && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildDataprocTrain'
waitFor: ["-"]

Expand Down
10 changes: 5 additions & 5 deletions components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ as input and may produce one or more


**Example: XGBoost DataProc components**
* [Set up cluster](dataproc/create_cluster/src/create_cluster.py)
* [Analyze](dataproc/analyze/src/analyze.py)
* [Transform](dataproc/transform/src/transform.py)
* [Distributed train](dataproc/train/src/train.py)
* [Delete cluster](dataproc/delete_cluster/src/delete_cluster.py)
* [Set up cluster](deprecated/dataproc/create_cluster/src/create_cluster.py)
* [Analyze](deprecated/dataproc/analyze/src/analyze.py)
* [Transform](deprecated/dataproc/transform/src/transform.py)
* [Distributed train](deprecated/dataproc/train/src/train.py)
* [Delete cluster](deprecated/dataproc/delete_cluster/src/delete_cluster.py)

Each task usually includes two parts:

Expand Down
12 changes: 6 additions & 6 deletions samples/core/tfx_cab_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ Open the Kubeflow pipelines UI. Create a new pipeline, and then upload the compi
## Components source

Preprocessing:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tft/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tft)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/tft/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/tft)

Training:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher)

Analysis:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tfma/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tfma)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/tfma/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/tfma)

Prediction:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/predict/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/predict)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/predict/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataflow/predict)
24 changes: 12 additions & 12 deletions samples/core/xgboost_training_cm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ pipeline run results. Note that each pipeline run will create a unique directory
## Components source

Create Cluster:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/create_cluster/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/create_cluster)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/create_cluster/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/create_cluster)

Analyze (step one for preprocessing):
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/analyze/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/analyze)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/analyze/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/analyze)

Transform (step two for preprocessing):
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/transform/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/transform)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/transform/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/transform)

Distributed Training:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/train/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/train)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/train/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/train)

Distributed Predictions:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/predict/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/predict)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/predict/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/predict)

Confusion Matrix:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/local/confusion_matrix/src)
Expand All @@ -61,7 +61,7 @@ ROC:


Delete Cluster:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/delete_cluster/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataproc/delete_cluster)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/delete_cluster/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/deprecated/dataproc/delete_cluster)