Commit Graph

16 Commits

Author SHA1 Message Date
Alex Kavanagh 14cb348a09 Migrate unit tests from testr to stestr
Note: there aren't actually any unit tests, but this at least moves it
away from the deprecated library.

Change-Id: Ic9bec4534bc200d427241cd60b5b90b0fd89102e
2021-02-10 10:50:51 +00:00
Camille Rodriguez 4233290785 Avoid pollution and false positives with tox.ini
- 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: I6574937828a114add62a3417d30ec6541b124485
2019-08-27 09:02:45 -04:00
OpenDev Sysadmins c40d6743b1 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:32:02 +00:00
Zuul 54e06a9217 Merge "Omit the twice occured words in README.md" 2019-01-09 10:29:36 +00:00
zhouxinyong 955a0be813 Omit the twice occured words in README.md
Change-Id: Ia99403fe85c5d08fda8c52e06af3061a84fc8972
2019-01-07 14:17:46 +08:00
lijunjie 6892b60581 Fix the misspelling of "configuration"
Change-Id: Ie1b78b5449acca71223083ef6656836941c622f7
2018-12-27 11:28:22 +08:00
lijunjie 3d97a416ee Fix the misspelling of "configuration"
Change-Id: I9e459b3cfbf2521e6b80583fe51f6cbf9d5ef792
2018-12-27 11:26:33 +08:00
Zuul 8d5995dc31 Merge "import zuul job settings from project-config" 2018-10-04 13:15:23 +00:00
Doug Hellmann 30e6b7fdbd 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: I0157a9abf9f2e5af7ad78a9baac9ff519edaae21
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 11:29:10 +00:00
Doug Hellmann a017d84504 import zuul job settings from project-config
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: Id34caff5e692448a9b65b3ab573bb637a38e3df3
Story: #2002586
Task: #24317
2018-10-04 11:28:52 +00:00
Andreas Jaeger 3b97e40e3b Update tox to remove deprecated pip option
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.

Remove so that python installation works.

Change-Id: I41e6d91bc9ca0c40e29f05ba1eabfb87523f725d
2018-10-04 12:13:54 +02:00
Alex Kavanagh 3f540c2938 Remove StateList and State from provides/requires files
When charms.reactive 0.5.0 was released, the reactive.bus.State and
reactive.bus.StateList were deprecated.  This change removes them as the
manila and manila-generic charms will no longer function.

Change-Id: Ifc025d063d5fba5f2b8b20773b4a9543f883a0ea
Closes-Bug: #1718152
2017-11-23 14:09:39 +00:00
Alex Kavanagh ceb612a49d Work around a strange bug wit reactive/juju 1.25.x
There is a strange bug where, randomly, and only with Juju 1.25.9 or 10,
the conversation for a relation doesn't exist, even though the relation
has been made.  This is a workaround that appears to have no impact on
using charm's functionality.

The clear_changed() methods are to remove a {relation-name}.changed flag
that gets set when the data on the relation changes.  However, not being
able to clear it, simply means that it will still be set the next time
the charm runs which might mean that some handlers run again.  This
shouldn't be a problem as, by design, reactive handlers MUST be
idempotent.

Change-Id: I26ec730d88e04fb3942d0240bf4eba6c6642a168
Related-Bug: 1663633
2017-02-16 11:37:25 +00:00
Alex Kavanagh 4c8d468393 Change interface to simplify transfer of configuration information
The interface between the manila charm and manila configuration charms
has been simplified so that backend charms can render their
configuration section using, say, jinja2.

Change-Id: I76866007e3c89bb16bc7985a692fbd8f3e136a71
2017-02-06 10:19:19 +00:00
Alex Kavanagh a4f85602af plugin interface for manila to backends
This commit contains the interface code to connect between the
manila charm and a backend plugin that will provide configuration
for the manila.

Plugin charms are subordinate because they need to be on the same
unit/machine as the manila file share service.

This interface also implements a 1-many interface and so contains code
to manage that.  That code will be abstracted back to charms.openstack
at some point.

Change-Id: Ied0ad014ab7b1d4778113b0d3f2bbae08075372e
2016-11-15 15:21:27 -06:00
OpenStack Project Creator 99afa9509e Added .gitreview 2016-10-31 21:23:47 +00:00