Files
oidc-auth-armada-app/stx-oidc-auth-helm/files/Makefile
Jerry Sun 56984b2f30 Add Dex as a platform managed application
Add an application to deploy dex as a container for Kubernetes
authentication. This application will be packaged into an RPM and
automatically uploaded on controller-0 unlock.

Story: 2006711
Task: 37856

Change-Id: I75aeeb2f73e2119994205f54361fee939c7aca25
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2020-01-07 14:13:34 -05:00

44 lines
951 B
Makefile

#
# Copyright 2017 The Openstack-Helm Authors.
#
# Copyright (c) 2019 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
%:
@: