Fix openstack-tox-docs build errors due to Sphinx module
dependencies by pinning versions for Sphinx
Change-Id: I36900278b4737a4ba2a019d4938b940ad8aee828
openstack docs tox job is failing after the sphinx new release,
this pr fixing it by setting a upper constraints
Change-Id: I8d3249ec8eb207d17dc175e205fd131d772c59b8
This patch updates molecule version from <3 to <4.
molecule<3 has a dependency on anyconfig==0.9.7, which
was causing issues in the Zuul build pipeline.
https://zuul.opendev.org/t/openstack/build/93921d409cf9429a863dd8cae93007f1
This patch fixes the issue.
Change-Id: If9208913675e25849010de33252f829903a42700
not available by default when using the distribution packages
pyca/cryptography#5753
To resolve this, we upgrade pip in the virtualenv if it
is not new enough. We maintain the pin on <20 to ensure
that it is usable in both python2 and python3 environments
and that it doesn't bring any new setuptools requirements
into the mix.
Change-Id: I1adb92ee823558bd4e6b70ca961669ccf3e0434b
- Add molecule support to test ansible roles.
- Also fix flake8 failures.
- Also drop python36 from the templates
Change-Id: Ib647d93144a02a6be7340991c31f65842fdf3f29
Signed-off-by: Charles Short <chucks@redhat.com>
Sphinx 2.0.0 dropped Python 2.7 support. This is aligned with
in requirements project.
Change-Id: Ic1938b79d4f8526779ed67ae6eb66400ebc8b123
Signed-off-by: Charles Short <chucks@redhat.com>
Builds the source and wheel distribution as part of linting job to
assure we can build the package.
Adds packaging temp files to .gitignore to avoid poluting the
repository.
Adds a publish tox environment which can be used for manual publishing
on pypi (exceptional cases).
Change-Id: If9176b33cc13904a516d8e64d53170f52f2baf55
Updated ansible-lint to run via pre-commit only on ansible files.
Moved config file to its standard location, repository root, which
simplifies syncronization and usage.
Contains bumping ansible-lint to current version which also required
adding few more rule excludes. These excludes are going to be removed
one by one in follow-up changes. This gradual approach allow us to
improve code style without endless merge conflicts.
Config settings mostly based on those used by tripleo repos.
Bumping linters can now be done by running 'pre-commit autoupdate'.
Pro-commit always locks versions so there is no chance that a newer
linter (ansible-lint) would break CI.
Some documentation can be found at https://github.com/openstack/tripleo-quickstart/blob/master/doc/source/contributing.rst
and applies mostly to any project using pre-commit.
Co-Authored-By: Sorin Sbarnea <ssbarnea@redhat.com>
Change-Id: I05eb561c4e353b5fe0bc7c6d3ab2f8ea6c6ea2f4
Adds descriptions and avoid twine check failure when the sdist package
was build via python3. It seems that sdist command produce different
packages in this unique case where Description field becomes False
instead of UNKNOWN.
This also adds new dist tox targets that tests that packaging works
well. On CI we have diffent job that does almost the same thing.
Change-Id: I93300e49b80fc170c1b73ffb5540cd42754e6a21
* Mix and Match Workloads
* rerun_type - ['iteration', 'complete'] - allows you to rerun complete
browbeat workload or iteratively
* browbeat/config.py for loading and validating config schema
* tests/test_config.py to test config.py
Change-Id: I99ea87c01c17d5d06cf7f8d1eec3299aa8d483a5
So up until recently the 'linters' CI run ran both
the pep8 and the Ansible linters, after some review
I can only conclude that it actually was not supposed
to do that and I should have seperate Python and Ansible
linters jobs.
Anyways because of this the pep linters where out for a
few days an we got exactly two minor pep errors into our
repo.
Change-Id: I66f82021c71f89a775e05c411ee1af2dba3a1c7b
By default, we'll use the OpenStack documentation theme (oslosphinx) when
building anywhere but on the read-the-docs site. If we're building on RTD then
we'll use their preferred theme.
Change-Id: I58369177160d8685f0de8382132bc2320928b376
This is the entry point for openstack gate jobs.
Change-Id: Icbebabf5ea439ef0ef20cdbda41fb9adc82965d1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>