-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
193 lines (151 loc) · 4.78 KB
/
Makefile
File metadata and controls
193 lines (151 loc) · 4.78 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
# Python
# ============================================================================
.PHONY: clean-python
clean-python:
cd python && make clean
.PHONY: build-python
build-python:
cd python && make build
.PHONY: test-python
test-python:
cd python && make test
# ============================================================================
# Java
# ============================================================================
.PHONY: clean-java
clean-java:
cd java && make clean
.PHONY: build-java
build-java:
cd java && make build
.PHONY: test-java
test-java:
cd java && make test
# ============================================================================
# Docs
# ============================================================================
.PHONY: build-docs
build-docs:
cd docs && make build
.PHONY: serve-docs
serve-docs:
cd docs && make serve
# ============================================================================
# All
# ============================================================================
.PHONY: clean
clean: clean-python clean-java
.PHONY: build
build: build-python build-java
.PHONY: test
test: test-python test-java
# ============================================================================
# Docker targets for integration testing
# ============================================================================
.PHONY: docker-setup
docker-setup:
cd docker && make setup
.PHONY: docker-up
docker-up: docker-setup
cd docker && make up
.PHONY: docker-down
docker-down:
cd docker && make down
.PHONY: docker-down-clean
docker-down-clean:
cd docker && make down-clean
.PHONY: docker-status
docker-status:
cd docker && make status
.PHONY: docker-health
docker-health:
cd docker && make health
.PHONY: docker-logs
docker-logs:
cd docker && make logs
# Individual catalog docker targets
.PHONY: docker-up-hive2 docker-up-hive3 docker-up-polaris docker-up-unity docker-up-iceberg
docker-up-hive2:
cd docker && make up-hive2
docker-up-hive3:
cd docker && make up-hive3
docker-up-polaris:
cd docker && make up-polaris
docker-up-unity:
cd docker && make up-unity
docker-up-iceberg:
cd docker && make up-iceberg
.PHONY: docker-down-hive2 docker-down-hive3 docker-down-polaris docker-down-unity docker-down-iceberg
docker-down-hive2:
cd docker && make down-hive2
docker-down-hive3:
cd docker && make down-hive3
docker-down-polaris:
cd docker && make down-polaris
docker-down-unity:
cd docker && make down-unity
docker-down-iceberg:
cd docker && make down-iceberg
# ============================================================================
# Java Integration test targets
# ============================================================================
.PHONY: java-integ-test
java-integ-test:
cd java && make integ-test
.PHONY: java-integ-test-hive2
java-integ-test-hive2:
cd java && make integ-test-hive2
.PHONY: java-integ-test-hive3
java-integ-test-hive3:
cd java && make integ-test-hive3
.PHONY: java-integ-test-polaris
java-integ-test-polaris:
cd java && make integ-test-polaris
.PHONY: java-integ-test-iceberg
java-integ-test-iceberg:
cd java && make integ-test-iceberg
.PHONY: java-integ-test-unity
java-integ-test-unity:
cd java && make integ-test-unity
.PHONY: java-integ-test-glue
java-integ-test-glue:
cd java && make integ-test-glue
# ============================================================================
# Python Integration test targets
# ============================================================================
.PHONY: python-integ-test
python-integ-test:
cd python && make integ-test
.PHONY: python-integ-test-hive
python-integ-test-hive:
cd python && make integ-test-hive
.PHONY: python-integ-test-hive2
python-integ-test-hive2:
cd python && make integ-test-hive2
.PHONY: python-integ-test-hive3
python-integ-test-hive3:
cd python && make integ-test-hive3
.PHONY: python-integ-test-polaris
python-integ-test-polaris:
cd python && make integ-test-polaris
.PHONY: python-integ-test-unity
python-integ-test-unity:
cd python && make integ-test-unity
.PHONY: python-integ-test-iceberg
python-integ-test-iceberg:
cd python && make integ-test-iceberg
.PHONY: python-integ-test-glue
python-integ-test-glue:
cd python && make integ-test-glue