build: avoid crd edits when building on mac
On mac development machines, the crds are being left in a
state of change with the description removed and the
OBC CRDs removed from crds.yaml and resources.yaml.
By skipping the related env vars, these resources
are no longer left unexpectedly modified.
Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 0bf117493d)
This commit is contained in:
1 parent
d8b736e58e
commit
f97d3a8a0b
1 file changed
+2
@@ -119,8 +119,10 @@ build.version:
|
||||
@echo "$(VERSION)" > $(OUTPUT_DIR)/version
|
||||
|
||||
# Change how CRDs are generated for CSVs
|
||||
ifneq ($(REAL_HOST_PLATFORM),darwin_arm64)
|
||||
build.common: export NO_OB_OBC_VOL_GEN=true
|
||||
build.common: export MAX_DESC_LEN=0
|
||||
endif
|
||||
build.common: export SKIP_GEN_CRD_DOCS=true
|
||||
build.common: build.version helm.build mod.check crds gen-rbac
|
||||
@$(MAKE) go.init
|
||||
|
||||
Reference in new issue
Block a user