Skip to content

Commit

Permalink
build: allow building a single plugin image.
Browse files Browse the repository at this point in the history
Allow skipping builds of operator and bundle image. This allows
one to build just a single image, instead lf always building at
least three.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub authored and askervin committed Sep 2, 2024
1 parent 7cd4640 commit 4bbc01b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ PLUGINS ?= \
BINARIES ?= \
config-manager

OTHER_IMAGE_TARGETS ?= \
nri-plugins-operator-image \
nri-plugins-operator-bundle-image

ifneq ($(V),1)
Q := @
endif
Expand Down Expand Up @@ -211,8 +215,7 @@ $(BIN_PATH)/%: .static.%.$(STATIC)

images: $(foreach p,$(PLUGINS),image.$(p)) \
$(foreach p,$(BINARIES),image.$(p)) \
nri-plugins-operator-image \
nri-plugins-operator-bundle-image
$(OTHER_IMAGE_TARGETS)

image.nri-resource-policy-% \
image.nri-% \
Expand Down

0 comments on commit 4bbc01b

Please sign in to comment.