charm-swift-proxy:stable/yoga

Last commit made on 2023-10-31
Get this branch:
git clone -b stable/yoga https://git.launchpad.net/charm-swift-proxy

Branch merges

Branch information

Name:
stable/yoga
Repository:
lp:charm-swift-proxy

Recent commits

157b5a2... by Corey Bryant

Enable swift payload upgrades for wallaby+

Sync charm-helpers to pick up fix for openstack_upgrade_available
that enables successful payload upgrades. This will need backporting
to stable/wallaby.

https://github.com/juju/charm-helpers/pull/869
Closes-Bug: #2040606
Change-Id: Ib6c68845516ebaffe7759e2394ca284567076a74

9725234... by Alex Kavanagh

[yoga] Ensure get_requests_for_local_unit doesn't fail on incomplete relation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].

[1] https://github.com/juju/charm-helpers/pull/827
Closes-Bug: #2028683

Change-Id: I753486de8644d25201ec7138ec2190f66533a340

0e1432e... by Corey Bryant

Pin tox to < 4.0.0

Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.

Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.

Related-Bug: #2002788
Change-Id: If7e7cda5bcf08ae536b4ba326791c917a827a8f8

3be2ffc... by Alex Kavanagh

Update the bundles to use the stable track, edge risk for yoga

The bundles for the yoga channel currently point to "latest/edge"
channel for all the charms. This update points the charms to the
appropriate channel for the charm being used, either from ceph,
openstack, ovn or the misc tracks.

Remove impish bundle as EOL.
Make yoga jobs voting as this branch needs to support yoga on focal and
jammy.

Change-Id: I1c9d3877279e68a1506788f3786da558d0b403fd

dfcdc9a... by Felipe Reyes

Use python3-jinja2 for py3.

Change-Id: Ic00d65bee184b20fe98de7ce237df5fcba961622
(cherry picked from commit 5a4e378361b47a535ed09411fac194763df00592)

001d819... by Alex Kavanagh

Updates for stable branch creation

- Set default branch for git review/gerrit.
- Switch tests to stable.
- Switch to using stable charm-helpers branch.
- Switch to using stable charm.openstack branch.
- Switch to using stable zaza, zaza-openstack-tests
  branch
- (reactive charms) Add build.lock file

Change-Id: I0bfd6e26d621749abaf8658618e536f01e7a489b

5f38205... by Alex Kavanagh

charmhelpers sync for yoga release

Change-Id: I437e6e843561230cda260d65c7fa75faf75dfbae

913c501... by Alex Kavanagh

Updates to enable jammy and finalise charmcraft builds

- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
  target.
- ensure that the openstack-origin is yoga

Change-Id: I2bd113d92c603c429ba7323a713bb901ce0f4978

733f8d9... by Alex Kavanagh

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:
https://github.com/openstack-charmers/zaza-openstack-tests/commit/2bb4271530a5a957f98b24af8d6e6b63bfb94a84

Change-Id: I0067ff7941037b7e87dbfc1fb92b48bb380bb22d
Co-authored-by: Aurelien Lourot <email address hidden>

50417cd... by Herve Beraud

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: I8757d430ab233f4a21d1d599f1a7a9a0dc68d7ef