Commit Graph

30 Commits

Author SHA1 Message Date
Jonathan Rosser 9aa9119a6a Update ansible lint version
Change-Id: Ia01458f1f6183dd7d68e64645ad3829f2969e33b
2022-01-13 07:20:08 +00:00
Dmitriy Rabotyagov 7da3518bf4 Bump ansible-lint
Since role-name (106) test has been added metadata tag in
ansible-lint 5.0.9, we shouldn't exclude it explicitly.

Change-Id: I84f8a97ecce0eebf1f0fbb5c8a4fc433eedc34fd
2021-05-24 12:40:45 +03:00
Dmitriy Rabotyagov d88998cd68 Bump ansible-lint and ansible version
ansible-lint 5.0.9 has merged our NoLogPasswordRule [1]
APTRepositoryCacheUpdateRule is not relevant since
ansible fix has been merged for several years now.
Also ansible-lint provides yamllint check.

This means, we shouldn't really carry custom lint
rules and can jsut use upstream ones.

We also update ansible and collections version to
match with the integrated repo.

[1] 8bef056d69

Change-Id: Ie85d6d0a17849bbc665a7f49644c38b5f6a96bb2
2021-05-19 18:25:57 +00:00
Jonathan Rosser cef65a6390 Update ansible-lint==4.3.5, flake8==3.8.3, bashate>=0.5.1
Correct lint errors that arise from these version updates.

Change-Id: I3216032b0d383ca6d4f6304c92151ce12dc5e114
2020-09-30 11:24:29 +00:00
Andreas Jaeger 3bca43ceae Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Cleanup tox.ini for Python 3 only

Change-Id: I9d63e63cf142fded002f7212588266d88f41dd06
2020-04-10 12:34:59 +02:00
Dmitriy Rabotyagov 04d235a92c Move ansible-lint requirement
This patch moves ansible-lint requirement to test-requirements.txt
since other linters  are placed there.

Depends-On: https://review.opendev.org/679238/
Change-Id: I3205470b8299d35af9dc1e0d7b75cdce0266dbfa
2019-08-29 15:35:39 +03:00
Jesse Pretorius 761be4d372 Update ansible to latest stable 2.6.x
With this, the requirement for the os_* modules
changes from shade to openstacksdk.

Depends-On: https://review.openstack.org/611765
Change-Id: Id87d285f6d69a7d688529a87945bca1772acf618
2018-10-23 00:47:38 +00:00
Zuul b146d649e6 Merge "Add openstack client to Ansible venv" 2018-07-31 15:13:30 +00:00
Jesse Pretorius 8dad195e62 Add jmespath to test-requirements.txt
Adding this python library enables us to use the
json_query filter, which is amazing, and deserves
to be president.

Change-Id: I7b510267ebfabfa2b9aaf0220c88baf54eecf564
2018-07-26 20:21:21 +01:00
Jesse Pretorius e3f380d947 Add openstack client to Ansible venv
In order for the octavia role to upload the amphora image using
tags, we need to have access to the openstack CLI.

This will be necessary until the Ansible os_image module can
replace this shell task.

Change-Id: Ib16ff1400d0e5c3e6536a70b4e31e15849958a1c
2018-07-14 16:23:00 +00:00
Jesse Pretorius f220e2210b Add shade & python-keystoneclient to the tox venv
In order to reduce the packages required to pip install on to the hosts,
we install the extra library into the ansible-runtime venv so that tasks
interacting with keystone using our keystone module can do so by using
localhost delegation. Using this strategy, the library does not need to
be installed on the target host.

This has been done in the integrated repo in [1] and [2].

[1] https://review.openstack.org/557351
[2] https://review.openstack.org/568141

Change-Id: I672ae0f4adbf54a7d71e06e6715d562069fda877
2018-07-02 09:16:36 +00:00
Jesse Pretorius b996520fe9 Document the purpose of the test-requirements.txt file
Add comments to document the purpose of the file and the
requirements in it.

