~1chb1n/charms/trusty/nova-cloud-controller/15.10-stable-flip-tests-helper-syncs

51.1.2 by Adam Gandelman
Check in start of py redux.
1
#!/usr/bin/make
2
PYTHON := /usr/bin/env python
3
4
lint:
170 by James Page
15.10 Charm release
5
	@flake8 --exclude hooks/charmhelpers,tests/charmhelpers \
6
        actions hooks unit_tests tests
51.1.2 by Adam Gandelman
Check in start of py redux.
7
	@charm proof
8
170 by James Page
15.10 Charm release
9
test:
10
	@# Bundletester expects unit tests here.
81.2.3 by Corey Bryant
Add Amulet basic tests
11
	@echo Starting unit tests...
170 by James Page
15.10 Charm release
12
	@$(PYTHON) /usr/bin/nosetests -v --nologcapture --with-coverage unit_tests
13
14
functional_test:
15
	@echo Starting Amulet tests...
16
	@juju test -v -p AMULET_HTTP_PROXY,AMULET_OS_VIP --timeout 2700
81.2.3 by Corey Bryant
Add Amulet basic tests
17
81.3.7 by james.page at ubuntu
Resync helpers
18
bin/charm_helpers_sync.py:
19
	@mkdir -p bin
20
	@bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
21
        > bin/charm_helpers_sync.py
51.1.2 by Adam Gandelman
Check in start of py redux.
22
89.1.1 by Corey Bryant
Add Makefile bin/charm_helpers_sync.py dependency to sync target.
23
sync: bin/charm_helpers_sync.py
81.3.17 by james.page at ubuntu
Rebase and resync
24
	@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
25
	@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
74 by james.page at ubuntu
[niedbalski] Force use of http for key imports
26
170 by James Page
15.10 Charm release
27
publish: lint test
73.2.5 by james.page at ubuntu
Add publish target to makefile
28
	bzr push lp:charms/nova-cloud-controller
29
	bzr push lp:charms/trusty/nova-cloud-controller