From 213370fd3450f88b91d50f6f6ff43314d9c40985 Mon Sep 17 00:00:00 2001 From: Alexey Volkov Date: Wed, 29 Apr 2020 20:53:42 -0700 Subject: [PATCH] Metadata - Added instruction to sync the MLMD version --- .cloudbuild.yaml | 6 ++++++ .release.cloudbuild.yaml | 6 ++++++ .../kustomize/base/metadata/metadata-grpc-deployment.yaml | 6 ++++++ test/tag_for_hosted.sh | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/.cloudbuild.yaml b/.cloudbuild.yaml index c54f7f188b3..2a1d7f4369f 100644 --- a/.cloudbuild.yaml +++ b/.cloudbuild.yaml @@ -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' diff --git a/.release.cloudbuild.yaml b/.release.cloudbuild.yaml index 0a9e40d99de..9b78b73d514 100644 --- a/.release.cloudbuild.yaml +++ b/.release.cloudbuild.yaml @@ -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' diff --git a/manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml b/manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml index 1a42c35a0ad..f4375b8a0af 100644 --- a/manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml +++ b/manifests/kustomize/base/metadata/metadata-grpc-deployment.yaml @@ -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 diff --git a/test/tag_for_hosted.sh b/test/tag_for_hosted.sh index 5dd569c19ee..489934d101e 100755 --- a/test/tag_for_hosted.sh +++ b/test/tag_for_hosted.sh @@ -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