13 Commits

Author SHA1 Message Date
Jeremy Stanley
baec445a57 Correct the tox option for skipping sdist generation
The tox option to skip source distribution building is skipsdist,
but this seems to be often misspelled skipdist instead, which gets
silently ignored and so does not take effect. Correct it
everywhere, in hopes that new projects will finally stop copying
this mistake around.

See https://tox.readthedocs.io/en/latest/config.html#conf-skipsdist
and https://github.com/tox-dev/tox/issues/1388 for details.

Change-Id: Ic982e06ed216507a8a8e2d8a09ac26cabae743dd
7.0.0.0rc1 7.0.0 8.0.0.0rc1 8.0.0 9.0.0.0rc1 9.0.0
2023-09-22 18:25:10 +00:00
Douglas Mendizábal
dd4a795e3a Unpin ansible-lint
This patch unpins ansible-lint to fix the failing gate.  All lint
errors have been fixed.

Change-Id: I8d8b67ba5db19464470fc4c3887fd8dd78800e7a
2023-09-22 12:55:43 -04:00
Elod Illes
f5c86dff4e Disable auto-discovery for setuptools
With the latest setuptools release (61.0.0) ansible-role-atos-hsm's
package build command (python3 setup.py sdist bdist_wheel) started to
fail:

error: Multiple top-level packages discovered in a flat-layout:
['defaults', 'handlers', 'templates', 'releasenotes'].

This issue is mentioned in setuptools bug 3197 [1], and the suggested
workaround is to disable auto-discovery by adding 'py_modules=[]' in
setup.py.

ansible-lint also released a new version (6.0.0), which has new rules
that blocks the gate. As a workaround, this patch caps ansible-lint
version <6.0.0 to unblock the gate.

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: I3f827b3ed855ff46292dee7b21b74a622adc472d
4.0.0.0rc1 4.0.0 5.0.0.0rc1 5.0.0 6.0.0.0rc1
2022-03-26 20:17:44 +01:00
jiangzhilin
c9f757de68 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I1a0ce7526a0f6c84ace786a80f5344fc5d626f0d
3.0.0 2.0.0 3.0.0.0rc1 2.0.0.0rc1 xena-em
2021-05-04 07:39:29 +00:00
Alex Schultz
c5e5b2427b Fix linter
Skip the - vs _ name and fix the missing permissions on the rc file

Change-Id: I31409101a6e287b9ffeff1e5f544f2545a476ff5
wallaby-em 1.0.0
2021-01-12 09:07:20 -07:00
Douglas Mendizábal
e51c244f4f Use underscore instead of dash
A change was introduced to TripleO Heat Templates [1]
to expect roles to use underscores instead of dashes in
the directory name.

[1] https://review.opendev.org/#/c/713792/

Change-Id: Ie09c9d83243c510d88397e44335d2d9cb59a0b24
2020-04-29 14:58:09 -05:00
Douglas Mendizábal
5069751256 Add HA (load balancing) support
This patch add support for configuring proteccio to use
more than one HSM.  When more than one HSM is provided
the proteccio client is configured for High Availability (HA).

This patch changes the format of the variables and should
be released as a new major version. (e.g. 1.0.0).

Change-Id: Ib9989ee72a67f71275e31b966bff7673072fb3f8
2020-02-04 09:48:42 -06:00
OpenDev Sysadmins
90bb6f6ec8 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:33:14 +00:00
Douglas Mendizábal
f6f9c3f3df Add gate config
This patch adds gerrit configuration as well as an
ansible-lint gate job.

Change-Id: I13b5a6505195591f7d6471ebe151cc8ed03eae75
2019-03-05 23:37:52 -06:00
Douglas Mendizábal
485a4bb8f7 Document role variables and defaults 2019-01-11 12:12:26 -06:00
Ade Lee
26071c8875 Add files for Python build v0.1.0 2019-01-04 15:22:03 -05:00
Douglas Mendizábal
abe74a0114 Add AUTHORS file. 2019-01-04 11:13:55 -06:00
Douglas Mendizábal
4547083552 Initial commit 2019-01-04 10:51:40 -06:00