Pass SDK version to ansible roles so we can skip testing of modules
which are not supported for current SDK version
Change-Id: I5d25c0a6827536434a8f17b2a0f7de0db4c78301
Galaxy shows the README, which currently shows a "failing" badge
pointing at github actions. That's obviously not right for us.
Update this by using the zuul:gated badge and pointing to the
builds for the repo in the Zuul Dashboard.
Change-Id: I7f1254f882486514cd29a52bf05ebf5a972da490
Add rocky and stein jobs to check and gate
and remove non voting jobs of ansible devel from gates.
Change-Id: Ib231a50fa5e8427ef39077bc49ac806aa0a5732e
Use the openstacksdk base functional test instead of going all
the way back to devstack for our base. Also - defining a job
starting with openstacksdk in this repo is not ok - but that
probably just came from the original copy-pasta coming from the
sdk repo.
Use tox-siblings more and stop doing tox requirements of ../
things. The system is there and we can use it.
Add jobs to test against released openstacksdk and ansible, as well
as a non-voting to test against ansible devel branch.
Add openstacksdk to the test-requirements because it's super
required.
Move zuul.yaml to .zuul.yaml. This isn't a zuul jobs repo so
we should just make it a hidden file rather than a non-hidden.
Change-Id: I658bd1728629cd358bc17a7f00d282d04530d8fe
These may not be 100% perfect, but they are a good
starting place and we can improve them over time.
Change-Id: Ifb21554d67863b4e4e964f3e98263c3dafcb607f
collection build produces FILES.json and METADATA.json, so add them
to the .gitignore. Also, remove the version line from galaxy.yml.in
since it's generated.
Change-Id: I2ea0b04c8e56b3b7186ac2e9c475144340067636
The galaxy upload rejects GPLv3 and requires a valid SPDX license
tag. The file headers list:
GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
which is a way of saying "3 or later" - so use that SPDX tag.
Also - the license headers refer to the file being COPYING, so
rename the file and update it in the galaxy metadata to match.
Change-Id: I6c82b49d7ce5ea8c9cde939d5d37ff54b969a598
ansible-galaxy collection build modifies the contents of the tree.
Let's not go in to why this is bad, but instead just deal with it.
The issue in question is that is removes the +x bit from files in
the tree, which means you can't run a build twice in a row locally.
Shrug. Just roll with the -x and update our usage to reflect it.
Change-Id: I0f82531e99a98d656b60079fd3e94d4e3a1dbb6b
Collections are new. openstacksdk as of now doesn't support python2.
We shouldn't pretend to support python2 either. If you're using
ansible new enough to use collections, you can use python3.
This release of openstacksdk only supports 3.6 and onwards, so
set that as our min.
Change-Id: I34d544ce48f25bffde8e6e0cf82cdf9a85e681c3