~ionutbalutoiu/charms/trusty/neutron-api/next

22 by Liam Young
Added Makefile and charm-helpers-sync.yaml. Fixed lint
1
#!/usr/bin/make
2
PYTHON := /usr/bin/env python
3
4
lint:
81.1.4 by Corey Bryant
Overall refresh to current install from source approach
5
	@flake8 --exclude hooks/charmhelpers actions hooks unit_tests tests
22 by Liam Young
Added Makefile and charm-helpers-sync.yaml. Fixed lint
6
	@charm proof
7
48 by James Page
[james-page,r=gnuoy] Add HTTPS+HA support with network split configurations
8
unit_test:
22 by Liam Young
Added Makefile and charm-helpers-sync.yaml. Fixed lint
9
	@echo Starting tests...
10
	@$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
11
33 by James Page
Resync helpers, add standard targets to Makefile
12
bin/charm_helpers_sync.py:
13
	@mkdir -p bin
14
	@bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
15
        > bin/charm_helpers_sync.py
16
17
sync: bin/charm_helpers_sync.py
80.1.1 by Brad Marshall
[bradm] Fixed merge conflicts
18
	@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
77.2.1 by Liam Young
Add amulet tests
19
	@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
20
21
test:
22
	@echo Starting Amulet tests...
23
	# coreycb note: The -v should only be temporary until Amulet sends
24
	# raise_status() messages to stderr:
25
	#   https://bugs.launchpad.net/amulet/+bug/1320357
86.2.2 by Corey Bryant
Remove env from juju test in Makefile
26
	@juju test -v -p AMULET_HTTP_PROXY --timeout 900 \
77.2.1 by Liam Young
Add amulet tests
27
        00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse \
81.1.4 by Corey Bryant
Overall refresh to current install from source approach
28
        16-basic-trusty-icehouse-git 17-basic-trusty-juno \
29
        18-basic-trusty-juno-git
33 by James Page
Resync helpers, add standard targets to Makefile
30
48 by James Page
[james-page,r=gnuoy] Add HTTPS+HA support with network split configurations
31
publish: lint unit_test
33 by James Page
Resync helpers, add standard targets to Makefile
32
	bzr push lp:charms/neutron-api
33
	bzr push lp:charms/trusty/neutron-api