Files
DoGaMa-serv/Makefile
T

18 lines
437 B
Makefile

.PHONY: test e2e images release
VERSION ?= dev
COMMIT ?= $(shell git rev-parse --short=12 HEAD)
test:
go test ./...
e2e:
go test ./tests/e2e -v
images:
docker build --target dogama --build-arg VERSION=$(VERSION) --build-arg COMMIT=$(COMMIT) -t dogama:$(VERSION) .
docker build --target dogama-agent --build-arg VERSION=$(VERSION) --build-arg COMMIT=$(COMMIT) -t dogama-agent:$(VERSION) .
release:
./tools/release.sh $(VERSION)