Skip to content
Snippets Groups Projects
  1. Mar 18, 2024
  2. Jan 22, 2024
    • Michal Arbet's avatar
      Bump ansible-lint version · 47ddac41
      Michal Arbet authored
      
      The version that we were capping to is no longer compatible with latest
      upper-constraints.txt, so let us free float again.
      
      The resulting linting errors are included for now to unblock the gate,
      these will still need to be discussed or fixed later.
      
      NOTE(kevko): Temporarily disabling horizon deployment, as it's not
      possible to unblock gates without it
      
      Co-Authored-By: default avatarMichal Arbet <michal.arbet@ultimum.io>
      Change-Id: Ib7f72b2663199ef80844a412bc436c6ef09322cc
      47ddac41
  3. Nov 29, 2023
  4. Oct 20, 2023
  5. Jan 23, 2023
  6. Jan 19, 2023
  7. Dec 28, 2022
  8. Sep 29, 2022
    • Radosław Piliszek's avatar
      [tox] Fix installation of requirements · dc9ab52d
      Radosław Piliszek authored
      Both venv and linters (and its children) environments install
      kolla-ansible and thus also install the requirements.
      However, they were doing this post-factum and thus without the
      constraints pin.
      This patch also removes the installation of test-requirements
      in venv as it is meant to be used for running the software and
      we already have environments for unit tests.
      The doc requirements are left in place because docs mention
      that ``tox -e venv -- reno`` should work. They should be harmless
      but I am open to removing them as well.
      
      Change-Id: I15f1ecc216c9ba81dad740c372d297adf279a945
      dc9ab52d
  9. Apr 12, 2022
    • Dr. Jens Harbott's avatar
      Move lint requirements to dedicated file · 4cfaadec
      Dr. Jens Harbott authored
      
      These are not needed for unit tests and we want to avoid conflicts when
      running with older python versions that we still test against.
      
      We intentionally duplicate ansible and reno as requirements in order to
      avoid having to install more items than necessary.
      
      Signed-off-by: default avatarDr. Jens Harbott <harbott@osism.tech>
      Change-Id: I0ec83c3e4ae38f911b922a3bade65429d91169eb
      4cfaadec
  10. Jan 06, 2022
  11. Aug 31, 2021
    • Radosław Piliszek's avatar
      [tox] Add docs-iterative command · 24e48d4d
      Radosław Piliszek authored
      This is useful for iterative work with docs as it avoids trashing
      results from previous builds and thus saves time.
      
      Change-Id: Ic4f710725cbc2d85c28ca4e00c3a32a00a72c2da
      24e48d4d
    • Radosław Piliszek's avatar
      [tox] Optimise docs actions · 4e473a78
      Radosław Piliszek authored
      Streamline all actions to behave the same (start with clean
      env).
      
      Additionally:
      
      - doc envs do not require k-a to be (re)installed (skip_install)
      
      - this change turns on nitpicky mode to catch reference issues
        early
      
      Change-Id: I8ae8a1ca5f6f77ea498573e343889611559b5c97
      4e473a78
  12. May 25, 2021
  13. May 19, 2021
  14. Feb 20, 2021
  15. Feb 10, 2021
    • Mark Goddard's avatar
      CI: fix kolla-ansible installation after cryptography 3.4 release · 3dd6834a
      Mark Goddard authored
      Installing kolla-ansible system-wide on CentOS 8 fails with:
      
          ModuleNotFoundError: No module named 'setuptools_rust'
      
      This error appeared following the release of cryptography 3.4, which now
      includes Rust code. It can be installed without Rust using a Python
      wheel, but only with more recent pip than version 9.0.3 available as RPM
      on CentOS 8. The cryptography bug report [1] recommends pip>=19.1.1.
      
      This change switches to using pip --user when installing kolla-ansible.
      
      Also fixes an issue with ansible-lint which was failing on
      etc/kolla/globals.yml due to a missing space before comments.
      
      [1] https://github.com/pyca/cryptography/issues/5753
      
      Change-Id: Ifaf1948ed5d42eebaa62d7bad375bbfc12b134d5
      Closes-Bug: #1915141
      3dd6834a
    • Radosław Piliszek's avatar
      Lint and fix renos · 223c6793
      Radosław Piliszek authored
      One of the renos was causing issues due to a duplicated id.
      This change makes tox doc8 env lint renos and fixes
      the offending reno.
      
      Change-Id: Id3ae6e144b4261c97726cdec172ea9bef093de9e
      223c6793
  16. Dec 18, 2020
  17. Nov 02, 2020
  18. Oct 30, 2020
  19. Sep 17, 2020
  20. Sep 10, 2020
  21. May 17, 2020
    • Michal Nasiadka's avatar
      CI: Add ansible-lint to tox · d8f31e0a
      Michal Nasiadka authored
      * Reworked tox pep8 into linters job, that runs:
        - pep8
        - bandit
        - bashate
        - doc8
        - yamllint
        - ansible-lint (validate-all-files.py + ansible-lint)
      
      * Skip E701 - missing galaxy_info in meta and E602 see [1].
      * Skip E301 and E503 - followup later in a separate change
      * Added ansible-role-jobs to zuul.d/project.yaml which will run
        openstack-tox-linters job in check queue
      * Fixed remaining style issue
      * Made tox and docs reference the new env for linters
      * Dropped pype environment (not supported)
      
      [1]: https://github.com/ansible/ansible-lint/issues/457
      
      Change-Id: I494b4b151804aac8173120e6c6e42bc2fdb00234
      d8f31e0a
    • gugug's avatar
      Enable W503 for flake8 check · 22f7aecb
      gugug authored
      W503 and W504 are incompatible and we need to choose one of them.
      Existing codes follows W503, so we disable W504.
      
      Change-Id: Ic745e956dd332eb0fa49b93c1e6acb12f8a7f26c
      22f7aecb
  22. Apr 26, 2020
    • Radosław Piliszek's avatar
      Cleanup py27 support · 234272eb
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Separates test-requirements.
      
      Makes lower-constraints pass outside of CI (MarkupSafe).
      
      Adds FIXMEs about some hacky Mocks that may misbehave.
      
      Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
      234272eb
  23. Apr 04, 2020
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 45448976
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found by updated hacking version.
      
      Remove hacking and friends from lower-constraints, they are not needed
      during installation.
      
      Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
      45448976
  24. Feb 29, 2020
  25. Feb 28, 2020
  26. Feb 10, 2020
    • Radosław Piliszek's avatar
      CI: Fix deploy guide jobs · 2564b391
      Radosław Piliszek authored
      This fixes files relevant for them because k-a uses common files
      for both docs and deploy guide.
      We need this to finally get rid of Rocky mentions despite our
      recent fixes to docs.
      
      Change-Id: I46c564f3d3e53c54148186fbadfd7380c4f2fd30
      2564b391
  27. Dec 11, 2019
  28. Nov 26, 2019
    • Radosław Piliszek's avatar
      CI: Refactor a lot · a2fc6841
      Radosław Piliszek authored
      Separate upgrade logic to is_upgrade job var and rename
      scenarios to match.
      
      Rename "ACTION" to "SCENARIO" (as it is a scenario).
      
      Separate testing of dashboard (aka Horizon) and increase
      its timeout to 5 minutes (CentOS 7 slow as always).
      
      Separate initialization of core OpenStack.
      
      Use gate setup script from ./tests/
      
      Remove useless tox setupenv.
      
      Do not deploy Heat when not really necessary.
      
      Change-Id: I4fca319ccc3de7188f8b7b44c9c71321e3899467
      a2fc6841
  29. Oct 14, 2019
    • jacky06's avatar
      tox: Keeping going with docs · cde22bdd
      jacky06 authored
      Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
      suggests, keeps the build running when it encounters non-fatal errors.
      This is exceptionally useful in avoiding a continuous edit-build loop
      when undertaking large doc reworks where multiple errors may be
      introduced.
      
      [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
      
      Change-Id: I405812a0039274139e055c54ab7b451dc753c842
      cde22bdd
  30. Sep 17, 2019
  31. Jul 05, 2019
  32. Jul 03, 2019
  33. Jun 07, 2019
  34. Apr 23, 2019
  35. Apr 22, 2019
  36. Feb 27, 2019
Loading