From 45bc79ac2304a0ff8739fc44139f59a7ffafa1c3 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 29 May 2024 11:44:20 +0200 Subject: [PATCH] lint everything, not just roles --- .ansible-lint | 1 + Makefile | 2 +- changelogs/config.yaml | 33 +++++++++++++++++---------------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index eeb971e0..c1619cb0 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -9,3 +9,4 @@ only_builtins_allow_collections: exclude_paths: - meta/runtime.yml - tests/ + - .github/ diff --git a/Makefile b/Makefile index 4b27dc16..b40e6042 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ info: lint: $(MANIFEST) $(RUNTIME_YML) | tests/test_playbooks/vars/server.yml yamllint -f parsable tests/test_playbooks roles - ansible-lint -v --offline roles/* + ansible-lint -v --offline ansible-playbook --syntax-check tests/test_playbooks/*.yml | grep -v '^$$' flake8 --ignore=E402,W503 --max-line-length=160 plugins/ tests/ @echo "Check that there are no changes to $(RUNTIME_YML)" diff --git a/changelogs/config.yaml b/changelogs/config.yaml index 85982bfb..211cb804 100644 --- a/changelogs/config.yaml +++ b/changelogs/config.yaml @@ -1,3 +1,4 @@ +--- changelog_filename_template: ../CHANGELOG.rst changelog_filename_version_depth: 0 changes_file: changelog.yaml @@ -10,22 +11,22 @@ notesdir: fragments prelude_section_name: release_summary prelude_section_title: Release Summary sections: -- - major_changes - - Major Changes -- - minor_changes - - Minor Changes -- - breaking_changes - - Breaking Changes / Porting Guide -- - deprecated_features - - Deprecated Features -- - removed_features - - Removed Features (previously deprecated) -- - security_fixes - - Security Fixes -- - bugfixes - - Bugfixes -- - known_issues - - Known Issues + - - major_changes + - Major Changes + - - minor_changes + - Minor Changes + - - breaking_changes + - Breaking Changes / Porting Guide + - - deprecated_features + - Deprecated Features + - - removed_features + - Removed Features (previously deprecated) + - - security_fixes + - Security Fixes + - - bugfixes + - Bugfixes + - - known_issues + - Known Issues title: theforeman.foreman trivial_section_name: trivial use_fqcn: true