Skip to content

Commit c1be090

Browse files
amisevsksleshchenko
authored andcommitted
Add export_manifests makefile rule to help with debugging
Signed-off-by: Angel Misevski <[email protected]>
1 parent 86a3c0b commit c1be090

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ deploy/templates/crd/bases/workspace.devfile.io_devworkspacetemplates.yaml
44
deploy/templates/crd/bases/devfile_version
55
deploy/current
66
deploy/deployment/olm
7+
generated
78
.vscode
89
__debug_bin
910

Diff for: build/make/olm.mk

+6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ endif
4747
--container-tool $(DOCKER)
4848
$(DOCKER) push $(DWO_INDEX_IMG)
4949

50+
export_manifests: _print_vars _check_opm_version
51+
rm -rf ./generated/exported-manifests
52+
# Export the bundles with the name web-terminal inside of $(DWO_INDEX_IMG)
53+
# This command basic exports the index back into the old format
54+
opm index export -c $(DOCKER) -f ./generated/exported-manifests -i $(DWO_INDEX_IMG)
55+
5056
### register_catalogsource: create the catalogsource to make the operator be available on the marketplace
5157
register_catalogsource: _check_skopeo_installed
5258
INDEX_DIGEST=$$(skopeo inspect docker://$(DWO_INDEX_IMG) | jq -r '.Digest')

0 commit comments

Comments
 (0)