
Upgrade metrics-server-helm version from 3.8.4 to 3.11.0. This also upgrades metrics-server version from 0.6.2 to 0.6.4. The new version supports k8s 1.24 - 1.27. Test Plan: PASS: Build package PASS: Upload, apply, update and remove the metrics-server-app PASS: check application version Story: 2010681 Task: 48638 Signed-off-by: Fernando Santos <Fernando.PereiradosSantos@windriver.com> Change-Id: I49f72e77f643b4af40570d7ebbbb508e89e6e196 Signed-off-by: Tiago Leal <Tiago.Leal@windriver.com>
42 lines
890 B
Makefile
42 lines
890 B
Makefile
# Copyright (c) 2022-2023 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
|
|
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
|
|
|
|
%:
|
|
@:
|
|
|