This repository was archived by the owner on Oct 25, 2023. It is now read-only.
File tree 2 files changed +4
-4
lines changed
tests/testdata/template_and_smoke
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ template-ce.path := $(abspath $(path))
7
7
$(eval $(call INCLUDE_FILE, $(ROOT_DIR)/builder))
8
8
9
9
template-ce.image := kn-fn-test/template-ce
10
- template-ce.java_image_paths := $(shell find $(template-ce.path ) -mindepth 1 -maxdepth 1 -type l | grep java)
11
- template-ce.python_image_paths := $(shell find $(template-ce.path ) -mindepth 1 -maxdepth 1 -type l | grep python)
10
+ template-ce.java_image_paths := $(shell find $(template-ce.path ) -mindepth 1 -maxdepth 1 -type l | grep java- )
11
+ template-ce.python_image_paths := $(shell find $(template-ce.path ) -mindepth 1 -maxdepth 1 -type l | grep python- )
12
12
$(template-ce.java_image_paths ) : $(PACK ) $(builder.image.out )
13
13
cd $@ && $(PACK ) build $(template-ce.image ) :$(notdir $@ ) --builder $(shell cat $(builder.image.out ) ) --env BP_FUNCTION=functions.Handler --pull-policy if-not-present --clear-cache
14
14
$(template-ce.python_image_paths ) : $(PACK ) $(builder.image.out )
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ template-http.path := $(abspath $(path))
7
7
$(eval $(call INCLUDE_FILE, $(ROOT_DIR)/builder))
8
8
9
9
template-http.image := kn-fn-test/template-http
10
- template-http.java_image_paths := $(shell find $(template-http.path ) -mindepth 1 -maxdepth 1 -type l | grep java)
11
- template-http.python_image_paths := $(shell find $(template-http.path ) -mindepth 1 -maxdepth 1 -type l | grep python)
10
+ template-http.java_image_paths := $(shell find $(template-http.path ) -mindepth 1 -maxdepth 1 -type l | grep java- )
11
+ template-http.python_image_paths := $(shell find $(template-http.path ) -mindepth 1 -maxdepth 1 -type l | grep python- )
12
12
$(template-http.java_image_paths ) : $(PACK ) $(builder.image.out )
13
13
cd $@ && $(PACK ) build $(template-http.image ) :$(notdir $@ ) --builder $(shell cat $(builder.image.out ) ) --env BP_FUNCTION=functions.Handler --pull-policy if-not-present --clear-cache
14
14
$(template-http.python_image_paths ) : $(PACK ) $(builder.image.out )
You can’t perform that action at this time.
0 commit comments