Change-Id: I7d5da249f7d2469dac4f40597177d5f731d2e131
2018-07-02 09:16:25 +00:00
OpenStack Proposal Bot 9a4aad0544 Updated from global requirements
Change-Id: I9036ebdd94803118c1257e2a5ee0b6383f137cc7
2018-03-15 07:42:10 +00:00
ZhongShengping 2816f8db75 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I15d31277284596eec7f3066d2be477a6e27c54e9
2018-03-11 07:09:23 +00:00
OpenStack Proposal Bot 6e5b1d6a30 Updated from global requirements
Change-Id: I5cbd6287fa22bdeb171be58eb375ee9d25f2f375
2017-09-16 23:21:04 +00:00
OpenStack Proposal Bot 72b42af30a Updated from global requirements
Change-Id: I9073b0827fd9c92ad8f662ceea9ef5b59fc06e8b
2017-08-18 11:39:04 +00:00
OpenStack Proposal Bot 001741944e Updated from global requirements
Change-Id: If05db57d76edee734256bd6fcf992bc49a824630
2017-07-28 14:52:11 +00:00
ZhongShengping 6c9d03571a Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Ib0c2c90dfd245f5cc99b09cc7bc3cdff1b491106
2017-07-03 16:28:21 +08:00
OpenStack Proposal Bot 19a66e70b8 Updated from global requirements
Change-Id: I7a56d137716b77bd882d7655701ffaa1e5302712
2017-06-27 17:51:24 +00:00
OpenStack Proposal Bot c928fdab03 Updated from global requirements
Change-Id: Icc97f0f9466a193b8fd76d7683345d128af4bf87
2017-06-12 13:00:33 +00:00
OpenStack Proposal Bot 28f4465709 Updated from global requirements
Change-Id: I5a217a76bbb6a00d1a46e9da0502405801831b6e
2017-06-10 21:45:56 +00:00
OpenStack Proposal Bot 4388adcd4f Updated from global requirements
Change-Id: I981e3d6e56895bcb0a0e04f42bd804d07b176a96
2017-06-02 22:04:22 +00:00
OpenStack Proposal Bot 6d45cb7167 Updated from global requirements
Change-Id: Ic5384a789d7d0c8fb093a90773cd6b8f6a1cd371
2017-05-17 03:55:49 +00:00
OpenStack Proposal Bot 3c010af1fd Updated from global requirements
Change-Id: I0e7e14ddc99d4048b0af352405bc7a88cc8cd080
2017-02-11 17:49:44 +00:00
OpenStack Proposal Bot 53e75a63d7 Updated from global requirements
Change-Id: I503ce57d1545e03e542a85971f089034ed152855
2017-02-10 05:56:53 +00:00
OpenStack Proposal Bot 590168d545 Updated from global requirements
Change-Id: I00f274d69f8e15f083180c2ba9d1902357dc0abc
2016-12-02 05:11:39 +00:00
Jean-Philippe Evrard 19c4aea3e8 Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles'
docs, we land on openstack-manuals launchpad.

This should solve it.

Change-Id: I82671efeb4cb01b18c98e7d3543fa016acfad765
2016-12-01 13:59:15 +00:00
OpenStack Proposal Bot 37b2039367 Updated from global requirements
Change-Id: Icf1940a6be9cd1d16142af702844d0c31efaeb61
2016-11-02 15:38:32 +00:00
OpenStack Proposal Bot 818db5f86c Updated from global requirements
Change-Id: I2ef34d6dbe374dbae2579bd86eb04354e24c3ff6
2016-09-29 22:37:26 +00:00
Jean-Philippe Evrard 64e65750cd Introduced all the scaffolding for test repo
- gitignore to avoid bad files
- git review to enable git review/gerrit integration
- Vagrantfile like the other repos, but not useful (yet!)
- dummy inventory file
- setup.* files because docs use pbr
- requirements files
- tox.ini for test launcher to match openstack standards
- scaffolded docs and release notes for gates to pass

Change-Id: Iaf78c8fd3c2138e1d7d4384fb83c90cb7ddd6d10
2016-08-12 14:50:07 +00:00