This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
Makefile
104 lines (71 loc) · 1.82 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
########################################################################
# Development
tools-install:
@./scripts/tools-install.sh
tools-versions:
@./scripts/tools-versions.sh
version:
@./scripts/version.sh
lint: shellcheck yamllint helmlint httplint
helmlint:
@./scripts/helmlint.sh
shellcheck:
@./scripts/shellcheck.sh
yamllint:
@./scripts/yamllint.sh
test:
./tests/config.sh
.PHONY: httplint
httplint:
@./src/kubecf-tools/httplint/httplint.sh
########################################################################
# Build
kubecf-build:
@./scripts/kubecf-build.sh
kubecf-bundle:
@./scripts/kubecf-bundle.sh
########################################################################
# Kube dev environments
kind-start:
@./scripts/kind-start.sh
kind-delete:
@./scripts/kind-delete.sh
minikube-start:
@./scripts/minikube-start.sh
minikube-delete:
@./scripts/minikube-delete.sh
########################################################################
# Run
all:
./scripts/cf-operator-apply.sh
./scripts/cf-operator-wait.sh
./scripts/kubecf-apply.sh
./scripts/kubecf-wait.sh
./scripts/cf-login.sh
cf-login:
@./scripts/cf-login.sh
cf-operator-apply:
@./scripts/cf-operator-apply.sh
cf-operator-delete:
@./scripts/cf-operator-delete.sh
cf-operator-wait:
@./scripts/cf-operator-wait.sh
kubecf-apply:
@./scripts/kubecf-apply.sh
kubecf-render-local:
@RENDER_LOCAL=1 ./scripts/kubecf-apply.sh
kubecf-delete:
@./scripts/kubecf-delete.sh
kubecf-wait:
@./scripts/kubecf-wait.sh
########################################################################
# Test
tests: smoke brain sits cats
acceptance-tests cats:
@TEST=acceptance ./scripts/test.sh
brain-tests brain:
@TEST=brain ./scripts/test.sh
smoke-tests smoke:
@TEST=smoke ./scripts/test.sh
sync-integration-tests sits:
@TEST=sync-integration ./scripts/test.sh