charm-hacluster:master

Last commit made on 2024-08-21
Get this branch:
git clone -b master https://git.launchpad.net/charm-hacluster

Branch merges

Branch information

Name:
master
Repository:
lp:charm-hacluster

Recent commits

a0f44b1... by Jadon Naas

Updates for py312 compatibility

- Added py312 section to tox.ini [testenv]
- Updated flake8 to 7.1.1 instead of 3.9.2
- Fixed pep8 errors
- Removed setuptools pin

Change-Id: I37e85e784e3cea71e3e12e3e353777f25f54a404

06da739... by Billy Olsen

Add charmcraft 3 support

Update the charmcraft.yaml file to use base and platforms, only
allowing noble support.

- Update osci.yaml to use the charmcraft 3.x/beta
- Add noble/oracular to charmhelpers
- Drop non-noble tests

Change-Id: I8e6b4040d84a7022e22305a629a854a22232d65d

2d31e02... by Brian Haley

Fix incorrect mock usage

test_configure_global_cluster() is using 'has_calls',
but that does not exist in the unittest.mock library.
Use 'assert_has_calls' as eventually this will cause
a test error.

Change-Id: Ica1fa7daaf6c90d988805c33352d3e4246af080d

96d86a1... by Brian Haley

Improve platform mocking

Patch out charmhelpers.osplatform.get_platform() and
charmhelpers.core.host.lsb_release() globally in the unit tests to
insulate the unit tests from the platform that the unit tests are being
run on.

Copied from
https://review.opendev.org/c/openstack/charm-cinder-backup/+/899200

Change-Id: Ibb36344b1c30492b8a822fb48f753c6bdf6ca279

871f551... by Zuul <email address hidden>

Merge "Get private-address for local unit from relation"

7110024... by Tiago Pasqualini da Silva

Get private-address for local unit from relation

Currently, the private-address for the local unit is queried using
unit_get, which can cause it to return an address from a different
binding. This patch changes it to always query from the relation.

Closes-bug: #2020669
Change-Id: I128420c572d5491b9af4cf34614f4534c787d02c

058d26b... by Peter Matulis

Add docs key and point at Discourse

Add the 'docs' key and point it at a Discourse topic
previously populated with the charm's README contents.

When the new charm revision is released to the Charmhub,
this Discourse-based content will be displayed there. In
the absense of the this new key, the Charmhub's default
behaviour is to display the value of the charm's
'description' key.

Change-Id: Icf59d65f7938a9a72a0dca87dfbcf13118fabea1

aa557b8... by Gabriel Cocenza

Add application version on HA Cluster charm

Closes-Bug: #2031438
Change-Id: I4dab721ebe42d4c43c09a98204ce8113892aa817

783a80c... by Felipe Reyes

Use charmcraft 2.x to build

Change-Id: Idbc4684feb56990bf9afe48645c7441c54c426a4

a127f12... by Jadon Naas

Fix typo in actions.yaml

There was a typo in actions.yaml for the resume action that was breaking
builds. This change fixes that typo. The charm will build.

Closes-Bug: 2030677
Change-Id: I08dcbec009b392ea0346c2f44a4dd27b2ab90c9c