-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
47 lines (32 loc) · 846 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
36
37
38
39
40
41
42
43
44
45
46
47
.PHONY: manifests deploy
dc = docker compose
ENVIRONMENT ?= local
HELM_ARGS = manifests/chart \
-f manifests/values.yaml \
-f manifests/env/${ENVIRONMENT}.yaml \
--set image.tag=${VERSION}
REGISTRY ?= 127.0.0.1:5001
REPOSITORY ?= salmagundi/zaken-frontend
VERSION ?= latest
build:
$(dc) build
test:
echo "No tests available"
migrate:
push:
$(dc) push
manifests:
@helm template wonen-frontend $(HELM_ARGS) $(ARGS)
deploy: manifests
helm upgrade --install wonen-frontend $(HELM_ARGS) $(ARGS)
update-chart:
rm -rf manifests/chart
git clone --branch 1.5.2 --depth 1 [email protected]:Amsterdam/helm-application.git manifests/chart
rm -rf manifests/chart/.git
clean:
$(dc) down -v --remove-orphans
reset:
helm uninstall wonen-frontend
refresh: reset build push deploy
dev:
nohup kubycat kubycat-config.yaml > /dev/null 2>&1&