Commit Graph

20 Commits

Author SHA1 Message Date
rajeshP524 e3c8ec2285 Fix Sphinx module version dependencies
Fix openstack-tox-docs build errors due to Sphinx module
dependencies by pinning versions for Sphinx

Change-Id: I36900278b4737a4ba2a019d4938b940ad8aee828
2024-04-05 10:07:41 +05:30
Masco 173c9a1afa fix docs tox job
openstack docs tox job is failing after the sphinx new release,
this pr fixing it by setting a upper constraints

Change-Id: I8d3249ec8eb207d17dc175e205fd131d772c59b8
2023-08-23 11:53:23 +05:30
Sanjay Chari cdac1ce0c6 Update molecule version
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
2022-10-28 13:35:04 +05:30
Asma Syed Hameed 088e34f99e The cryptography package now requires pip 19+ which is
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
2021-02-16 10:55:23 +05:30
Asma Syed Hameed 2928e1951f Pin pyrsistent as a new release(0.17.0) breaks python2.7 support
Change-Id: Iffc995656a43224ae9c018c3c141b13e4d0216e5
2020-10-21 14:24:55 +05:30
Masco Kaliyamoorthy 91101dbdc8 fix lint errors
Change-Id: Id857fc63f91d7673a5944637e821466e871990d3
2020-10-14 21:11:44 +05:30
Charles Short 73138475dc Add molecule infrastructure
- 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>
2019-12-16 08:11:35 -05:00
Zuul 5ec71e7579 Merge "Add pypi publishing testing" 2019-05-30 13:21:02 +00:00
Charles Short 156d0fe533 Cap sphinx for py2 to match global requirements
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>
2019-05-16 12:57:53 -04:00
Sorin Sbarnea 489300d832 Add pypi publishing testing
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
2019-04-10 17:00:44 +00:00
Charles Short 30fe497de4 Fix doc theme
Fix doc build failures due to newer oslosphinx.

Change-Id: I010990ebc067d8863951d66fedcdeeab9b07b871
Signed-off-by: Charles Short <chucks@redhat.com>
2019-03-29 14:33:37 -04:00
agopi 4969f31ce1 Update ansible-lint execution
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
2019-01-29 18:36:59 +00:00
Sorin Sbarnea 7bc805ef08 Fix package building failure due to empty description
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
2018-11-08 18:42:17 +00:00
akrzos 1c3b60a8c8 Mix and Match Workloads
* 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
2017-12-12 11:08:50 -05:00
jkilpatr c2654c826b Fix some errors that slipped by the linters
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
2017-06-09 13:30:33 -04:00
jkilpatr a2cb8300f2 Docs test needs Sphinx <1.6.0
Change-Id: Ic125c50ad2b8c1eeefe3432f87fa5a3442248bdc
2017-05-19 15:58:31 +00:00
Leif Madsen f235fe5106
Use oslosphinx when not building on read-the-docs
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
2017-01-31 14:03:40 -05:00
Leif Madsen c82c418713
Switch to using openstackdocstheme
Change-Id: Ie01ab6c56aad6a9e83dc75e46f8b36d38eee209c
2017-01-27 14:39:11 -05:00
Paul Belanger f05eadea0d
Add tox -elinters
This is the entry point for openstack gate jobs.

Change-Id: Icbebabf5ea439ef0ef20cdbda41fb9adc82965d1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-16 14:40:37 -04:00
Sindhur 06e3e3292b Adding Browbeat Infra files
Adding .gitreview file
Adding tox.ini
Adding setup.py
Adding test-requirments.txt
Fixing syntax

Change-Id: Id6d628708079440207e5f068f5f0827802f2aa14
2016-06-14 09:16:53 -04:00