Commit Graph

18 Commits

Author SHA1 Message Date
Aurelien Lourot 654d4bfc4c Sync helpers for 20.05
Change-Id: Ibc49348b236c1b7dd4dc4ab2408940180b60cff0
2020-05-18 14:49:55 +02:00
Aurelien Lourot 31fe0059f2 Remove Amulet leftover and support Python 3.8
Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423

Change-Id: I1167c67fa23482862900989d5105162af2599309
Closes-Bug: #1828424
2020-03-05 12:36:27 +01:00
Liam Young 1d375cbbac 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: I3cf07670ff649ebef957df9c8b5c908a66091a42
2018-10-10 12:41:30 +00:00
Frode Nordahl 818daebc8f Update repo to do ch-sync from Git
Change-Id: I65a1849c8288c1624fd59d4e10964ef98edd4188
2017-09-26 10:28:11 +02:00
James Page 6578871698 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-* and dev-* naming standards.

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

Add basic multi-unit test for Xenial.

Change-Id: I06a976d9fc6418f04f46f3c3cca83d2fb47f3ee4
2016-07-21 14:24:52 +01:00
Billy Olsen d2fbcdb809 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.

Update tox.ini to not use site-packages as the PyYAML installed
version conflicts with pip requirements.

Change-Id: I4c236be7fad1ce15b561832b1368ca2a789bc38a
2016-03-16 22:15:56 +00:00
Ryan Beisner 056629ef97 Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:45:00 +00:00
Ryan Beisner 8979124503 update makefile, add actions to lint checks, fix lint 2015-10-06 15:07:52 +00:00
Ryan Beisner fc31f1a950 update makefile, c-h sync yaml, tests dir - to be consistent with other os-charms; update amulet test dependencies. 2015-08-26 13:22:41 +00:00
Edward Hope-Morley 1373073fd2 [hopem,r=]
Add min-cluster-size config option. This allows the charm to wait
for a minimum number of peers to join before bootstrapping
percona and allowing relations to access the database.

Closes-Bug: 1475585
2015-07-22 12:17:09 +01:00
James Page 23dd36ab79 [freyes,r=james-page] Ensure VIP is tied to a good mysqld instance.
Re-license charm as GPL-2 for compatibility with bundled ocf script.
2015-04-20 11:53:43 +01:00
Felipe Reyes 33f46e4a61 Add tests/charmhelpers/ 2015-04-15 16:23:37 +02:00
Felipe Reyes 6485918991 Rename target to 'test' and use AMULET_OS_VIP to handoff the vip 2015-04-15 14:11:46 +02:00
Felipe Reyes 2917a37761 configure mysql_monitor agent
Defining a location rule to make sure the vip is always running in a
node that has a writable percona
2015-03-06 12:35:01 -03:00
Edward Hope-Morley 8eaea905f7 fix for hosts update issue + unit tests 2014-10-02 17:12:44 +01:00
James Page a1fffa99c6 Update makefile to be more helpful 2014-07-02 09:34:11 +01:00
James Page b52a8b2ffd Added db and db-admin hooks 2013-09-20 14:04:42 +01:00
James Page 4a9f194caa Initial charm 2013-09-03 17:52:02 +01:00