From 2aa9e16bd370db005e7a25eef8640c86eb806b29 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Wed, 13 Mar 2024 17:59:39 +0100 Subject: [PATCH] Ignore csv createdAt for the bundle verification --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 19917fbd..c7c223f4 100644 --- a/Makefile +++ b/Makefile @@ -329,7 +329,7 @@ verify-manifests: manifests $(YQ) ## Verify manifests update. .PHONY: verify-bundle verify-bundle: bundle $(YQ) ## Verify bundle update. - git diff -I' containerImage:' -I' image:' --exit-code ./bundle + git diff -I' createdAt:' -I' containerImage:' -I' image:' --exit-code ./bundle [ -z "$$(git ls-files --other --exclude-standard --directory --no-empty-directory ./bundle)" ] $(YQ) e -e '.metadata.annotations.containerImage == "$(OPERATOR_IMAGE)"' $(BUNDLE_CSV) $(YQ) e -e '.spec.install.spec.deployments[0].spec.template.spec.containers[0].image == "$(OPERATOR_IMAGE)"' $(BUNDLE_CSV)