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: Icad049b5d152306be943c9c7177bbf751b48ddb0
This commit is contained in:
Alex Kavanagh
2022-01-27 15:29:27 +00:00
parent 09e5ddc8d0
commit 886c2ea713
20 changed files with 245 additions and 967 deletions

View File

@@ -8,10 +8,7 @@ description: |
tags:
- networking
series:
- bionic
- focal
- groovy
- hirsute
- impish
subordinate: true
requires: