Skip to content

Commit cb18787

Browse files
Merge pull request #1231 from slagle/drop-catalog-prep
Drop catalog-prep target
2 parents 28f7169 + a9e1fdd commit cb18787

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@ oc: $(LOCALBIN) ## Download and install oc in local env
388388
MAKE_ENV := $(shell echo '$(.VARIABLES)' | awk -v RS=' ' '/^(IMAGE)|.*?(REGISTRY)$$/')
389389
SHELL_EXPORT = $(foreach v,$(MAKE_ENV),$(v)='$($(v))')
390390

391-
.PHONY: catalog-prep
392-
catalog-prep:
393391
# These images MUST exist in a registry and be pull-able.
394392
BUNDLE_IMGS = "$(BUNDLE_IMG)$(shell $(SHELL_EXPORT) /bin/bash hack/pin-bundle-images.sh || echo bundle-fail-tag)"
395393

@@ -405,7 +403,7 @@ endif
405403
# This recipe invokes 'opm' in 'semver' bundle add mode. For more information on add modes, see:
406404
# https://github.com/operator-framework/community-operators/blob/7f1438c/docs/packaging-operator.md#updating-your-existing-operator
407405
.PHONY: catalog-build
408-
catalog-build: opm catalog-prep ## Build a catalog image.
406+
catalog-build: opm ## Build a catalog image.
409407
# FIXME: hardcoded bundle below should use go.mod pinned version for manila bundle
410408
$(OPM) index add --container-tool podman --mode semver --tag $(CATALOG_IMG) --bundles $(BUNDLE_IMGS) $(FROM_INDEX_OPT)
411409

0 commit comments

Comments
 (0)