Commit graph

8 commits

Author SHA1 Message Date
be4cc6901b Fix yamllint
All checks were successful
yamllint / yamllint (pull_request) Successful in 32s
Differential yamllint / yamllint-job (pull_request) Successful in 43s
Linter / ansible-lint (pull_request) Successful in 1m42s
Differential yamllint / yamllint-job (push) Successful in 6s
yamllint / yamllint (push) Successful in 29s
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-09-17 15:31:42 +02:00
0e64c90fea Fix yamllint truthy warnings
- Add .forgejo/workflows/* to ignore list since workflow files use
  GitHub Actions syntax (like 'on:') that doesn't conform to Ansible
  YAML truthy value requirements
- Fix truthy values in vars files to use lowercase 'true'/'false'
  instead of 'True'/'False' to comply with yamllint requirements
2026-08-05 21:27:26 +00:00
127d7c3269 get yamllint to ignore templates in openshift apps
previously, the yamllint ingores for templates only worked for roles one
level down. Since our openshift apps are nested in the openshift-apps
directory, yamllint was trying to lint jinja templates with a .yml
extension. This updates the yamllint ignores to include templates in
openshift apps roles.

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2026-02-26 08:59:38 +00:00
c661866d3c Enable CI using forgejo actions
Some checks failed
Linter / lint (push) Failing after 20s
Clean the old CI setups and define forgejo actions on ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-19 14:47:58 +01:00
12b4478bd5 Add precommit config
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-12 12:44:12 +10:00
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
4cb4e55304 Update yamllint config to fix the CI errors
Recently we started seeing CI failing on fi-ansible-lint-diff job, this update
to yamllint config should fix that. See
https://ansible.readthedocs.io/projects/lint/rules/yaml/#yamllint-configuration
for more information about the default yamllint config.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-10-16 11:33:41 +02:00
24deb169fb CI: Run yamllint on added or modified YAML files
Signed-off-by: Nils Philippsen <nils@redhat.com>
2020-07-09 15:40:09 +00:00