Commit Graph

247 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 07ae836651 Deprecate rsyslog_server role
Depends-On: https://review.opendev.org/c/openstack/project-config/+/863079
Change-Id: I2abe014ede0e3fa4ed07b22990c95beb2b847222
2022-10-31 16:59:05 +01:00
Erik Berg 2f6062d1b2 Remove redundant vars line
This line snuck in with I68087b411e0a056bc2c9a654bf975ea36de5fbec
probably to bring it in line with other OSA roles, but should already
be covered by the distribution_major_version line above.

Change-Id: I5c5ce45f4a29ee1b003bc3453d5439718e3e9c9c
2022-09-15 11:16:10 +02:00
Dmitriy Rabotyagov e6fea6f8ea 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.


Change-Id: Id7326c17ecc4a9388952a4fe2e90ce935047a6f8
2022-05-30 16:01:45 +02:00
OpenStack Proposal Bot c1ae1b401b Updated from OpenStack Ansible Tests
Change-Id: I732f4a57532ee0c8cbf4ce15933cd37c1e7e94ae
2022-04-04 09:46:06 +00:00
Jonathan Rosser d40741beea Cleanup setup.py config
Change-Id: I8580a9772d1e90620aa0ecdf393ea79659eacfff
2022-04-04 10:45:12 +01:00
Jonathan Rosser bb0c545fc3 Refactor use of include_vars
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.

This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.

