73 lines
1.9 KiB
Makefile
Raw Normal View History

# Copyright 2017 The Openstack-Helm Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
.PHONY: ceph bootstrap mariadb etcd keystone memcached rabbitmq helm-toolkit mistral neutron nova cinder heat senlin ingress all clean
2016-11-17 12:40:28 -08:00
B64_DIRS := helm-toolkit/secrets
B64_EXCLUDE := $(wildcard helm-toolkit/secrets/*.b64)
2016-11-17 12:40:28 -08:00
CHARTS := ceph mariadb etcd rabbitmq memcached keystone glance horizon mistral neutron nova cinder heat senlin ingress
TOOLKIT_TPL := helm-toolkit/templates/_globals.tpl
all: helm-toolkit ceph bootstrap mariadb etcd rabbitmq memcached keystone glance horizon mistral neutron nova cinder heat senlin ingress
helm-toolkit: build-helm-toolkit
2016-11-17 12:40:28 -08:00
2016-12-23 15:31:10 -05:00
#ceph: nolint-build-ceph
2016-11-17 12:40:28 -08:00
ceph: build-ceph
2016-11-30 16:46:07 -08:00
bootstrap: build-bootstrap
mariadb: build-mariadb
etcd: build-etcd
keystone: build-keystone
2017-01-01 03:05:49 +00:00
cinder: build-cinder
2016-12-19 15:37:39 -08:00
horizon: build-horizon
rabbitmq: build-rabbitmq
glance: build-glance
mistral: build-mistral
2017-01-03 12:42:51 -08:00
neutron: build-neutron
nova: build-nova
2017-01-09 00:26:48 +00:00
heat: build-heat
senlin: build-senlin
2016-12-23 15:31:10 -05:00
memcached: build-memcached
ingress: build-ingress
2016-12-23 15:31:10 -05:00
clean:
$(shell rm -rf helm-toolkit/secrets/*.b64)
2016-12-27 20:55:01 -05:00
$(shell rm -rf */templates/_partials.tpl)
$(shell rm -rf */templates/_globals.tpl)
echo "Removed all .b64, _partials.tpl, and _globals.tpl files"
2016-11-17 12:40:28 -08:00
build-%:
@echo
2016-12-27 20:55:01 -05:00
if [ -f $*/Makefile ]; then make -C $*; fi
if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
helm lint $*
helm package $*
@echo