Skip to content

Commit

Permalink
fix: sync version in config/component_metadata.yaml (#188)
Browse files Browse the repository at this point in the history
Signed-off-by: Dhiraj Bokde <dhirajsb@users.noreply.github.com>
  • Loading branch information
dhirajsb authored Feb 5, 2025
1 parent 14ddb6d commit ff22865
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ help: ## Display this help.

##@ Development

IMAGES_REST_VERSION=$(lastword $(subst :, ,${IMAGES_REST_SERVICE}))
.PHONY: sync-images
sync-images:
# sync model-registry image
sed "s|quay.io/opendatahub/model-registry:.*|${IMAGES_REST_SERVICE}|" -i ./config/manager/manager.yaml
sed "s|\"quay.io/opendatahub/model-registry:.*\"|\"${IMAGES_REST_SERVICE}\"|" -i ./internal/controller/config/defaults.go
# sync component_metadata.yaml model registry versions on line 6 and 9
sed -i "6s|: .*|: $(IMAGES_REST_VERSION)|" -i ./config/component_metadata.yaml
sed -i "9s|: .*|: $(IMAGES_REST_VERSION)|" -i ./config/component_metadata.yaml
# sync mlmd image
sed "s|quay.io/opendatahub/mlmd-grpc-server:.*|${IMAGES_GRPC_SERVICE}|" -i ./config/manager/manager.yaml
sed "s|\"quay.io/opendatahub/mlmd-grpc-server:.*\"|\"${IMAGES_GRPC_SERVICE}\"|" -i ./internal/controller/config/defaults.go
Expand Down
4 changes: 2 additions & 2 deletions config/component_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ releases:
version: v1.14.0
repoUrl: https://github.com/google/ml-metadata
- name: Kubeflow Model Registry
version: v0.2.13
version: latest
repoUrl: https://github.com/kubeflow/model-registry
- name: Open Data Hub Model Registry Operator
version: v0.2.13
version: latest
repoUrl: https://github.com/opendatahub-io/model-registry-operator

0 comments on commit ff22865

Please sign in to comment.