Skip to content

Commit

Permalink
remove copying the samples since we are not releasing the samples in …
Browse files Browse the repository at this point in the history
…the GCS (kubeflow#1764)
  • Loading branch information
gaoning777 authored and k8s-ci-robot committed Aug 8, 2019
1 parent c07e975 commit b8afd04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions .cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,6 @@ steps:
args: ['-c', 'cd /workspace/components/local/roc && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildROC'

# Build the tagged samples
- name: 'debian'
entrypoint: '/bin/bash'
args: ['-c', 'sed -i -e "s/gcr.io\/ml-pipeline\/\([^\/:]\+\):\([a-zA-Z0-9_.-]\)\+/gcr.io\/$PROJECT_ID\/\\1:$COMMIT_SHA/g" samples/*/*.py']
id: 'prepareVersionedSamples'
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', '-r', '/workspace/samples/', 'gs://$PROJECT_ID/builds/$COMMIT_SHA/samples']
id: 'copyVersionedSamples'
waitFor: ['prepareVersionedSamples']

images:
# Images for the pipeline system itself
- 'gcr.io/$PROJECT_ID/frontend:$COMMIT_SHA'
Expand Down
10 changes: 0 additions & 10 deletions .release.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,6 @@ steps:
id: 'copyPythonComponentSDKToLatest'
waitFor: ['copyPythonComponentSDKLocal']

# Build the tagged samples
- name: 'debian'
entrypoint: '/bin/bash'
args: ['-c', 'sed -i -e "s/gcr.io\/ml-pipeline\/\([^\/:]\+\):\([a-zA-Z0-9_.-]\)\+/gcr.io\/ml-pipeline\/\\1:$TAG_NAME/g" samples/*/*.py']
id: 'prepareVersionedSamples'
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', '-r', '/workspace/samples/', 'gs://ml-pipeline/release/$TAG_NAME/samples']
id: 'copyVersionedSamples'
waitFor: ['prepareVersionedSamples']

# Copy the TFX sample data to the ml-pipeline-playground bucket
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp', '-r', '/workspace/samples/tfx/taxi-cab-classification/*', 'gs://ml-pipeline-playground/tfx/taxi-cab-classification/']
Expand Down

0 comments on commit b8afd04

Please sign in to comment.