Commit Graph

8 Commits

Author SHA1 Message Date
Frode Nordahl 161aaef2f2
Remove inherited configuration options invalid for charm
Change-Id: I33a9602793c2a19d8d21e4524999c5c2dd51e85f
Closes-Bug: #1879088
2020-05-16 23:09:42 +02:00
Frode Nordahl c8ff34937a
Rebuild for sync layer-openstack
Also explicitly set ``include_system_packages`` to False.

While that setting is now the a default we consume from
``layer-basic`` it is more clear for the causual reader
of the charm source code.

Remove redundant entries from ``wheelhouse.txt``.

Change-Id: I242795da17bed0c78a7c7808d6b80d11528c65c7
2019-08-22 09:00:19 +02:00
Frode Nordahl 4df0f75249
Distribute direct charm dependencies
Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Change-Id: Ic4e33d59039421593c8ca22f08834ba6f6561b26
2019-08-14 16:51:37 +02:00
Alex Kavanagh 9b0199a547 Ensure that venv is used
This is to ensure that the charm doesn't trample on the system packages
for the things that it needs to install, and that it will cooperate with
another reactive charm, especially as it is a subordinate.

Also fix some PEP8 E722 errors as that seems to have been added to the
pep8 standard set.

Change-Id: I9efb78c6f738db2284677dbde85f9e2a3ed0a6fe
2017-11-17 10:33:04 +00:00
Ryan Beisner bb82897cda Add .gitreview and clean up repo
Update tox.ini to lint unit_tests, clean lint.

Add src/README.md placeholder to prevent inheritence of the
lower layer readme file in the built charm.

Add src/tox.ini and test-requirements for Amulet prep.

Update metadata.yaml for series.

Update tox.ini to minimize and clarify pep8 ignores.

Resolve flake8/pbr test-requirements version range conflict.

Mock apt in unit tests.

Add required tags data in src/metadata.yaml for charm proof.

Use openstack/charms.openstack proper in test-requirements
instead of a user space fork.

Update src/layer.yaml repo value to point to official location
and remove unnecessary options.

Change-Id: I5ca9e6cf9f8f91b3ce0ec3b48cf63535ca37c0f7
2016-08-03 18:59:01 +00:00
Alex Kavanagh a1d134bccd Update the charm to work with renamed barbican-hsm interface
The barbican-hsm-plugin interface was changed to barbican-hsm.
2016-07-13 16:43:08 +00:00
Alex Kavanagh f8b5939ba9 Renamed the softhsm_plugin to softhsm
This is part of a rename strategy to remove the word 'plugin' from the charm.

Also changed the charm so that it runs in a venv for better isolation.
2016-07-13 14:09:37 +00:00
Alex Kavanagh cbe7232aac Initial commit of basic softhsm plugin charm
This is a barebones charm (as part of this commit) which only connects to the
prinical barbican charm and announces its name (as softhsm).  Next steps are to
install and configure the software for the softhsm and determine what should go
across the charm relation.
2016-06-23 13:48:39 +00:00