53 lines
1.1 KiB
Makefile
Raw Normal View History

2017-01-10 15:25:30 -08:00
.PHONY: ceph bootstrap mariadb keystone memcached rabbitmq common openstack neutron nova cinder heat maas all clean
2016-11-17 12:40:28 -08:00
B64_DIRS := common/secrets
B64_EXCLUDE := $(wildcard common/secrets/*.b64)
2016-11-17 12:40:28 -08:00
2017-01-10 15:25:30 -08:00
CHARTS := ceph mariadb rabbitmq memcached keystone glance horizon neutron nova cinder heat maas openstack
COMMON_TPL := common/templates/_globals.tpl
2017-01-10 15:25:30 -08:00
all: common ceph bootstrap mariadb rabbitmq memcached keystone glance horizon neutron nova cinder heat maas openstack
common: build-common
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
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
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
maas: build-maas
2016-12-23 15:31:10 -05:00
memcached: build-memcached
openstack: build-openstack
2016-12-23 15:31:10 -05:00
clean:
2016-12-27 20:55:01 -05:00
$(shell rm -rf common/secrets/*.b64)
$(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-%:
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 $*