4e29bc37d7
This patchset removes the amulet tests and ports them to use the zaza framework. func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/105 Code improvements and fixes * Used correct templates for test-requirements.txt and tox.ini * Fixed functional_test field in Makefile * Removed admin passwords and tokens from bundle files * Added source and openstack-origin for all bundles that need it * Added placement charm to bionic-train bundle Add configuration entries to tests.yaml Change-Id: I53201690ce844daa9445cad3491f594b673b23fe Closes-Bug: #1828424
25 lines
541 B
Makefile
25 lines
541 B
Makefile
#!/usr/bin/make
|
|
PYTHON := /usr/bin/env python
|
|
|
|
lint:
|
|
@tox -e pep8
|
|
|
|
test:
|
|
@echo Starting unit tests...
|
|
@tox -e py3
|
|
|
|
functional_test:
|
|
@echo Starting Zaza tests...
|
|
@tox -e func
|
|
|
|
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
|
|
|
|
sync: bin/charm_helpers_sync.py
|
|
@$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
|
|
|
|
publish: lint test
|
|
bzr push lp:charms/heat
|
|
bzr push lp:charms/trusty/heat
|