Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh 733f8d9791 Migrate charm to charmhub latest/edge track
Update to classic charms to build using charmcraft in CI

This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests.  This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.

Bundle fix needed since z-o-t:
2bb4271530

Change-Id: I0067ff7941037b7e87dbfc1fb92b48bb380bb22d
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-24 10:26:12 +00:00
James Page 2225914257 Resync charmhelpers for Stein Swift versions
Resync charmhelpers for updates to Swift version map for Stein
release.

Change-Id: Id4a073e711100df409780436cdd37dadbb416456
2019-02-28 11:20:53 +00:00
Alex Kavanagh 4336b8d644 Convert charm to Python 3 only
* Needed to add a swift_manager/manager.py file which uses the payload
  software python modules to perform certain functions on behalf of the
  charm.  These were part of the main charm, which couldn't be retained
  in the charm due to the charm changing to Py3.
* Changed to absolute imports using the charm root as the root for all
  charm modules.
* The py2 target in tox.ini is used to test the swift_manager/manager.py
  file only.
* The .testr.conf file has been migrated to .stestr.conf

Change-Id: If37a393aa6ed27651b04810aa0bbf69eda37d7b4
2017-12-06 14:20:25 +00:00
James Page 27c669a657 Enable network-spaces for swift-storage relation
Ensure that any network space binding provided by the end user
is used as units join the swift-storage relation.

This allows backend communication to swift-storage units to be
network isolated from frontend public access to the swift
deployment.

Change-Id: If29ba3dfb1379f0cda20d9685e654d911d67df1d
Closes-Bug: 1697491
2017-11-02 09:55:47 +00:00
James Page 42ef038d22 Resync charm-helpers
Change-Id: I32c2065ec7e29a39e527198a64a2abdaccd0a254
2016-03-02 12:11:23 +00:00
uoscibot d8c3a34924 Adapt imports and metadata for github move 2016-02-29 10:50:17 +00:00