Skip to content

Commit a014d26

Browse files
committed
Add build targets for lora syncer
1 parent 9c367f9 commit a014d26

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

Makefile

-41
Original file line numberDiff line numberDiff line change
@@ -192,47 +192,6 @@ syncer-image-build:
192192
syncer-image-push: PUSH=--push
193193
syncer-image-push: syncer-image-build
194194

195-
.PHONY: image-load
196-
image-load: LOAD=--load ## Build the EPP image and load it in the local Docker registry.
197-
image-load: image-build
198-
199-
.PHONY: image-kind
200-
image-kind: image-build ## Build the EPP image and load it to kind cluster $KIND_CLUSTER ("kind" by default).
201-
kind load docker-image $(IMAGE_TAG) --name $(KIND_CLUSTER)
202-
203-
##@ Lora Syncer
204-
205-
.PHONY: syncer-image-local-build
206-
syncer-image-local-build:
207-
BUILDER=$(shell $(DOCKER_BUILDX_CMD) create --use)
208-
$(MAKE) image-build PUSH=$(PUSH)
209-
$(DOCKER_BUILDX_CMD) rm $$BUILDER
210-
211-
.PHONY: syncer-image-local-push
212-
syncer-image-local-push: PUSH=--push
213-
syncer-image-local-push: syncer-image-local-build
214-
215-
.PHONY: syncer-image-build
216-
syncer-image-build:
217-
$ cd $(CURDIR)/tools/dynamic-lora-sidecar && $(IMAGE_BUILD_CMD) -t $(SYNCER_IMAGE_TAG) \
218-
--platform=$(PLATFORMS) \
219-
--build-arg BASE_IMAGE=$(BASE_IMAGE) \
220-
--build-arg BUILDER_IMAGE=$(BUILDER_IMAGE) \
221-
$(PUSH) \
222-
$(IMAGE_BUILD_EXTRA_OPTS) ./
223-
224-
.PHONY: syncer-image-push
225-
syncer-image-push: PUSH=--push
226-
syncer-image-push: syncer-image-build
227-
228-
.PHONY: image-load
229-
image-load: LOAD=--load ## Build the EPP image and load it in the local Docker registry.
230-
image-load: image-build
231-
232-
.PHONY: image-kind
233-
image-kind: image-build ## Build the EPP image and load it to kind cluster $KIND_CLUSTER ("kind" by default).
234-
kind load docker-image $(IMAGE_TAG) --name $(KIND_CLUSTER)
235-
236195
##@ Docs
237196

238197
.PHONY: build-docs

0 commit comments

Comments
 (0)