Skip to content

Commit c2aa640

Browse files
authored
Update RedHat OpenShift container preflight testing (#804)
1 parent a719f44 commit c2aa640

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3045,7 +3045,7 @@ new-version: ## Update the Operator Version (must be run with NEXT_VERSION=x.y.z
30453045
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
30463046
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
30473047

3048-
GIT_NEXT_BRANCH = "version-update-$(NEXT_VERSION)"
3048+
GIT_NEXT_BRANCH = "set-version-$(NEXT_VERSION)"
30493049
GIT_LABEL = "version-update"
30503050

30513051
.PHONY: new-version-branch

hack/openshift/operator-cert.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ if [ "${USE_LATEST_OPERATOR_RELEASE}" = "true" ]; then
175175
echo "Latest Operator version is ${OPERATOR_VERSION}"
176176
# Check the latest release image exists on OCR
177177
COHERENCE_OPERATOR_IMAGE="container-registry.oracle.com/middleware/coherence-operator:${OPERATOR_VERSION}"
178-
echo "Checking Oracle Container Registry for image ${OCR_COHERENCE_IMAGE}"
179-
podman manifest inspect "${OCR_COHERENCE_IMAGE}" > /dev/null
178+
echo "Checking Oracle Container Registry for image ${COHERENCE_OPERATOR_IMAGE}"
179+
podman manifest inspect "${COHERENCE_OPERATOR_IMAGE}" > /dev/null
180180
if [ $? -ne 0 ]; then
181-
echo "ERROR: Image ${OCR_COHERENCE_IMAGE} does not exist on OCR."
181+
echo "ERROR: Image ${COHERENCE_OPERATOR_IMAGE} does not exist on OCR."
182182
exit 1
183183
fi
184184
# Use a proper name for the git branch

0 commit comments

Comments
 (0)