Commit Graph

28 Commits

Author SHA1 Message Date
Alex Kavanagh 77992a5a48 charmhelpers sync for yoga release
Change-Id: I230b814a9944d4dab15aeb020504df3170a1978f
2022-04-07 12:26:30 +01:00
Alex Kavanagh 374dc1f035 Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.

Change-Id: I66a986bd9dfcd03fa199fb293ac8f8869a3d6959
2021-05-03 16:09:06 +01:00
Alex Kavanagh c59fa98451 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I95f8da0789b7f165677b031284acc4fadfdfeab4
2021-04-03 20:31:22 +01:00
Ryan Beisner cbf5b0bff8
Sync charm/ceph helpers, tox, and requirements
Change-Id: If70d66e7f279e9052fbafaa55019cb4a1754bc95
2019-09-30 21:43:36 -05:00
David Ames 80b597d5a2 Update charm-helpers-hooks.yaml and sync ch
Using the new version of the sync tool which removes the charmhelpers
directory before syncing, run charm helpers sync to find any unexpected
missing dependencies.

Change-Id: I1d414271c6191829992a8628de62f160dfc66ee0
2019-02-12 15:57:51 -08:00
Alex Kavanagh 9c12812735 Switch the charm to support py3
Some major changes:
* the charm has been rebased (from a Python perspective) to be rooted in
  the charm directory.  This is a single root.
* Imports have been changed so that the don't add lots of imports to the
  namespace of the module doing the import.
* The code that used to run at module import time has been made lazy
  such that it only has to run if the relevant functions are called.
  This includes restart_on_change parameters, the harden function and
  the parameters to the guard_map.  Appropriate changes will be
  submitted to charm-helpers.
* Several tests had to be re-written as (incorrect) mocking meant that
  text fixtures didn't actually match what the code was doing.  Thus,
  the tests were meaningless.
* This has had a net positive impact on the unit tests wrt to importing
  modules and mocking.

Change-Id: Id07d9d1caaa9b29453a63c2e49ba831071e9457f
2018-10-18 15:43:03 +01:00
Frode Nordahl 7e8713b01b Update repo to do ch-sync from Git
Change-Id: Idc8eddcb2973736df76d7d7d8354fe681fbab64a
2017-09-26 09:55:32 +02:00
James Page 58bf5b0628 Add support for application version
Juju 2.0 provides support for display of the version of
an application deployed by a charm in juju status.

Insert the os_application_version_set function into the
existing assess_status function - this gets called after
all hook executions, and periodically after that, so any
changes in package versions due to normal system updates
will also be reflected in the status output.

This review also includes a resync of charm-helpers to
pickup hookenv and contrib.openstack support for this
feature.

Change-Id: I8c1d6b9b6d42bcc357d764ec1bd04a36e9982f57
2016-09-20 12:35:19 +01:00
Edward Hope-Morley 4b98e30307 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: Icf48829e010d35d7d7a4ccd547eae6a8c511c04e
2016-03-31 19:30:33 +01:00
Corey Bryant c4d0c80135 [corey.bryant,r=trivial] Enable sync of payload.archive 2016-01-08 02:36:07 +00:00
Liam Young fb46491d74 [gnuoy,trivial] Pre-release charmhelper sync to pickup cli module 2015-07-31 14:10:41 +01:00
Liam Young 7353f5a8e8 Merged next in and resolved conflicts 2015-01-09 15:47:07 +00:00
Corey Bryant 2f0162b9ea Remove __init__ from charm-helpers yaml. 2014-12-11 14:51:17 +00:00
Corey Bryant 778d78c957 Add __init__ to charm-helpers sync. 2014-12-11 13:40:30 +00:00
Corey Bryant 5bdf5f4817 Add contrib.python.packages to charm-helpers sync. 2014-12-10 15:54:30 +00:00
Brad Marshall 096ab680c0 [bradm] Added charmsupport to charmhelpers 2014-10-30 16:03:48 +10:00
James Page eee9635e0d Rebase, resync 2014-10-02 10:22:36 +01:00
James Page 0fc9af6238 Resync helpers, deal with clustered HA + HTTPS 2014-09-30 09:24:17 +01:00
James Page bbc7aa5cb2 resync helpers 2014-09-26 11:13:52 +01:00
Edward Hope-Morley 2c45f88142 reset charm-helpers sync path to lp:charm-helpers 2014-09-23 11:21:46 +01:00
Edward Hope-Morley e8685516c8 synced lp:~cts-engineering/charms/trusty/charm-helpers/ipv6 2014-09-22 21:21:48 +01:00
James Page 44e161ab6e Ensure all helpers are synced 2014-09-22 17:12:12 +01:00
James Page d4261e4055 Sync multi-http helper 2014-09-22 16:51:30 +01:00
Hui Xiang 0c34eae15d Sync charm-helpers, fix ipv6 format address. 2014-09-17 16:37:24 +08:00
Hui Xiang ddf4fbc2ae Sync charm-helpers, support haproxy for IPv6. 2014-08-21 17:04:33 +08:00
Liam Young 22f0e8159a Sync peer storage from charmhelpers 2014-08-11 13:54:34 +00:00
James Page f5ed6b80af [trivia] Add missing helper 2014-07-28 13:05:42 +01:00
Corey Bryant f9e489c86c Move charm-helpers.yaml to charm-helpers-hooks.yaml and
add charm-helpers-tests.yaml.
2014-06-24 17:19:15 +00:00