-
Notifications
You must be signed in to change notification settings - Fork 750
Only enable ansible/yaml lint tests when playbooks are built #7099
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
Only enable ansible/yaml lint tests when playbooks are built #7099
Conversation
648ab08 to
51a3e1f
Compare
|
/retest |
51a3e1f to
1fce2fd
Compare
1fce2fd to
13054de
Compare
Note: Ansible playbooks per rule are not rendered by OpenSCAP thus the OpenSCAP version test is not needed in this case.
13054de to
3435288
Compare
|
The PR has turned into a different direction as we realized it makes more sense to tests things that are actually being built and not force to build content to be tested. So the ansible/yamllint tests are enabled only the flags to build the ansible content is enabled. |
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, just found one issue with tests when profile playbooks are not built.
…ption. The option SSG_ANSIBLE_PLAYBOOKS_ENABLED must be enabled in order to be able to check the syntax of ansible playbooks per profile. Otherwise these files won't be built and the test will always fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just pending jenkins.
|
@ggbecker: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
I see some rules report |
Description:
Relates to #7039