Skip to content
Snippets Groups Projects
  1. Jun 26, 2022
  2. May 23, 2022
  3. Mar 31, 2022
    • Jakob Meng's avatar
      Refactored tox requirements for different Ansible releases · a03dd054
      Jakob Meng authored
      Sorted pip requirements file to improve readability.
      
      Moved pip requirements for tests into tests subdirectory and dropped
      'pip-' prefix to shorten filenames and conform with common naming
      scheme for pip requirements files.
      
      Added constrains on OpenStack SDK 1.*.* to job ansible-collections-\
      openstack-functional-devstack-releases on master branch because only
      stable/1.0.0 branch is compatible to the OpenStack SDK 0.*.* series.
      
      Changed job ansible-collections-openstack-functional-devstack-releases
      on master branch to non-voting because OpenStack SDK 1.*.* has not
      been released to PyPI yet, so tests on master branch are expected to
      fail once we introduce breaking changes from stable/1.0.0 branch.
      
      Change-Id: I6b6bb8c6900f7c8341bbf3f9a24999fbf693ba4b
      a03dd054
  4. Mar 29, 2022
  5. Oct 04, 2021
  6. Apr 07, 2021
  7. Feb 15, 2021
    • anbanerj's avatar
      Migrating image_info module from AnsibleModule to OpenStackModule · 8d2391d8
      anbanerj authored
      1. Added ImageInfoModule class
      2. Added basic test to see if image_info reflects created image and deletion of image
      3. Added deprecated_names
      4. Added 'type'/'required' in argument_spec
      5. Removed debug statements from test as we are checking already with image_info module
      
      Change-Id: I6ab5fd5384392f9de0af01b1937a75de4f16d28d
      8d2391d8
  8. Jan 09, 2021
  9. Dec 02, 2020
  10. Dec 01, 2020
    • frenzy_friday's avatar
      Migrating networks_info from AnsibleModule to OpenStackModule · d36ac1f1
      frenzy_friday authored
      Migrated networks_info module to OpenStackModule and updated playbook to test the module in CI jobs. Added deprecated_names tyo module.
      Removed "ansible-deprecated-no-collection-name" exception for networks_info for ansible 2.10 and 2.11. Reverted 'False' to 'false' and updated filters (case sensitive) to check for 'False' instead
      
      Change-Id: I85e19f0db8b4ee549137249477d0b7f5d82e9865
      d36ac1f1
  11. Jun 23, 2020
  12. Jun 11, 2020
  13. Jun 04, 2020
    • Sagi Shnaidman's avatar
      Redesign OpenstackModule class · f3610ad0
      Sagi Shnaidman authored
      don't inherit OpenstackModule class from AnsibleModule class to
      prevent occasional overriding Ansible methods or vars and failing
      module.
      
      Change-Id: Ic34fff0c938eb87cc0d2c5e98fbafed64bf349f6
      f3610ad0
  14. Jun 02, 2020
  15. May 25, 2020
  16. May 13, 2020
    • Sagi Shnaidman's avatar
      Improve ansible-test sanity for collection · bcdf7499
      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
      bcdf7499
  17. May 12, 2020
    • Monty Taylor's avatar
      Rename all of the modules · e47c4671
      Monty Taylor authored
      This is separate from the previous patch - it's just the results
      of running the script so we can review the two a little independently.
      We should probably squash them.
      
      Change-Id: I838f15cf4a32455a5be20033c8ddc27db6ca15c0
      e47c4671
    • Monty Taylor's avatar
      Remove all of the os_ prefixes · 52905480
      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
      52905480
    • Monty Taylor's avatar
      Run linters in a temp dir instead of an install · 62712685
      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
      62712685
  18. Apr 13, 2020
  19. Mar 16, 2020
  20. Mar 13, 2020
  21. Mar 05, 2020
    • Monty Taylor's avatar
      Deal with collection build modifying tree · 97eb24ac
      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
      97eb24ac
  22. Mar 01, 2020
  23. Feb 27, 2020
    • Monty Taylor's avatar
      Fix F401 and remove exclusion · 86670bce
      Monty Taylor authored
      Change-Id: Id2dbff06925ed8326e4a214aabc19d4ada5db69c
      86670bce
    • Monty Taylor's avatar
      Fix W504 and remove exclusion · 92d7d7ca
      Monty Taylor authored
      This is a topic where there are two points of view. While neither
      is fundamentally better than the other in reality, what's best is
      to not have any arguments about it. The tox.ini comments about 503
      and 504 that were in place make the argument that:
      
        - 503 is intended to be disabled and 504 enabled by default
        - Donald Knuth believes 504 is the right way
      
      Since Donald Knuth is smarter than all of us, align with 504, match
      the comments in the file and turn on enforcement to keep it that way.
      
      Change-Id: I92d4d1e82935e30ae42a0e14e641cbe36fd6e811
      92d7d7ca
    • Monty Taylor's avatar
      Remove F403 and F405 exclusions · 2527faec
      Monty Taylor authored
      Importing from * is not a thing that should be done, as it masks
      errors and makes code hard to understand. There are some copy-pasta
      files that violate this. Mark them with noqa for now, because we don't
      actually care about them.
      
      Change-Id: I790f88c75ea546d83e347e42df0050ad36211936
      2527faec
  24. Feb 20, 2020
    • Bram Verschueren's avatar
      Cleanup unit test requirements · 062d430f
      Bram Verschueren authored
      The unit test requirements were copied as part of the migration from the
      Ansible repo. This removes requirements that are not used in the
      OpenStack Ansible collections unit tests.
      
      Change-Id: I8b8914ffa327b4914169e79625972d4c67e406cb
      062d430f
  25. Feb 19, 2020
  26. Feb 17, 2020
  27. Jan 22, 2020
  28. Jan 20, 2020
  29. Jan 17, 2020
Loading