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

chore(metadata): Added instruction to sync the MLMD version #3658

Merged
Changes from 1 commit
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
Next Next commit
Metadata - Added instruction to sync the MLMD version
Ark-kun committed Apr 30, 2020

Verified

This commit was signed with the committer’s verified signature.
folkertdev Folkert de Vries
commit 213370fd3450f88b91d50f6f6ff43314d9c40985
6 changes: 6 additions & 0 deletions .cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -198,6 +198,12 @@ steps:
id: 'buildMetadataEnvoy'

# Pull third_party images
# ! Sync to the same MLMD version:
# * backend/metadata_writer/requirements.in and requirements.txt
# * @kubeflow/frontend/src/mlmd/generated
# * .cloudbuild.yaml and .release.cloudbuild.yaml
# * manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml
# * test/tag_for_hosted.sh
- name: 'gcr.io/cloud-builders/docker'
args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:0.21.1']
id: 'pullMetadataServer'
6 changes: 6 additions & 0 deletions .release.cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -226,6 +226,12 @@ steps:
docker push gcr.io/ml-pipeline/google/pipelines/visualizationserver:$(cat /workspace/mm.ver)
docker push gcr.io/ml-pipeline/google/pipelines-test/visualizationserver:$(cat /workspace/mm.ver)

# ! Sync to the same MLMD version:
# * backend/metadata_writer/requirements.in and requirements.txt
# * @kubeflow/frontend/src/mlmd/generated
# * .cloudbuild.yaml and .release.cloudbuild.yaml
# * manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml
# * test/tag_for_hosted.sh
- name: 'gcr.io/cloud-builders/docker'
args: ['pull', 'gcr.io/tfx-oss-public/ml_metadata_store_server:0.21.1']
id: 'pullMetadataServer'
Original file line number Diff line number Diff line change
@@ -16,6 +16,12 @@ spec:
spec:
containers:
- name: container
# ! Sync to the same MLMD version:
# * backend/metadata_writer/requirements.in and requirements.txt
# * @kubeflow/frontend/src/mlmd/generated
# * .cloudbuild.yaml and .release.cloudbuild.yaml
# * manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml
# * test/tag_for_hosted.sh
image: gcr.io/tfx-oss-public/ml_metadata_store_server:0.21.1
env:
- name: DBCONFIG_USER
6 changes: 6 additions & 0 deletions test/tag_for_hosted.sh
Original file line number Diff line number Diff line change
@@ -92,6 +92,12 @@ docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA:$SEM_VER
docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA:$MM_VER

# 3rd-party images
# ! Sync to the same MLMD version:
# * backend/metadata_writer/requirements.in and requirements.txt
# * @kubeflow/frontend/src/mlmd/generated
# * .cloudbuild.yaml and .release.cloudbuild.yaml
# * manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml
# * test/tag_for_hosted.sh
docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:0.21.1 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$SEM_VER
docker tag gcr.io/tfx-oss-public/ml_metadata_store_server:0.21.1 gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$MM_VER
docker push gcr.io/$PROJECT_ID/hosted/$COMMIT_SHA/metadataserver:$SEM_VER