1 From c9c3e8ff214360eb2e5d9e7728b7bee8fe771eea Mon Sep 17 00:00:00 2001
2 From: Kevin Smith <kevin.smith@windriver.com>
3 Date: Tue, 1 Oct 2019 15:25:32 -0400
4 Subject: [PATCH 1/1] add makefile
7 Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++
8 1 file changed, 43 insertions(+)
9 create mode 100644 Makefile
11 diff --git a/Makefile b/Makefile
13 index 0000000..5cf4447
18 +# Copyright 2017 The Openstack-Helm Authors.
20 +# Copyright (c) 2018 Wind River Systems, Inc.
22 +# SPDX-License-Identifier: Apache-2.0
24 +# It's necessary to set this because some environments don't link sh -> bash.
28 +EXCLUDES := helm-toolkit doc tests tools logs tmp
29 +CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))
31 +.PHONY: $(EXCLUDES) $(CHARTS)
36 + @if [ -d $@ ]; then \
38 + echo "===== Processing [$@] chart ====="; \
43 + if [ -f $*/Makefile ]; then make -C $*; fi
44 + if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
47 + if [ -d $* ]; then helm lint $*; fi
50 + if [ -d $* ]; then helm package $*; fi
53 + @echo "Clean all build artifacts"
54 + rm -f */templates/_partials.tpl */templates/_globals.tpl
55 + rm -f *tgz */charts/*tgz */requirements.lock
56 + rm -rf */charts */tmpcharts