Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3045,7 +3045,7 @@ new-version: ## Update the Operator Version (must be run with NEXT_VERSION=x.y.z
yq -i e 'select(.schema == "olm.template.basic").entries[] |= select(.schema == "olm.channel" and .name == "stable").entries += [{"name" : "coherence-operator.v$(VERSION)", "replaces": "coherence-operator.v$(PREV_VERSION)"}]' $(SCRIPTS_DIR)/olm/catalog-template.yaml
yq -i e 'select(.schema == "olm.template.basic").entries += [{"schema" : "olm.bundle", "image": "$(GITHUB_REGISTRY)/$(OPERATOR_IMAGE_NAME)-bundle:$(OPERATOR_IMAGE_TAG)"}]' $(SCRIPTS_DIR)/olm/catalog-template.yaml

GIT_NEXT_BRANCH = "version-update-$(NEXT_VERSION)"
GIT_NEXT_BRANCH = "set-version-$(NEXT_VERSION)"
GIT_LABEL = "version-update"

.PHONY: new-version-branch
Expand Down
6 changes: 3 additions & 3 deletions hack/openshift/operator-cert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ if [ "${USE_LATEST_OPERATOR_RELEASE}" = "true" ]; then
echo "Latest Operator version is ${OPERATOR_VERSION}"
# Check the latest release image exists on OCR
COHERENCE_OPERATOR_IMAGE="container-registry.oracle.com/middleware/coherence-operator:${OPERATOR_VERSION}"
echo "Checking Oracle Container Registry for image ${OCR_COHERENCE_IMAGE}"
podman manifest inspect "${OCR_COHERENCE_IMAGE}" > /dev/null
echo "Checking Oracle Container Registry for image ${COHERENCE_OPERATOR_IMAGE}"
podman manifest inspect "${COHERENCE_OPERATOR_IMAGE}" > /dev/null
if [ $? -ne 0 ]; then
echo "ERROR: Image ${OCR_COHERENCE_IMAGE} does not exist on OCR."
echo "ERROR: Image ${COHERENCE_OPERATOR_IMAGE} does not exist on OCR."
exit 1
fi
# Use a proper name for the git branch
Expand Down
Loading