Commit Graph

49 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 1c5b5990da Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: I7ac8aabbf03cd765514f4887d10840dbd42ecef3
2023-07-12 13:24:58 +02:00
Dmitriy Rabotyagov ed78ef112c Update tox.ini to work with 4.0
With tox release of 4.0, some parameters were deprecated and are ignored now
which causes tox failures. One of the most spread issues we have is using
`whitelist_externals` isntead of `allowlist_externals`


Change-Id: I4354d6b70b5a88efa3bac56363c14b478b9e32b4
2022-12-27 17:53:06 +01:00
OpenStack Release Bot 520492fd02 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I55751d157e5b0c74b475a5a4acc3c804d59e9714
2022-12-13 13:04:56 +00:00
Dmitriy Rabotyagov 59786da1bb Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and
should not be used.

With that we're also dropping setup.py as otherwise new setuptools
fails for docs job as well.

Change-Id: I264ec313bb9cdb1363339688cc63f080156c12cc
2022-05-30 14:34:58 +00:00
Zuul 75c659f612 Merge "Only support python3 for the qpid bindings" 2022-02-03 17:52:44 +00:00
Jonathan Rosser d9b6cfdced Only support python3 for the qpid bindings
Change-Id: I4aef99914e8ea07014c44f1d70ae71b1c82e6a31
2022-02-02 04:44:27 -05:00
Dmitriy Rabotyagov b2cc5475c8 Use integrated linter jobs
Change-Id: I800489c6287e8b4e57371acb2611b361f4b649ba
2022-01-21 18:53:11 +02:00
Jonathan Rosser 8269806b9a Remove centos-8 job and tidy role metadata
Change-Id: I2991e5f58f086ace6e5238b28450a5503129e49c
2021-12-07 10:15:18 +00:00
Jonathan Rosser 745f21aeba Remove legacy experimental job
This is a functional job which would now be done with the integrated
tests.

