Commit Graph

17 Commits

Author SHA1 Message Date
tushargite96 5d9280cdde Add Python3 charm jobs
Change-Id: I2c31bc9403ecb3d5981817848e7cc0962f06e591
2022-10-11 12:11:02 +00:00
tushargite96 baa1b4f61f Stop configuring install_command in tox.
It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: Ib926ff41b794d9898dbf23a571fb2bca68a6e03f
2021-06-29 15:26:47 +05:30
Frode Nordahl 7b76ebb85d
Add method for publishing releases packages map
Related-Bug: #1806111
Change-Id: Ice633e5a4011218f20a112968427fbf3fd5a0f7f
2021-03-24 15:31:45 +01:00
Alex Kavanagh 9ee61fcfc6 Switch from testr to stestr for unit tests
Change-Id: I4bcbcae51e3f207396f10d5651e09dd1d94161fb
2021-02-10 10:24:56 +00:00
Hervé Beraud 7b184e580d 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: Iaf1875acf60138aa619581a1811d95d223ca4f1d
2020-06-09 16:43:16 +02:00
inspurericzhang 8cbc9c994a Switch to Ussuri jobs
Change-Id: I06838e07cc42a37837ed3c99bccb9625fcf6d4a4
2019-10-31 17:47:30 +08:00
Camille Rodriguez 822ef695df Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

- add missing zuul.yaml to configure check/gate tests.

Change-Id: I60a7b5163c311ba929e8b44d2ff022bb75423b3c
2019-08-29 16:42:56 +01:00
Frode Nordahl d00160a97c
Merge pull request #5 from gnuoy/feature/unit-tests
Add unit_tests and drive by assorted
2019-01-16 15:57:39 +01:00
Liam Young f772252bcb Remove copy/pasta errors in names in unit tests 2019-01-16 14:45:19 +00:00
Liam Young 2351b3ad56 Add unit_tests and drive by assorted
* Add unit tests
* Fix path to repo in layers.yaml
* Ignore unit_tests etc in layers.yaml
* Make set_state calls consistently from conversation
* Setup travis (interim step until this interface is in OpenStack
  gerrit)
2019-01-15 15:36:46 +00:00
Chris MacNaughton 3dbb0b0237
Merge pull request #3 from gnuoy/bug/fix-wrong-settings-for-subordinate-config
Fix which data gets sent as subordinate_configuration
2019-01-15 12:49:05 +01:00
Liam Young ef6b4a350f Fix which data gets sent as subordinate_configuration 2019-01-15 11:45:27 +00:00
Liam Young dde4efc60f
Merge pull request #2 from gnuoy/use-json-for-config-data
Use json for subordinate configuration.
2019-01-15 08:14:13 +00:00
Liam Young 4343977350 Use json for subordinate configuration.
JSON encoding the subordinate config data is the preffered way to
pass it down the relation. This is supported by the corresponding
context https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/context.py#L1272
and this is the approach cinder-ceph takes.
2019-01-15 08:12:54 +00:00
David Ames 8152628b12
Merge pull request #1 from gnuoy/feature/add-stateless-flag-support
Add 'stateless' flag support
2019-01-14 16:17:58 -08:00
Liam Young e8e2c38042 Add 'stateless' flag support 2019-01-14 17:47:31 +00:00
Michael Skalka d9cfff2e4f initial commit, fleshed out basic interface function, readme, etc 2018-08-06 10:14:10 -04:00