Commit Graph

12 Commits

Author SHA1 Message Date
Corey Bryant 0b7d041279 Add Kinetic and Zed support
* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I577fff942606ded9885e9ba6f29040ba3fc7fb27
2022-08-26 18:40:45 +00:00
Alex Kavanagh b797fcfcbf 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: Icb73919f247c60a9e18cc2e563f0fda9c620cb14
Co-authored-by: Aurelien Lourot <aurelien.lourot@canonical.com>
2022-02-03 14:58:43 +01:00
Andy Wu fbf6cc5494 Improve root CA handling for action 'disable-pki'
Clear old root CA stored in vault/leader when action 'disable-pki'
is called

Closes-Bug: #1948989
Change-Id: I6d6a0eba53e197993b223ce6a736444d6c12d647
2021-11-03 13:32:07 +00:00
Aurelien Lourot c7cc2d4b94 Sync release-tools
In order to fix ResolutionImpossible on tox invocation.

https://github.com/openstack-charmers/release-tools/issues/151
https://github.com/openstack-charmers/release-tools/pull/152

Change-Id: I9856b8c1043051832dd4b3be165b4e022376b683
2021-07-27 07:53:00 +00:00
Alex Kavanagh f6c58fffef Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
  doesn't get 'builds' appended.  The tox change puts it
  back so that stable & master both build to the same
  directory.  This may be reviewed in the future.

Change-Id: If226d1e14a213f0c04cf63a56058682f13d32dc2
2021-02-17 12:19:59 +00:00
Alex Kavanagh 0b569e20e2 Rebuild to use charm-tools pre 2.8 release
Reverting to an earlier version of charm-tools to
resolve some building issues seen with latest 2.8.2
version.

Change-Id: I9a3ac2090648fb942414a0af4068713d92fdd395
2021-02-02 17:14:45 +00:00
Aurelien Lourot 19138d2ec5 Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: Iff422570e783282df0efb0ffb001e59546087937
2020-12-11 14:06:22 +01:00
Alex Kavanagh 7c419725bc Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard

Change-Id: I82c35d13e7cbb4586a29c70ebccb4f687a17a496
2020-09-26 18:41:25 +01:00
Frode Nordahl 187ac78f50 Update charm build requirements
Change-Id: I86a4e02a99d5fee616afd014100e6d73dad28f28
2020-03-03 09:58:51 +01:00
Ryan Beisner 9189405efd
Sync charm/ceph helpers, tox, and requirements
Change-Id: Id7b86f0fc64e7ee25aab8d8de09fd5b8b0da89c0
2019-09-30 20:59:41 -05:00
Ryan Beisner 6990332bd9 Update requirements
Resolve existing lint.

Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: Ibfa428c1a9f2d881faec6c1193fcf33612693f12
2018-10-04 16:10:30 -05:00
Liam Young b8b4f43092 Add tox.ini for building and flake8 tests
Add a tox.ini for creating virtualenvs and then executing builds,
flake8, unit tests and charm proof in those venvs. Example:

tox -e pep8
tox -e build
tox -e charm-proof
tox -e unit-tests

Partial-Bug: #1745966
2018-02-02 11:24:45 +00:00