Fix boilerplate

With charm-tools>=2.8 the build output folder layout
has changed.
Also the linter will fail if the actions/ folder doesn't
exist.

Change-Id: Iad6603ef9cecefddbe88766580112191c0472a35
This commit is contained in:
Aurelien Lourot 2021-03-05 10:51:00 +01:00
parent 9d208bbe54
commit 2be3c5bf5a
3 changed files with 2 additions and 2 deletions

0
actions/.gitkeep Normal file
View File

View File

@ -1,4 +1,4 @@
# Requirements to build the layer
charm-tools
charm-tools==2.8.3
simplejson
flake8

View File

@ -28,7 +28,7 @@ basepython = python3
commands =
/bin/echo 'WARNING: *build* target is for testing only.'
/bin/mkdir -p {envdir}/tmp
charm-build --log-level DEBUG -o {envdir}/tmp/build .
charm-build --log-level DEBUG -o {envdir}/tmp/build/builds .
/bin/ln -s {envdir}/tmp/build/builds {envdir}/tmp/build/trusty
/bin/ln -s {envdir}/tmp/build {toxinidir}/build