Update makefiles to use specific helm version
[oom.git] / kubernetes / dmaap / Makefile
1 # Copyright © 2018  AT&T Intellectual Property.  All rights reserved.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 HELM_BIN := helm
15
16 make-dmaap: make-dmaap-bc make-message-router make-dmaap-dr-node make-dmaap-dr-prov
17
18 make-dmaap-bc:
19         cd components && $(HELM_BIN) dep up dmaap-bc && $(HELM_BIN) lint dmaap-bc
20
21 make-message-router:
22         cd components && $(HELM_BIN) dep up message-router && $(HELM_BIN) lint message-router
23
24 make-dmaap-dr-node:
25         cd components && $(HELM_BIN) dep up dmaap-dr-node && $(HELM_BIN) lint dmaap-dr-node
26
27 make-dmaap-dr-prov:
28         cd components && $(HELM_BIN) dep up dmaap-dr-prov && $(HELM_BIN) lint dmaap-dr-prov
29
30 clean:
31         @find . -type f -name '*.tgz' -delete
32         @find . -type f -name '*.lock' -delete