- Apr 28, 2022
-
-
Jakob Meng authored
Ansible Galaxy content importer is using format strings [1] which are supported since Python 3.6. Our Zuul CI job for OpenStack Queens uses Ubuntu 16.04 LTS (Xenial Xerus) as its base image which has Python 3.5 only. Ref.: [1] https://github.com/ansible/galaxy-importer/blob/b7140d6b3b5e172553788ae9aaa7526f8ff49ea2/galaxy_importer/main.py#L117 Change-Id: I5d3b2f71937a0e4ab9a8d49df10744f7d95a7de2
-
- Mar 29, 2022
-
-
Jakob Meng authored
Reverted commit 1f3417cd [1] which disabled check-import.sh script. Python module galaxy_importer will return a non-zero return value on errors since commit 4f5fd0f29c [2]. Use galaxy-importer 0.3.1 for Ansible 2.9 and galaxy-importer 0.3.2 for later Ansible releases because galaxy-importer moved from ansible 2.9 to ansible-core 2.11 in 0.3.2 [3]. Ref.: [1] https://opendev.org/openstack/ansible-collections-openstack/commit/1f3417cdef4b55fa6cfb241815a2531358fa286f [2] https://github.com/ansible/galaxy-importer/commit/4f5fd0f29c30c354cd92837ac71109abc0b48082 [3] https://github.com/ansible/galaxy-importer/commit/98933547831922c45243f39d85eefe150b55fc36 Change-Id: I898149727d80cd7effe6a04ca77a13ef1774e781
-
- Aug 16, 2021
-
-
Sagi Shnaidman authored
Because we don't include tests in collection tar. Change-Id: I3697f7b0ccd115ff1859658417d51e1643e10be8
-
- Aug 02, 2021
-
-
Sagi Shnaidman authored
And fix some module typos. Disable voting for octavia jobs till investigation. Change-Id: Ie4cb69aa2337b0f951ac194cf456e4515dbc24fb
-
- Jul 26, 2020
-
-
Sagi Shnaidman authored
check-import has ansible as a dependency, which installs only 2.9 ansible version and it conflicts with higher ansible versions Issue to check-import will be submitted to have ansible-test as a dep. Change-Id: Ide46a8a6b45677e82e57eb6a4c5dfe412d7b37fd
-
- Jun 23, 2020
-
-
Sagi Shnaidman authored
Change-Id: Ib6850184faf1bc0808502c098d610a5e2f41f47e
-
- Jun 17, 2020
-
-
Sagi Shnaidman authored
Add tox to requirements Use only 3.6 python Set ansible-test 2.9 as a gate job Change-Id: I40757e1efc3ee297b44cda6c35cdce4c64ebaa4f
-
- Jun 02, 2020
-
-
Sagi Shnaidman authored
Ignore for now deprecation warnings (see https://github.com/ansible-collections/overview/issues/45#issuecomment-628262697) Current there are bugs in ansible-test that prevent to run these tests. Change-Id: I9829bb23a45699e61d7b0af5ecc3e1a94bbbca85
-
- May 19, 2020
-
-
Monty Taylor authored
Run galaxy-importer on the built artifact and fail if galaxy is going to fail. Remove license_file entry in galaxy.yml Change-Id: I6c2ac22ccb56f52f8efcefc5891b10875ae8c0b5
-
- May 16, 2020
-
-
Monty Taylor authored
The collection routing implementation for 2.10: https://github.com/ansible/ansible/pull/67684 just update the filename to be meta/runtime.yml. Change-Id: I858f53e66bef2c40fb7ec2821d412bd966417106
-
- May 13, 2020
-
-
Sagi Shnaidman authored
Check only things we build into collection. Ignore sanity files from full CI jobs. Add queens to gate because it's voting. Add files to ignoring when building collection. Remove non-required lines from ignorign sanity files. Change-Id: I0dde756efa133cf75b67d072af78a1f8307ce932
-
- May 12, 2020
-
-
Monty Taylor authored
The 2.10 transition has a routing.yml file that points each individual module from ansible/ansible to a new location. That means we can put: os_server: redirect: openstack.cloud.server into lib/ansible/config/routing.yml in ansible/ansible and have the result be the end user's playbooks still working with the old names while providing new names that are less ugly. This adds a routing file to our collection repo, as well as the script used to generate the new mapping. Change-Id: Ia5d18282b14ad0d86a347343be8bb477ae47130a
-
Monty Taylor authored
We can't run linters in an install because installs expand symlinks to regular files so the ansible-test code that detects symlinks can't work so it looks at docs for symlink aliases as if they were real. Change-Id: I0a5659a1f693261a21a5b29528f950b846205f2e
-
- Mar 13, 2020
-
-
Monty Taylor authored
For reasons surpassing understanding this doesn't seem to get overwritten. Change-Id: Ib4d6b38757112908dbf58d70015482831a8c2e95
-
- Mar 05, 2020
-
-
Monty Taylor authored
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
-
- Mar 01, 2020
-
-
Monty Taylor authored
We only support python3 Change-Id: Ieb82eb3369c4ac73f3595dc84ca11e1f11766a79
-
Monty Taylor authored
We haven't needed this in a VERY long time. Change-Id: I35041c2c6ae421e7caaef3c04ffca92e2ff10e35
-
Monty Taylor authored
Turns out there's a stdlib function for this. Change-Id: I38885c4b6d973b2a7083a04acb3f5cea9ad78ad9
-
- Feb 27, 2020
-
-
Monty Taylor authored
For local dev, multiple iterations can wind up with multiple files in the build_artifact dir. Remove them when building so that the ls command works. Change-Id: Id309c34679d2c0b6d9380665a381af4b52495d19
-
Monty Taylor authored
OpenStack in general uses git tags to drive versioning of artifacts. This is important because of our code review driven workflow, since patches don't necessarily land in a predictable sequence, so flows requiring a version number in a file to be updated at a specific time are problematic. By having pbr generate the correct version number then putting that into the galaxy.yml file, we can match the behavior without too much undue burden. Also ignore build_artifact directory. Change-Id: Id02fee682fb5a4b6fd6dcb0644848e6d1269e19b
-