Unique entry point + oclib dependency update

This commit is contained in:
plm
2025-01-13 12:15:08 +01:00
parent 8eeba712e7
commit b4cef41db2
4 changed files with 35 additions and 569 deletions

24
Makefile Normal file
View File

@@ -0,0 +1,24 @@
.DEFAULT_GOAL := all
build: clean
go build .
run:
./oc-schedulerd
clean:
rm -rf oc-schedulerd
docker:
DOCKER_BUILDKIT=1 docker build -t oc/oc-schedulerd:0.0.1 -f Dockerfile .
docker tag oc/oc-schedulerd:0.0.1 oc/oc-schedulerd:latest
publish-kind:
kind load docker-image oc/oc-schedulerd:0.0.1 --name opencloud
publish-registry:
@echo "TODO"
all: docker publish-kind publish-registry
.PHONY: build run clean docker publish-kind publish-registry