Files
app-istio/helm-charts/upstream/istio-helm/files/Makefile
Aman Pandae 221cc28d53 Auto-increment chart versions for Istio
Enable auto-versioning of helm charts to ensure the FluxCD
helm controller recognizes chart changes.
Istio App has two upstream charts -
1. Istio
2. Kiali
Changes are done such that both the charts are incremented

Test Plan:
PASS: Build all packages generating an application tarball verifying
      all versions on the charts and application make sense.
PASS: Introduce temporary chart changes and ensure that the versions
      increment as expected.
PASS: Validate basic application lifecycle operations:
      upload/apply/remove/delete.

Story: 2010929
Task: 49906

Change-Id: Iec66a4298293e3e270d8322bf7ae4ab5407ba7ac
Signed-off-by: Aman Pandae <AmanPandae.Mothukuri@windriver.com>
2024-05-15 13:08:18 -04:00

42 lines
848 B
Makefile

#
# Copyright 2017 The Openstack-Helm Authors.
#
# Copyright (c) 2022-2024 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 := doc tests tools logs tmp
CHARTS := $(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
lint-%: init-%
if [ -d $* ]; then helm lint $*; fi
build-%:
if [ -d $* ]; then helm package --version $(CHART_VERSION) $*; fi
clean:
@echo "Clean all build artifacts"
rm -f */templates/_partials.tpl */templates/_globals.tpl
rm -rf */charts */tmpcharts
%:
@: