charm-barbican:stable/yoga

Last commit made on 2023-08-17
Get this branch:
git clone -b stable/yoga https://git.launchpad.net/charm-barbican

Branch merges

Branch information

Name:
stable/yoga
Repository:
lp:charm-barbican

Recent commits

abc10a6... 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: I041f7603b166b128b0d8d4cf8f770de0088a95a4

23da3aa... 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: I50dbac6e47c6844ec44651db448ff89ae4d5f318

de2ce77... by Corey Bryant

Ensure upgrades are executed

Prior to this change, big bang upgrades were not being run
when openstack-origin was updated to a new release.

Closes-Bug: #1979553
Change-Id: I3a9d0211bede8db43cd5ae8e0db51736155282f6
(cherry picked from commit 6d73c8263f5ad520a75c2fc6207bba65136ef6f3)

358a668... 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.

Change-Id: I3e48abd73f71218cb2af9aa37fca702748070a11

4a6c6be... 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: I54a885b9882181f516632d498bf63449b3f61e37

8415ded... 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: Ib993e07f73d694d9d0189dc55d6ab1e3c9d31938

c3bb1bb... by Tiago Pasqualini da Silva

Add use-public-endpoint config option

Currently, this charm sets the host_href config option with the
admin endpoint. This patch adds a config option to allow it to be
configured to use the public endpoint, so that the secrets could
be accessible through this endpoint.

Closes-bug: #1642769
Change-Id: Ice7131459753f15e1184c687a24301689df338e2

9d5b82e... by Alex Kavanagh

Update to build using charmcraft

Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft. Changes:

- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
    -> indicate build with charmcraft
- modify tox.ini
    -> tox -e build does charmcraft build/rename
    -> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
  and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI

Change-Id: I826947b1b358c4b04ba18135035292e135cce985

2021e2c... by Alex Kavanagh

Migration charm to charmhub latest/edge track

Change-Id: I3860f8c83cc4ab37c429d7a44f0b8d292078b657

8a16206... 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: I2f54eb8f1fae913603f8692986361b88a32cc221