generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Makefile
63 lines (60 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
all:
cd create_pod; make
cd list_pod_with_invalid_kubeconfig; make
cd list_pod; make
cd list_pod_incluster; make
cd delete_pod; make
cd exec_provider; make
cd generic; make
cd auth_provider; make
cd watch_list_pod; make
cd multi_thread; make
cd exec_pod; make
cd list_secret; make
cd configmap; make
cd list_event; make
clean:
cd create_pod; make clean
cd list_pod_with_invalid_kubeconfig; make clean
cd list_pod; make clean
cd list_pod_incluster; make clean
cd delete_pod; make clean
cd exec_provider; make clean
cd generic; make clean
cd auth_provider; make clean
cd watch_list_pod; make clean
cd multi_thread; make clean
cd exec_pod; make clean
cd list_secret; make clean
cd configmap; make clean
cd list_event; make clean
test:
cd create_pod; make test;
kubectl wait --for=condition=ready --all pod -n default --timeout=60s
cd list_pod_with_invalid_kubeconfig; make test
cd list_pod; make test
cd delete_pod; make test
kubectl wait --for=delete pod/test-pod-6 -n default --timeout=120s
cd list_secret; make test
cd configmap; make test
cd list_event; make test
cd generic; make test
cd multi_thread; make test;
kubectl wait --for=condition=ready pod/test-pod-8 -n default --timeout=60s
kubectl describe po test-pod-8
cd exec_pod; make test
memcheck:
cd create_pod; make memcheck;
kubectl wait --for=condition=ready --all pod -n default --timeout=60s
cd list_pod_with_invalid_kubeconfig; make memcheck
cd list_pod; make memcheck
cd delete_pod; make memcheck
kubectl wait --for=delete pod/test-pod-6 -n default --timeout=120s
cd list_secret; make memcheck
cd configmap; make memcheck
cd list_event; make test
cd generic; make memcheck
cd multi_thread; make memcheck;
kubectl wait --for=condition=ready pod/test-pod-8 -n default --timeout=60s
kubectl describe po test-pod-8
cd exec_pod; make memcheck