Makefile: detached run of master, buildall, detector
This commit is contained in:
parent
218859a7ea
commit
7d910a3aa0
11
Makefile
11
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user