Skip to content

Commit

Permalink
Merge branch 'main' into K8SPSMDB-1013-mongo-7-0
Browse files Browse the repository at this point in the history
  • Loading branch information
inelpandzic authored Apr 4, 2024
2 parents ce73e30 + 5764f47 commit 4b97c08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ kustomize: ## Download kustomize locally if necessary.
CERT_MANAGER_VER := $(shell grep -Eo "cert-manager v.*" go.mod|grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
release: manifests
sed -i "/CERT_MANAGER_VER/s/CERT_MANAGER_VER=\".*/CERT_MANAGER_VER=\"$(CERT_MANAGER_VER)\"/" e2e-tests/functions
sed -i "/Version = \"/s/Version = \".*/Version = \"$(VERSION)\"/" version/version.go
sed -i \
-e "s/crVersion: .*/crVersion: $(VERSION)/" \
-e "/^spec:/,/^ image:/{s#image: .*#image: percona/percona-server-mongodb:@@SET_TAG@@#}" deploy/cr-minimal.yaml
sed -i \
-e "s/crVersion: .*/crVersion: $(VERSION)/" \
-e "/^spec:/,/^ image:/{s#image: .*#image: percona/percona-server-mongodb:@@SET_TAG@@#}" \
-e "/^ backup:/,/^ image:/{s#image: .*#image: percona/percona-backup-mongodb:@@SET_TAG@@#}" \
-e "s#initImage: .*#initImage: percona/percona-server-mongodb-operator:$(VERSION)#g" \
-e "/^ pmm:/,/^ image:/{s#image: .*#image: percona/pmm-client:@@SET_TAG@@#}" deploy/cr.yaml

# Prepare main branch after release
Expand All @@ -107,4 +109,5 @@ after-release: manifests
-e "s/crVersion: .*/crVersion: $(NEXT_VER)/" \
-e "/^spec:/,/^ image:/{s#image: .*#image: perconalab/percona-server-mongodb-operator:main-mongod6.0#}" \
-e "/^ backup:/,/^ image:/{s#image: .*#image: perconalab/percona-server-mongodb-operator:main-backup#}" \
-e "s#initImage: .*#initImage: perconalab/percona-server-mongodb-operator:main#g" \
-e "/^ pmm:/,/^ image:/{s#image: .*#image: perconalab/pmm-client:dev-latest#}" deploy/cr.yaml

0 comments on commit 4b97c08

Please sign in to comment.