0f3203b18c
Sync charms.ceph and use helper functions to determine whether any changes in the source configuration option are a supported upgrade path. If an upgrade path is detected then upgrade via apt_install with the full list of required packages for the radosgw to force an upgrade. Change-Id: I48a8b5d14ad6ac11af57ddf0260a4a41744e7e21 Closes-Bug: 1539335
28 lines
714 B
Makefile
28 lines
714 B
Makefile
#!/usr/bin/make
|
|
PYTHON := /usr/bin/env python
|
|
|
|
lint:
|
|
@tox -e pep8
|
|
|
|
test:
|
|
@echo Starting unit tests...
|
|
@tox -e py27
|
|
|
|
functional_test:
|
|
@echo Starting Amulet tests...
|
|
@tox -e func27
|
|
|
|
bin/charm_helpers_sync.py:
|
|
@mkdir -p bin
|
|
@curl -o bin/charm_helpers_sync.py https://raw.githubusercontent.com/juju/charm-helpers/master/tools/charm_helpers_sync/charm_helpers_sync.py
|
|
|
|
bin/git_sync.py:
|
|
@mkdir -p bin
|
|
@wget -O bin/git_sync.py https://raw.githubusercontent.com/CanonicalLtd/git-sync/master/git_sync.py
|
|
|
|
sync: bin/charm_helpers_sync.py
|
|
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
|
|
|
|
ceph-sync: bin/git_sync.py
|
|
$(PYTHON) bin/git_sync.py -d lib -s https://github.com/openstack/charms.ceph.git
|