Skip to content

Commit

Permalink
Build deployer for each post-submit to avoid manual work (kubeflow#2873)
Browse files Browse the repository at this point in the history
* done

* all done

* bump version to 0.2.1

* correct to 0.2.0

* done

* done

Co-authored-by: renmingu <40223865+renmingu@users.noreply.github.com>
  • Loading branch information
2 people authored and Jeffwan committed Dec 9, 2020
1 parent 579cfec commit b0290b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ steps:
'/workspace/backend/metadata_writer/Dockerfile', '/workspace']
waitFor: ["-"]

# Build marketplace deployer
- id: 'buildMarketplaceDeployer'
name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/deployer:$COMMIT_SHA',
'--build-arg', 'COMMIT_HASH=$COMMIT_SHA', '-f',
'/workspace/manifests/gcp_marketplace/deployer/Dockerfile', '/workspace/manifests/gcp_marketplace']
waitFor: ["-"]

# Build the Kubeflow-based pipeline component images
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/$PROJECT_ID/ml-pipeline-kubeflow-deployer:$COMMIT_SHA',
Expand Down Expand Up @@ -185,6 +193,9 @@ images:
- 'gcr.io/$PROJECT_ID/visualization-server:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/metadata-writer:$COMMIT_SHA'

# Images for Marketplace
- 'gcr.io/$PROJECT_ID/deployer:$COMMIT_SHA'

# Images for the Kubeflow-based pipeline components
- 'gcr.io/$PROJECT_ID/ml-pipeline-kubeflow-deployer:$COMMIT_SHA'
- 'gcr.io/$PROJECT_ID/ml-pipeline-kubeflow-tf-trainer:$COMMIT_SHA'
Expand Down

0 comments on commit b0290b5

Please sign in to comment.