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
Create a default_update_peers which all API charms can use to publish
their admin, internal and public addresses to their peers.
Change-Id: Iacfdc2a0247f35d0bddfef47c9dd5d4cf66cd309
Closes-Bug: #1858132
Depends-On: I1977e2c9625952eb22a63be0da0d6979c9f23072
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
- 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
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>
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ieb07012f348b7eb7ba7dee679cb44262e176d7cd
Story: #2002586
Task: #24317
The default HAProxy values are set in the layer-openstack template for
haproxy. Bring the layer-openstack-api default configuration in line
with the classic charms which do not set values in the config.yaml but
rely on the template. If any future changes are required, a change in
one place (layer-openstack) will affect all charms.
Change-Id: I045d66bf606ef57b066b4d6af1d4829eeed3bc93
Add the dns-ha config option as part of the enablement of DNS HA
in OpenStack reactive API charms
Change-Id: I7864c1d8114a15943cbaec645710cf6baf0213ed
Partial-Bug: #1727376
Depends-On: I1a6cdeffa3aa8657b957ba68cd09face27f93b27
Only os-public-hostname was in the config.yaml. Add the missing
os-internal-hostname and os-admin-hostname to config.yaml. The rest of
the code DTRT with these config options.
Change-Id: I91b814db1ab5eef765abffea0f2f4359a9ff639d
This change add a 'worker-multiplier' option to layer-openstack-api
which is used by a concomitant commit in the charms.openstack library.
The usage is identical to non-reactive charms as described in the
charmhelpers library.
Change-Id: Id4145ffaa622727523003015d7012ece2f0eae4f
Due to commit 95493a4 in charms.reactive, the default handlers in
charms.openstack broke. This is because charms.reactive no longer will
run handlers that are not in the hooks/ or reactive/ directory tree; the
default handlers in charms.openstack are in the library code, which is
pip installed into the module packages.
This patch, and related patches in charms.openstack and layer-openstack
enable the default handlers to function again. Note that from a charm
author perspective, the API to default handlers is identical. This is
merely an implementation change.
Change-Id: I38d46eaab3d64dd43166957a4aee01163bc00f5b
Partial-Bug: #1707685
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