Change-Id: I68087b411e0a056bc2c9a654bf975ea36de5fbec
2022-01-12 08:57:15 +00:00
OpenStack Proposal Bot 5c3f40af32 Updated from OpenStack Ansible Tests
Change-Id: I631dbf7d50c7d1910806948a98888889c1a2491e
2021-12-17 16:49:56 +00:00
Dmitriy Rabotyagov 3e1c9a075b Add integrated linters test
Change-Id: Ide73e6669c7a2cfa256c2af3c0c18726f5be3f16
2021-07-01 14:42:34 +03:00
OpenStack Proposal Bot 5340b650e5 Updated from OpenStack Ansible Tests
Change-Id: I9a583e758c31d4d0cdda7d93d7c5122ca1e5c1f6
2021-03-22 08:53:00 +00:00
Zuul 694341b497 Merge "[reno] Stop publishing release notes" 2021-03-18 10:52:10 +00:00
Jonathan Rosser f00fe17373 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I48cd44cfc3834e0e27d47ab67652bb559ecefd10
2021-03-16 08:55:48 +00:00
Jonathan Rosser f5fd3452c0 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: I1351347e9f2308c7a4c0ad41f0e0335071756f5e
2021-03-16 08:55:13 +00:00
OpenStack Proposal Bot 49cfc804b6 Updated from OpenStack Ansible Tests
Change-Id: I87e1f6bcc6dd30574eaab2de97e7420f49585df0
2021-03-12 22:22:53 +00:00
dmitriy 328153dfea [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: I36ee9b464c1418f9f013169c13ce8b0c6c3f4fcd
2021-01-22 18:29:15 +02:00
zhoulinhui d522633042 Replace deprecated UPPER_CONSTRAINTS_FILE variable
Change-Id: I58413660900188e2af5dd51b3eb2dc2197614c61
2020-11-10 13:12:15 +08:00
Zuul 3dce7cdaa9 Merge "Cleanup py27 support" 2020-10-19 09:32:17 +00:00
OpenStack Proposal Bot 9f4df9bf32 Updated from OpenStack Ansible Tests
Change-Id: Ib0037905c21515f36d9bffede2e06f7da9bf39a7
2020-09-24 16:59:35 +00:00
Zuul 1461e60486 Merge "Use newer openstackdocstheme and reno versions" 2020-06-05 11:42:45 +00:00
OpenStack Proposal Bot 81f0a46991 Updated from OpenStack Ansible Tests
Change-Id: I8ead7f2e3ec0054f329d30f2d2bf28a01dcd3b2f
2020-06-03 19:11:59 +00:00
Zuul 9fb63560ab Merge "Update docstheme for style" 2020-06-03 18:21:39 +00:00
Andreas Jaeger 91d242d411 Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

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: I0ea31d2aff4b9e2acd177439819524b388765f5a
2020-06-03 20:08:32 +02:00
OpenStack Release Bot 7a6bbf8deb 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: I2092a7a90a3392b51acc574b30774dc655f09779
Sem-Ver: feature
2020-06-01 13:20:59 +00:00
OpenStack Proposal Bot 91b026cf64 Updated from OpenStack Ansible Tests
Change-Id: I26746ed18cffd7be6e6e31f233524ecfe60b5dde
2020-05-22 07:11:22 +00:00
melissaml 5c1ca98fe1 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
- Cleanup doc/source/conf.py to remove noww
 obsolete content.

Change-Id: I4a8fc095762151927cd9b0a63ba0f0af93d46b14
2020-05-20 21:01:10 +00:00
Andreas Jaeger a132b3568f Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now 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: I7332563311782fe603f8ecbb3d1e6041b83fafbb
2020-05-20 18:53:17 +02:00
Zuul 33159d8251 Merge "[ussuri][goal] Update contributor documentation" 2020-05-16 07:47:33 +00:00
Zuul b56665ebfe Merge "Updated from OpenStack Ansible Tests" 2020-05-15 13:22:07 +00:00
OpenStack Proposal Bot bc8d051dc8 Updated from OpenStack Ansible Tests
Change-Id: I89d5e9713fe0e4a5651df4e476460016abfd7eda
2020-05-14 05:59:37 +00:00
Ghanshyam Mann d7ecb11b99 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

Only update required is in tox to define common baspython as py3 os that
all tox env including [testenv:functional] will use py3 instead of py2.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I1afb7ef6ef2cced0be9d4c148adbcb873c5dfec1
2020-05-14 05:59:06 +00:00
Jonathan Rosser 1d49ff67cd Drop tests that rely on the presence of a pidfile
The use of pidfiles seems to be one which causes much debate [1] and
debain buster no longer creates a pidfile for rsyslog so the tests
in this role which rely on it are broken.

Given that systemd now knows the process pid and more distros are
likley to drop the use of the pidfile, and also that the rsyslog
functionality in OSA is largely replaced with systemd journal
remote forwarding, we can remove these tests that break without a
pidfile.

[1] https://github.com/rsyslog/rsyslog-pkg-ubuntu/issues/79

Change-Id: Ia2be525c75fb8bbc549cbc3aa53b3c0db05002fa
2020-05-13 10:45:33 +01:00
Dmitriy Rabotyagov 789958ef21 [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: I2fa72e7a3e67270a72a3ecd2b69e295d5e07ad7a
2020-05-13 00:03:06 +03:00
Zuul a56d15607f Merge "Updated from OpenStack Ansible Tests" 2019-11-21 17:15:52 +00:00
Zuul d08c11af3c Merge "tox: Keeping going with docs" 2019-11-21 16:45:06 +00:00
OpenStack Proposal Bot 6aba1c8b77 Updated from OpenStack Ansible Tests
Change-Id: Ib3f78c4292e26ed27d4bff48eded9beb9eb4bb3d
2019-11-21 16:37:08 +00:00
Zuul 2811d8c339 Merge "Update master for stable/train" 2019-10-24 13:48:10 +00:00
jacky06 b02384309e tox: Keeping going with docs
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
2. Remove the unnecessary blank line for tox.ini

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Depends-On: Ie837d376bb1a1d93367369d25140dd8a9d5ac14e
Change-Id: Idf1ff2e8bfe9e012355c48e4e9590d43a336159c
2019-10-23 17:40:36 +00:00
OpenStack Proposal Bot 7708d423ba Updated from OpenStack Ansible Tests
Change-Id: If973e02dc2ab52e5dbe494f1b09a6042d6f13bf9
2019-10-23 17:27:14 +00:00
OpenStack Release Bot 48ee3a6573 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: Ief39485ac2c44ab610572cadd42a2751637b2715
Sem-Ver: feature
2019-10-22 19:04:46 +00:00
OpenStack Proposal Bot df00bf7f03 Updated from OpenStack Ansible Tests
Change-Id: If2b3f8dbd61882c2b65b6f8fb351dc47e26e04b9
2019-08-20 03:07:30 +00:00
OpenStack Proposal Bot cd782be5cc Updated from OpenStack Ansible Tests
Change-Id: I098123fbaf9967559e031780a4637cf45c6a031a
2019-07-30 19:46:42 +00:00
OpenStack Proposal Bot 59c1c448b7 Updated from OpenStack Ansible Tests
Change-Id: I8094a51a3ca7486701e893ba18a2afd5c9c4a6ed
2019-07-20 09:41:28 +00:00
OpenStack Proposal Bot f5a5857923 Updated from OpenStack Ansible Tests
Change-Id: I936c65e9406499597bc6db882dcc7002e78c5f83
2019-07-18 22:21:05 +00:00
Zuul 96bacc5f15 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-07-16 17:20:17 +00:00
melissaml abc9892eb7 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ifad0fb43db0e1ba1885cf138bb029a89b289b934
2019-07-10 21:57:21 +08:00
OpenStack Proposal Bot 257e015252 Updated from OpenStack Ansible Tests
Change-Id: I2d3e3743af215993e7011fdfa914689e6582278b
2019-06-27 10:24:23 +00:00
Zuul bef4e81454 Merge "Cap sphinx for py2 to match global requirements" 2019-05-31 02:39:15 +00:00
Jean-Philippe Evrard 5cb8e33fc8 Clarify supported SUSE versions
This role only support openSUSE Leap 15, not 42.3, not tumbleweed.
Saying all is confusing and a bad practice. This fixes it, while
ensuring the job is properly defined to test that assertion.

Change-Id: I5abdbdaa35d35effe6d56fa97dcd66ff98a6768b
2019-05-21 16:40:42 +02:00
Jean-Philippe Evrard 7778353dc1 Add integrated coverage
Currently this role doesn't test the integrated jobs.
With the dynamic execution of the roles, this role
also get tested by the integrated repo.

Change-Id: I3777ded4ca030ddf3d9e27b11cc1e830e2b54592
2019-05-21 16:40:18 +02:00
xuanyandong c0a19aca4c Cap sphinx for py2 to match global requirements
Change-Id: Ia5bbecf06019a5d72c038c30155685260ece7a51
2019-05-20 15:14:23 +08:00
OpenStack Proposal Bot 0bdce1ccbc Updated from OpenStack Ansible Tests
Change-Id: I713b465467b912c79cf33a876fe58b88c3fa1d0c
2019-05-09 11:36:10 +00:00