Commit Graph

25 Commits

Author SHA1 Message Date
Ryan Beisner 9fb21f1840
Sync charm-helpers for py38, distro, and other updates
Change-Id: Ic50f48c3b3ba21c65cee07badf398cf3ef222c86
2020-03-05 13:31:09 +01:00
James Page 0f3203b18c Add support for radosgw upgrades
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
2019-02-12 12:32:10 +00:00
Liam Young 15bcd8c9f3 Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I0434b927be571466f9b13aff0420dd108a70e478
2018-10-10 12:39:29 +00:00
Frode Nordahl 608b331bd7 Update repo to do ch-sync from Git
Change-Id: Ie01f45ef28ed5c07a3d18fa86f7185b4e1727923
2017-09-26 09:00:53 +02:00
Ryan Beisner 33ebb858c5 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: Id91a7281d98be3bb69d42257ea9213471bdefa69
2016-07-21 18:13:52 +00:00
Billy Olsen fcfd9c38bf Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: Iee67a6bf266c8a7ded52fe1bdfde4ce59e5bea8e
2016-03-15 20:12:14 -07:00
Ryan Beisner 4a5e32368b Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:44:50 +00:00
Ryan Beisner 34f5eef608 update makefile unit test target 2015-10-06 14:38:06 +00:00
Ryan Beisner 967c014d3d Update publish target in makefile; update 00-setup and tests.yaml for dependencies. 2015-06-29 18:36:46 +00:00
Ryan Beisner a27f7b68ab resync tests/charmhelpers 2015-06-29 13:56:27 +00:00
Ryan Beisner 2bad516fc9 resync hooks/charmhelpers 2015-06-29 13:55:41 +00:00
Ryan Beisner 7e6fb122a5 cleanup 2015-06-25 21:28:20 +00:00
Ryan Beisner 5ce089edd0 re-sync hooks/charmhelpers 2015-06-23 23:46:44 +00:00
Ryan Beisner 6202362477 amulet tests - update test coverage, enable vivid, prep for wily
add basic functional checks
sync tests/charmhelpers
2015-06-22 17:36:31 +00:00
Ryan Beisner a3fcd2916d auto Makefile test target (amulet): bump juju test timeout to 2700s (same value as the juju-deployer default). Also remove explicit test names, which will cause all +x files in ./tests to be executed (as bundletester does by default). 2015-04-16 21:32:01 +00:00
Ryan Beisner e8829c187a auto add AMULET_OS_VIP to preserved env vars in makefile 2015-04-16 21:31:52 +00:00
Liam Young 638fb9cb21 Finsh unit tests and fix lint 2015-02-10 10:30:13 +00:00
Liam Young ac70e6c219 Misc ceph test fixes 2015-02-10 08:05:05 +00:00
Liam Young 8656a95a23 Start to add unit_tests 2014-11-15 09:32:24 -06:00
Corey Bryant f4977e4bab Add basic Amulet tests. 2014-09-29 01:57:43 +00:00
Corey Bryant 261711002a Move charm-helpers-sync.yaml to charm-helpers-hooks.yaml and
add charm-helpers-tests.yaml.
2014-09-27 02:57:08 +00:00
Liam Young 07537f85cb Sync charm-helpers to switch to using in memory apt cache 2014-09-17 15:11:53 +01:00
James Page 64edaaddd3 [trivial] Fixup target for publish 2014-05-21 11:10:54 +01:00
James Page 591f879315 [trivial] Add publish target to makefile 2014-05-21 11:10:19 +01:00
James Page 167a953ca4 Rebase on charm-helpers 2014-01-24 16:02:57 +00:00