Update project definitions to fix tox targets
charmcraft 2.0.0 no longer accepts "build" as a command [1]; replacing
with "pack".
Renaming the "charm_build_name" value in osci.yaml as rename.sh expects
it.
[1]: https://juju.is/docs/sdk/build-and-deploy-minimal-machine-charm
Change-Id: I7b7af74dc7da21e09d4f162cbb64c225531fcf25
diff --git a/osci.yaml b/osci.yaml
index 018c4a6..10bdc9c 100644
--- a/osci.yaml
+++ b/osci.yaml
@@ -4,5 +4,5 @@
- charm-unit-jobs-py39
vars:
needs_charm_build: true
- charm_build_name: storpool
+ charm_build_name: cinder-storpool
build_type: charmcraft
diff --git a/tox.ini b/tox.ini
index 0ee1b02..6fcd64b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -124,7 +124,7 @@
# In order to keep the old behaviour we rename the file at the end.
commands =
charmcraft clean
- charmcraft -v build
+ charmcraft -v pack
{toxinidir}/rename.sh
[testenv:func-noop]