Update makefiles to use specific helm version
[oom.git] / kubernetes / contrib / 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-contrib: make-contrib-awx make-contrib-netbox make-contrib-ejbca make-contrib-core
17
18 make-contrib-awx:
19         cd components && $(HELM_BIN) dep up awx && $(HELM_BIN) lint awx
20
21 make-contrib-ejbca:
22         cd components && $(HELM_BIN) dep up ejbca && $(HELM_BIN) lint ejbca
23
24 make-contrib-netbox:
25         cd components && $(HELM_BIN) dep up netbox && $(HELM_BIN) lint netbox
26
27 make-contrib-core:
28         $(HELM_BIN) dep up . && $(HELM_BIN) lint .
29
30 clean:
31         @find . -type f -name '*.tgz' -delete
32         @find . -type f -name '*.lock' -delete