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
|
|
|
|
2016-11-29 16:20:06 -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
|
2016-11-29 16:20:06 -08:00
|
|
|
COMMON_TPL := common/templates/_globals.tpl
|
2016-11-23 13:26:08 -08:00
|
|
|
|
2017-01-10 15:25:30 -08:00
|
|
|
all: common ceph bootstrap mariadb rabbitmq memcached keystone glance horizon neutron nova cinder heat maas openstack
|
2016-11-25 16:27:18 -08:00
|
|
|
|
2016-11-29 16:20:06 -08:00
|
|
|
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
|
|
|
|
|
2016-11-23 13:26:08 -08:00
|
|
|
mariadb: build-mariadb
|
|
|
|
|
2016-11-25 16:27:18 -08:00
|
|
|
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
|
|
|
|
|
2016-11-25 16:27:18 -08:00
|
|
|
rabbitmq: build-rabbitmq
|
|
|
|
|
2016-12-16 15:16:36 -08:00
|
|
|
glance: build-glance
|
|
|
|
|
2017-01-03 12:42:51 -08:00
|
|
|
neutron: build-neutron
|
2017-01-03 12:28:44 -08:00
|
|
|
|
2017-01-04 13:19:04 -08:00
|
|
|
nova: build-nova
|
|
|
|
|
2017-01-09 00:26:48 +00:00
|
|
|
heat: build-heat
|
|
|
|
|
2017-01-03 03:58:35 +00:00
|
|
|
maas: build-maas
|
|
|
|
|
2016-12-23 15:31:10 -05:00
|
|
|
memcached: build-memcached
|
2016-11-25 16:27:18 -08:00
|
|
|
|
2016-11-23 13:26:08 -08:00
|
|
|
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-29 16:20:06 -08:00
|
|
|
|
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 $*
|