Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 29, 2022
  3. Oct 04, 2021
  4. Aug 09, 2021
  5. Aug 02, 2021
  6. Jul 28, 2021
  7. Apr 07, 2021
  8. Nov 23, 2020
  9. Jul 26, 2020
    • Sagi Shnaidman's avatar
      Temporarly disable check-import · 1f3417cd
      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
      1f3417cd
  10. Jun 23, 2020
  11. Jun 04, 2020
  12. May 19, 2020
  13. May 15, 2020
    • Monty Taylor's avatar
      Build collection with 2.10 and ignore things more better · 8a928ef7
      Monty Taylor authored
      We need 2.10 for building collection tarballs with build_ignore.
      Also, build_ignore takes globs, not leading filepaths, so add
      globs to the dirs in our list so that we properly don't include
      these.
      
      Change-Id: I809e100fa80bffafda4002487590a6dcd6aea0c1
      8a928ef7
  14. May 12, 2020
    • 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
  15. Apr 02, 2020
  16. Mar 19, 2020
    • Monty Taylor's avatar
      Cleanup functional tests · cf7011a7
      Monty Taylor authored
      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
      cf7011a7
  17. Mar 17, 2020
  18. 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
  19. Mar 03, 2020
    • Monty Taylor's avatar
      Test with and assert support for python3 · 53affc32
      Monty Taylor authored
      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
      53affc32
  20. Mar 01, 2020
  21. 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
      Fix E128 and remove exclusion · 72ba76f1
      Monty Taylor authored
      Change-Id: I0517c0ed09d7834df763c745936793739e88ef9d
      72ba76f1
    • 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
    • Monty Taylor's avatar
      Fix F841 and remove exclusion · 15f7f7fc
      Monty Taylor authored
      Change-Id: I92802ced580d42781cfd875389daa232aa8a64a5
      15f7f7fc
    • Monty Taylor's avatar
      Run flake8 in linters · 90e68f2e
      Monty Taylor authored
      We should run flake8 when we run the other checks. This
      repo is mostly python.
      
      Change-Id: I3cbecf9ef24f784c072841656b55c4162673dcaa
      90e68f2e
    • Monty Taylor's avatar
      Remove old artifacts when building new ones · 40fe3667
      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
      40fe3667
    • Monty Taylor's avatar
      Add a tool to build collections with pbr · 5936a8f6
      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
      5936a8f6
  22. Jan 20, 2020
  23. Jan 19, 2020
  24. Jan 17, 2020
Loading