-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add 'make doctor' configuration preflight #93
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
Merged
openshift-merge-bot
merged 15 commits into
openshift-eng:main
from
fonta-rh:make-doctor
Jul 10, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b40957d
feat: add ansible-lint and playbook syntax checks to make verify
fonta-rh f152d1e
feat: add central config/ folder with sync-to-canonical
fonta-rh 114df4a
feat: move common.sh to deploy/, add baremetal config sync and 0-byte…
fonta-rh b42c431
fix: back up existing config before baremetal-adopt regeneration
fonta-rh 9801c85
fix: address review findings from PR #92
fonta-rh ad60942
fix: address remaining review findings from PR #92
fonta-rh 45003b2
fix: add SKIP_INSTANCE_ENV_WARNING flag to common.sh
fonta-rh 0a43cbf
fix: add missing mocked roles to .ansible-lint
fonta-rh 814c64e
fix: split local declaration to avoid masking return value (SC2155)
fonta-rh 6b0b331
refactor: move config sync from common.sh auto-call to Makefile prere…
fonta-rh c49b695
feat: add 'make doctor' configuration preflight
pablofontanilla 9c51fa4
fix: correct common.sh path and use config/ folder in doctor hints
fonta-rh 723eccd
fix: make doctor read-only and add assisted.yml check
fonta-rh 8cb554e
fix: address review findings from PR #93
fonta-rh ceacc18
fix: remove obsolete SKIP_CONFIG_SYNC from doctor.sh
fonta-rh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| --- | ||
| # Configuration for ansible-lint, run via `make ansible-lint` (hack/ansible-lint.sh). | ||
| profile: basic | ||
|
|
||
| # Collections are pre-installed by hack/ansible-lint.sh; never reach out to galaxy. | ||
| offline: true | ||
|
|
||
| exclude_paths: | ||
| # Claude Code skill/command content, not Ansible | ||
| - .claude/ | ||
| # CloudFormation templates, not Ansible | ||
| - deploy/aws-hypervisor/templates/ | ||
|
|
||
| # Roles are resolved relative to deploy/openshift-clusters/ at runtime, which | ||
| # ansible-lint cannot see when invoked from the repository root. | ||
| mock_roles: | ||
| - git-user | ||
| - assisted/acm-install | ||
| - assisted/assisted-spoke | ||
| - kcli/kcli-redfish | ||
|
|
||
| # Baseline debt: rules that fire on the pre-existing tree. New violations of any | ||
| # rule NOT listed here fail `make verify`. Burn these down over time by fixing | ||
| # the findings and removing entries from this list. | ||
| skip_list: | ||
| - command-instead-of-module | ||
| - command-instead-of-shell | ||
| - jinja[spacing] | ||
| - key-order[task] | ||
| - literal-compare | ||
| - name[casing] | ||
| - name[missing] | ||
| - name[play] | ||
| - name[template] | ||
| - role-name | ||
| - role-name[path] | ||
| - schema[playbook] | ||
| - var-naming[no-role-prefix] | ||
| - var-naming[read-only] | ||
| - yaml[empty-lines] | ||
| - yaml[line-length] | ||
| - yaml[new-line-at-end-of-file] | ||
| - yaml[trailing-spaces] | ||
| - yaml[truthy] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.