Commit Graph

10 Commits

Author SHA1 Message Date
Aurelien Lourot b3ad0c1659 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.
Also put the right flake8 in the right *requirements.txt
file.

Change-Id: Iad6603ef9cecefddbe88766580112191c0472a35
2021-03-05 11:28:27 +01:00
Ghanshyam Mann 51753bb79f [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template, tox.ini etc.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Id04e5bae7f096a5b02225e9def1d7d25731b057e
2020-03-24 17:19:01 +00:00
Frode Nordahl 91ce3cea1d Remove TLS related helpers
We will add these further up the stack in ``layer-openstack``,
addition counterpart: I12f45236632b608e07fdd35d31b90b84ca92eb1f

Make some adjustments so the build job used solemnly for gate
testing can pass again.

Needed-By: I8a72acd451dd21e1b042b7f71f6d98e164737ac1
Depends-On: I12f45236632b608e07fdd35d31b90b84ca92eb1f
Closes-Bug: #1840899
Change-Id: I007275c041ca5465664a6b5d441e56c0316c405d
2019-08-30 16:06:12 +02:00
Camille Rodriguez 98c9190d60 Avoid pollution and false positives with tox.ini
- adapted testenv build to build in a tmp folder outside of src
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I4d7814a557bb17afb932ddcff6c75f2a8f61f51e
2019-08-28 14:05:30 -04:00
Doug Hellmann a27fc0c760 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I4aec49a43c2dd43cc90f4a59cc85ce928190738a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:39:35 -04:00
Vu Cong Tuan aa5b9024f4 Add py36 testenv
Python 3.6 is installed by default in Ubuntu 18.04 LTS.
Therefore, according to Transition Plan [1],
it'll be handy to have py36 testenv.

For more details, please check Python2 Deprecation Timeline [2]
and Python3-first Goal - Completion Criteria [3].

[1] https://wiki.ubuntu.com/Python/Python36Transition
[2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[3] https://review.openstack.org/#/c/575933/8/goals/stein/python3-first.rst@42

Change-Id: I6a09a0de534c2934e23337ca958554e7efd72b03
2018-06-28 08:23:55 +07:00
Liam Young 4d51706679 Add SSL cert/key config options
Add config options for charm users to be able to set SSL key, ca and
cert

Add dummy tox target to placate CI

Change-Id: If7e39e3cf73a2341539443fed228cac0cdf49b9f
2016-07-12 19:09:37 +00:00
James Page c994d3c349 Add basic tox targets to verify layer build and mock out pep8 for now 2016-07-01 10:23:31 +01:00
James Page 1947f603d2 Tidy, drop surplus files 2015-12-14 17:15:31 +00:00
Liam Young 64072861fc Initial commit 2015-12-14 12:34:27 +00:00