forked from validatedpatterns/retail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 1.08 KB
/
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
.PHONY: default
default: help
.PHONY: help
##@ Pattern tasks
help:
@make -f common/Makefile MAKEFILE_LIST="Makefile common/Makefile" help
%:
make -f common/Makefile $*
.PHONY: install upgrade
install upgrade: operator-deploy post-install ## installs the pattern, loads the secrets and starts the pipelines
echo "Installed"
.PHONY: install-no-pipelines
install-no-pipelines: operator-deploy ## installs the pattern
echo "Installed without pipeline setup"
.PHONY: post-install
post-install:
make load-secrets
make start-pipelines
.PHONY: start-pipelines
start-pipelines:
./scripts/start_pipelines.sh
.PHONY: test
test:
@make -f common/Makefile PATTERN_OPTS="-f values-global.yaml -f values-hub.yaml" test
.PHONY: kubeconform
kubeconform:
make -f common/Makefile KUBECONFORM_SKIP='-skip PostgresCluster,Kafka,KafkaMirrorMaker' CHARTS="$(wildcard charts/all/*)" kubeconform
make -f common/Makefile KUBECONFORM_SKIP='-skip Task,TaskRun,Pipeline,PipelineResource,PipelineRun' CHARTS="$(wildcard charts/hub/*)" kubeconform
make -f common/Makefile CHARTS="$(wildcard charts/store/*)" kubeconform