Makefile: detached run of master, buildall, detector

This commit is contained in:
Václav Valíček (YCNet) 2018-02-13 14:42:59 +01:00
parent 218859a7ea
commit 7d910a3aa0
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938

View File

@ -5,6 +5,9 @@ TAGOWNER = valicek1
TAGMAIN = repo-cloner TAGMAIN = repo-cloner
TAGBASE= $(TAGOWNER)/$(TAGMAIN) TAGBASE= $(TAGOWNER)/$(TAGMAIN)
buildall: mirror creator launcher
# Mirrorer - root of repo # Mirrorer - root of repo
mirror: mirror:
docker build -t $(TAGBASE)-mirror . docker build -t $(TAGBASE)-mirror .
@ -26,5 +29,13 @@ launcher:
run-launcher: launcher run-launcher: launcher
docker run -v /var/run/docker.sock:/var/run/docker.sock -it --rm $(TAGBASE)-launcher docker run -v /var/run/docker.sock:/var/run/docker.sock -it --rm $(TAGBASE)-launcher
run-launcher-detached: launcher
docker run -v /var/run/docker.sock:/var/run/docker.sock -itd --rm $(TAGBASE)-launcher
# wizzard # wizzard
wizzard: mirror run-creator wizzard: mirror run-creator
# CI Detector
detector:
docker build -t cloner-mirror-dev .
docker run -it --rm -v tester-gitt:/data cloner-mirror-dev