X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-monitor-armada-app%2Fmonitor-helm-elastic%2F0001-add-makefile.patch;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-monitor-armada-app%2Fmonitor-helm-elastic%2F0001-add-makefile.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=b8ffa0ed89d97e0c82a68848d0fe2fc6a2ad385b;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-monitor-armada-app/monitor-helm-elastic/0001-add-makefile.patch b/meta-starlingx/meta-stx-flock/stx-monitor-armada-app/monitor-helm-elastic/0001-add-makefile.patch deleted file mode 100644 index b8ffa0e..0000000 --- a/meta-starlingx/meta-stx-flock/stx-monitor-armada-app/monitor-helm-elastic/0001-add-makefile.patch +++ /dev/null @@ -1,62 +0,0 @@ -From c9c3e8ff214360eb2e5d9e7728b7bee8fe771eea Mon Sep 17 00:00:00 2001 -From: Kevin Smith -Date: Tue, 1 Oct 2019 15:25:32 -0400 -Subject: [PATCH 1/1] add makefile - ---- - Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 43 insertions(+) - create mode 100644 Makefile - -diff --git a/Makefile b/Makefile -new file mode 100644 -index 0000000..5cf4447 ---- /dev/null -+++ b/Makefile -@@ -0,0 +1,43 @@ -+# -+# Copyright 2017 The Openstack-Helm Authors. -+# -+# Copyright (c) 2018 Wind River Systems, Inc. -+# -+# SPDX-License-Identifier: Apache-2.0 -+# -+# It's necessary to set this because some environments don't link sh -> bash. -+SHELL := /bin/bash -+TASK := build -+ -+EXCLUDES := helm-toolkit doc tests tools logs tmp -+CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) -+ -+.PHONY: $(EXCLUDES) $(CHARTS) -+ -+all: $(CHARTS) -+ -+$(CHARTS): -+ @if [ -d $@ ]; then \ -+ echo; \ -+ echo "===== Processing [$@] chart ====="; \ -+ make $(TASK)-$@; \ -+ fi -+ -+init-%: -+ if [ -f $*/Makefile ]; then make -C $*; fi -+ if [ -f $*/requirements.yaml ]; then helm dep up $*; fi -+ -+lint-%: init-% -+ if [ -d $* ]; then helm lint $*; fi -+ -+build-%: lint-% -+ if [ -d $* ]; then helm package $*; fi -+ -+clean: -+ @echo "Clean all build artifacts" -+ rm -f */templates/_partials.tpl */templates/_globals.tpl -+ rm -f *tgz */charts/*tgz */requirements.lock -+ rm -rf */charts */tmpcharts -+ -+%: -+ @: --- -1.8.3.1 -