Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest running ansible-lint #319

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented Feb 11, 2025

No description provided.

Copy link
Collaborator

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Only a typo

CONTRIBUTING.md Outdated
@@ -58,9 +58,9 @@ The project is composed by files in many different code languages: Terraform, An
* All code needs to be checked locally. As the repository contains different kinds of code (Terraform, Ansible, Python, Documentation, bash scripts), any PR need to be prepared in different way, accordingly to its content:
* Documentation: some of the Markdown files are tested for Markdown syntax and spelling.
* Python code: it is mostly important for the glue script code in `scripts/qesap`. The code is statically tested with pylint and flake8. These tests can be executed manually with `make static-py` or with `tox -e pylint`. Some unit testing are also associated with the qesap.py script. They can be executed with `tox` or using `make test`.
* Ansible code: code can be statically tested using `make static-ansible`.
* Ansible code: code can be statically tested using `make static-ansible`. It is also raccomanded to run `make static-ansible-lint` and fix at least warnings in the edited file (please consider that for the moment this target is not part of any github pipeline)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/raccomanded/recommended/

@badboywj
Copy link
Collaborator

LGTM except the typo Alvaro pointed out, thanks

Copy link
Contributor

@lilyeyes lilyeyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Add suggestion in CONTRIBUTING about PR preparation
@mpagot mpagot force-pushed the contribute_ansible_lint branch from d584e32 to 6211a8a Compare February 12, 2025 08:49
@mpagot mpagot merged commit 70c5550 into SUSE:main Feb 12, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants