-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (26 loc) · 825 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PWD := $(shell pwd)
SHELL := /bin/bash
.PHONY: build
build:
docker build -t renoirb/salt-multi-repo-helper .
.PHONY: cli
cli:
docker run -it --rm renoirb/salt-multi-repo-helper sh
.PHONY: salt-versions-report
salt-versions-report:
docker run -it --rm renoirb/salt-multi-repo-helper --versions-report
.PHONY: pillar
pillar:
docker run -it --rm renoirb/salt-multi-repo-helper salt-minion pillar.items
.PHONY: grain
grain:
docker run -it --rm renoirb/salt-multi-repo-helper salt-minion grain.items
.PHONY: projects
projects:
docker run -it --rm renoirb/salt-multi-repo-helper salt-call projects.names
.PHONY: update
update:
docker run -it --rm renoirb/salt-multi-repo-helper salt-call state.apply projects.update
.PHONY: fetch
fetch:
docker run -it --rm renoirb/salt-multi-repo-helper salt-call projects.fetch