17 Commits

Author SHA1 Message Date
Alex Kavanagh
7be35ccee0 Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: Ia1cac452087b5b068c2d551313e5b50d26349e2b
2021-05-03 16:03:54 +01:00
Alex Kavanagh
3d60b48650 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: If9e43dad6b3addaea2a6587763b8e9d718bc861a
2021-04-03 20:23:18 +01:00
Alex Kavanagh
61b031c233 Updates for testing period for 20.01 release
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: I531389ed98ca2edae09697b102c8f02ba199360a
2021-01-12 15:31:13 +00:00
Aurelien Lourot
fa735fadc7 Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: I7a81f9dd0e94a13cc04e19fd11017efb9455f435
2020-12-11 13:55:05 +01:00
Aurelien Lourot
74dc156660 Add Victoria to the test gate
Also sync libraries.
Also take trusty-mitaka out of the gate because of linked bug.
Also fixed Victoria bundles as they were trying to deploy
percona-cluster.

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/434
Change-Id: I575d00b993fbff33d80956278b01e87e434713e0
Related-Bug: #1877076
2020-11-12 11:27:15 +01:00
Alex Kavanagh
bf41f03ee9 Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: Ide0a96c29f72b5233fc9b154e32c054591348191
2020-09-28 12:56:59 +01:00
Alex Kavanagh
3da0591453 Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: Ib5c2a6d9ddc88bc31b4ec395231b837c3b036eec
2020-07-27 20:50:57 +01:00
Hervé Beraud
dc7b7713d7 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.

Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: Iab7c4a26d85c8a921a500165f99e0cdc23993940
2020-06-09 15:55:19 +02:00
Aurelien Lourot
f5eacbd0c9 Fix Zaza tests, pre-freeze 'make sync' and Python 3.8 support
Change-Id: If2ac13d703f2f7b6af19f5beba5ae898c64f8584
Closes-Bug: #1828424
2020-05-12 13:50:19 +02:00
Natalia Litvinova
478cda6ad6 Migrate functional tests from Amulet to Zaza
This patch migrates functional tests from Amulet to Zaza.

func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/70

Change-Id: I92f0a9bdd3677200c775dc82695a3b950a51aac9
Partial-Bug: #1828424
2019-10-09 10:14:32 +03:00
Ryan Beisner
99da41166c
Sync charm/ceph helpers, tox, and requirements
Change-Id: I25dd883c61f6261901a76800d17ad982cb23177e
2019-09-30 22:41:36 -05:00
Pete Vander Giessen
adfd600034 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: I6c3f97d94d26f01b08cdb20421f6637ab2ba4345
2019-03-07 17:10:51 -05:00
Ryan Beisner
149bed44e4 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: If395bcf3f24c350c85ca0c4e169903f7ab38ce46
2018-10-03 11:40:48 -05:00
David Ames
d05b43970b Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: I81aba6403759fb973c3c2b0b4b0fab875ec5fc3b
2017-05-02 14:19:39 -07:00
Ryan Beisner
e460db6f64 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.

Also remove brittle auth conf checks which are failing at
cinder-ceph master. Even without those explicit checks, if auth
fails, functional tests will still fail and catch issues in gate.

Change-Id: I7b0009fa0e29dcaf7d6e5607af7b397e437aac79
2016-07-20 04:00:40 +00:00
James Page
a133878bb1 Update to charm-tools >= 2.0.0
The new release of charm-tools no longer ships the charm
command; update minimum version requirement and switch
to using charm-proof instead, unblocking current pep8
failures across all charms.

Also pin the version of requests to 2.6.0 until theblues
(indirect dependency of charm-tools) sort out its
requirements versioning.

Change-Id: Ib15828dbbedf2648769bdc06d620fa164f707061
2016-03-23 09:30:16 +00:00
Billy Olsen
421cdd642f 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.

Add tox support to the charm.

Change-Id: I7c8078ebaac1bcfbc9993330127182ffe85a2220
2016-03-16 22:31:27 +00:00