5 Commits

Author SHA1 Message Date
Corey Bryant
2541283a7f Add package-upgrade action
The package-upgrade action is similar to the openstack-upgrade action
except that it performs package upgrades within the current openstack
release. If a new openstack release is available, the package-upgrade
action will not perform any upgrades.

Sync common files from release-tools, with modifications specific
to this layer.

Change-Id: I4eaee81e05d44d9649c37d397672d263bc2a1025
2022-01-19 17:20:07 +00:00
Alex Kavanagh
8100de4b24 Ensure that Endpoints are discovered for openstack-upgrade
Charms that use the openstack-upgrade action have the option (by
default in charms.openstack) to re-render their configuration files
after the packages have been upgraded.  If that charm has interfaces
that are based on the charms.reactive Endpoint class, then they need to
be discovered by the charms.reactive framework so that they can be
'found' by the from_flag() function when constructing an adapters
instance for the render function in charms.openstack (and ultimately
charm-helpers as a context).,  This involves running the
hookenv._run_atstart() function.

Closes-Bug: #1908267
Change-Id: Idfeac39b6d9974bcbbe1891623ff09cc447d87bb
2020-12-17 12:19:18 +00:00
Camille Rodriguez
c2b458ae14 Avoid pollution and false positives with tox.ini
- added mising test-requirements.txt file
- updated testenv build to build in a tmp folder outside of src
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I7985b07bb215ad43403a3e581197d5e139b603ac
2019-08-28 14:57:58 -04:00
James Page
1a43d4cdd4 Tidy docs on config options, drop surplus test files 2015-12-14 17:14:43 +00:00
Liam Young
3dc4b73c67 Initial commit 2015-12-14 12:34:06 +00:00