Validate multiarch bundle

This commit is contained in:
Martin Montes
2023-12-13 14:17:06 +01:00
parent 465fc881e6
commit b4e9cb8aa4
2 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,8 @@ jobs:
- name: Regenerate bundle with new digests
run: make bundle
env:
BUNDLE_VALIDATE_FLAGS: "--select-optional suite=operatorframework --select-optional name=multiarch"
- name: Commit bundle changes
uses: stefanzweifel/git-auto-commit-action@v5

View File

@ -28,6 +28,7 @@ scorecard-sa: ## Create scorecard ServiceAccount.
$(KUBECTL) apply -f ./hack/manifests/scorecard-serviceaccount.yaml
BUNDLE_VALIDATE_FLAGS ?= --select-optional suite=operatorframework
# BUNDLE_VALIDATE_FLAGS ?= --select-optional suite=operatorframework --select-optional name=multiarch
.PHONY: bundle-validate
bundle-validate: operator-sdk ## Validate content and format of the operator bundle.
$(OPERATOR_SDK) bundle validate ./bundle $(BUNDLE_VALIDATE_FLAGS)