Change-Id: Ic53886ee1833469daef0b31a46ea361e449d7697
2021-12-07 08:21:31 +00:00
Jonathan Rosser 078582cdcb Remove centos-7 and bionic testing
Change-Id: I045421366e7b0e5d13f40533007594ec9814a076
2021-12-07 08:21:16 +00:00
Dmitriy Rabotyagov 32cea21c03 Add PKI role to local a-r-r
Change-Id: Ia149dce32077cfa9fdf88afcc122d34199477c75
2021-07-02 20:45:57 +00:00
dmitriy 1c06fe38f0 [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.


Change-Id: I7f0d3c4232eba23f8a00f1f20696eb9f663efa56
2021-01-22 18:23:01 +02:00
Jonathan Rosser df4260f612 Avoid linter error OSA0002 when updating apt cache
Change-Id: Iff331bad7723a798921bce117797801194f7311c
2021-01-14 08:08:05 +00:00
root 2b7b2ada9f Add centos-8 and ubuntu focal support
adding python3-qpid-proton package for centos-8 and focal support.

Change-Id: I3adbc415f5afcb020f648a5e98a5dda193673624
2020-07-30 19:11:49 +03:00
Andreas Jaeger bc2f958d6c Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Id712703a2472b16e3c07ce2f9e4675cf81aaf22e
2020-06-25 14:29:50 +00:00
Andreas Jaeger 038a7f29b4 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme and Sphinx versions,
  enable build warnings and fix problems
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Remove usage of pip_install role, this is retired now

Change-Id: I64133e987965d02faa25102b98ad102ff9ef142b
2020-06-18 07:31:28 +01:00
Marc Gariepy 6395495605 remove ansible_python_interpreter
ansible_python_interpreter is now set to auto in the tests repo.
it doesn't need to be overwritten in the test anymore.

also fix bindep.txt for centos7.

Depends-On: https://review.opendev.org/734676/
Change-Id: I9d21ab44bf0d9d19228e6f65439aaea042e288e5
2020-06-15 11:25:44 -04:00
OpenStack Release Bot b62ba2d038 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ied77c20470a222757d7540cd20f207d52a9afa9c
Sem-Ver: feature
2020-06-01 13:07:12 +00:00
Andreas Jaeger 9072982dbf Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since openstack-ansible starts using Victoria (master) requirements but has not
branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I9a57bb991c6909289f1c79e6d22b0eafcadbec38
2020-05-20 16:44:58 +00:00
Dmitriy Rabotyagov c2dfeb8455 [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].

[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38554

Change-Id: Ifdbebe6fe4679a1a7af65e671746c98fe06d19fd
2020-05-12 23:49:21 +03:00
OpenStack Release Bot 0e240da61d Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I4cbe39b1361a66600a940a2d989902844a4c7bd6
Sem-Ver: feature
2019-10-22 18:51:54 +00:00
Andreas Jaeger 99d0f00060 Remove 42.3 Jobs
Version 42.3 is dead, so we remove the job.
Support of Leap 15 will be in a different patch.

Change-Id: Ic8f1988195b874ebe1f41fb29813c5dccd9055a5
2019-08-20 06:57:06 +00:00
Zuul 79993f1be7 Merge "fix tox python3 overrides" 2019-08-15 17:09:22 +00:00
melissaml 64aa7ed7b9 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ia1fcaa7c0abb8743dcb03a78280f2d23297177e9
2019-07-10 22:39:14 +08:00
huang.zhiping abda594b30 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: Ie2a69845090bc4f7800c7c33d54e6725dca06106
2019-05-27 13:57:51 +00:00
Zuul 9202684117 Merge "Prepare reno for stable/rocky" 2019-04-24 20:20:59 +00:00
Zuul b6aba9fecd Merge "Trivial: Fix the pep8 warning" 2019-04-24 19:23:42 +00:00
OpenDev Sysadmins d7cf7bae1a 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:23 +00:00
Mohammed Naser 82213e344a docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail.  This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.

Change-Id: I6a4a25366ff5cdcfe9d9c067e0877c03bcf4ce96
2019-04-04 05:12:37 +00:00
Andy Smith 5490543352 Create sasl user in func test
Change-Id: I8f0941bd847f26e0ba5ec925606ee30396be9230
2018-12-13 15:47:05 -05:00
melissaml f328d6e9bd Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: I5a4898bba96791de2243d46478a3651a02080d47
2018-11-08 22:39:20 +08:00
Jesse Pretorius 75eda42f7c Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.

Change-Id: I9aee5e3dd0d84ad6b642267c487e8ce2a9a84318
2018-10-22 11:52:45 +01:00
Doug Hellmann ccaec99aaf 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: I8999138842023b10430d7aaa7750911e7ac561f0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:41:34 -04:00
Jean-Philippe Evrard ccceb22907 Prepare reno for stable/rocky
Change-Id: I9ae1118ad19bdd26bb660108ed3bd90de48a3de3
2018-09-19 21:25:32 +02:00
huang.zhiping fff43d0738 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I79ab33f892303fedff26a30862142df3e97bcc4a
Story: #2002586
Task: #24319
2018-09-14 16:13:48 +00:00
huang.zhiping 9e88ac00a7 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: Idd86f02f30a9d7587dc62fc3e6a158410a03360b
Story: #2002586
Task: #24319
2018-09-14 10:13:11 -06:00
Jesse Pretorius 9290ccc383 Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.

We do the following:

1. We remove the 'upgrade' job, given that it's been broken
   all cycle due to the way the job executes and we need to
   regroup to figure out another way to do it. The associated
   scripts are also removed.
2. We consolidate test-vars.yml and the overrides into a single
   file to conform to the standard in other roles and ensure
   that the overrides are only set in one place.

Change-Id: I2dcb1576a75c4d09c6d99e1369775301e99df770
2018-09-14 10:10:10 -06:00
Jean-Philippe Evrard afb740e676 Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.

This should fix it.

Change-Id: I65b167a65699e504dbd463be5225af24626a96cd
2018-07-12 16:59:41 +02:00
Heba Naser 5e3a7130de Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.

This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!

The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.

Depends-On: https://review.openstack.org/579208
Change-Id: I5e47ad1d394b72e57e9264fc4abd2a499dc618ef
2018-07-01 14:37:55 -04:00
Jean-Philippe Evrard 1269d327cd Introduce base Zuul jobs
Now that the zuul base jobs from infra have been merged, we
can test the role as an independant entity.

The first step is to get it pass lint tests, so all the
other jobs as marked as non-voting.

Change-Id: I00d6c066fea8ec70ae032010199d00f089005065
Co-Authored-By: Andrew Smith <ansmith@redhat.com>
2018-06-25 13:27:33 +00:00
Andrew Smith 1bf861a1c3 remove zuul directory for now 2018-06-05 16:12:02 -04:00
Andrew Smith 3ae656b56f Add ssl setup 2018-06-05 09:10:38 -04:00
Andrew Smith 8a516a937f Fix test name 2018-06-01 10:20:38 -04:00
Andrew Smith 547ebfcff5 Role requirements and tests 2018-05-25 15:24:30 -04:00
Andrew Smith 0c0f7b189e setup mesh 2018-05-24 13:21:12 -04:00
Andrew Smith a0b0733be0 install through most of config setup 2018-05-21 15:41:30 -04:00
Andrew Smith 7cfe3675f2 added tasks 2018-05-14 15:58:18 -04:00
Andrew Smith e83fe9fb34 Initial commit 2018-05-10 14:48:21 -04:00
ajssmith 95a717c54a
Initial commit 2018-05-10 14:45:26 -04:00