Skip to content
Snippets Groups Projects
  1. 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
  2. Dec 19, 2023
  3. Oct 12, 2022
  4. Sep 26, 2022
    • Marcin Juszkiewicz's avatar
      ansible-lint: cleanup our skip list · 387de845
      Marcin Juszkiewicz authored
      removed:
      - 701 [galaxy_info missing] is no longer emited
      - 602 [empty string compare] is now opt-in
      - 208 [permissions not mentioned] is no longer emited
      - 106 [role name] is no longer emited
      
      renamed from number to role name:
      - 503 [no-handler]
      - 301 [no-changed-when]
      
      Change-Id: I8b059d87c94499decbd9b115ef2cde033aa88fbd
      387de845
    • Pierre Riteau's avatar
      CI: allow Jinja templating anywhere inside task and play names · e890f161
      Pierre Riteau authored
      With the release of ansible-lint 6.7.0, the openstack-tox-linters job
      started failing with these errors:
      
          WARNING  Listing 30 violation(s) that are fatal
          ansible/roles/ceilometer/tasks/config.yml:66: name: Jinja templates should only be at the end of 'name' (name[template])
          [...]
      
      Add this new check to skip_list for now.
      
      Change-Id: Ia82a88ee3b9bb6a3cb09f09c6568d1914ee2592d
      e890f161
  5. Apr 12, 2022
  6. Feb 15, 2022
  7. Mar 19, 2021
  8. Mar 11, 2021
    • Mark Goddard's avatar
      ansible-lint: add unnamed-task to the skip list · 32f1b6cf
      Mark Goddard authored
      The 5.0.3 release of ansible-lint makes the linters job fail, due to the
      addition of an unnamed-task rule. We have quite a large number of
      unnamed tasks, typically include_tasks or include_role. We may want to
      address this at some point, but not right now.
      
      Change-Id: I4ee706fe2463d62e4e16412117d4373748ea43e3
      32f1b6cf
  9. Aug 21, 2020
  10. 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
Loading