-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix sanity errors #24
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
248b6ed
Fix sannity errors
alinabuzachis d6e2af7
Fix sanity
alinabuzachis f837727
A round of sanity fixes
alinabuzachis a8026de
Another round of linting
alinabuzachis ba47f5e
Yet another round of lint fixes
alinabuzachis ec4f69e
Yet another round of fixes
alinabuzachis d4970c5
Exclude python 3.9 testing on devel and milestone
alinabuzachis 4bae408
Add empty requirements.txt
alinabuzachis d055406
add tests/config.yml and split long text line
alinabuzachis 648a205
Just a test
alinabuzachis 74db396
Revert
alinabuzachis 78d9573
Bump ansible-lint version to 6.18.0 as suggested
alinabuzachis 50fa80a
Bump ansible-lint version to 6.18.0 as suggested
alinabuzachis d86e852
Add changelog fragment
alinabuzachis 7852fca
Update ansible_lint_sanity_fixes.yml
alinabuzachis 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 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 |
---|---|---|
@@ -1,35 +1,21 @@ | ||
--- | ||
name: Linters | ||
'on': | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
|
||
linters: | ||
uses: ansible-network/github_actions/.github/workflows/tox-linters.yml@main | ||
ansible-lint: | ||
name: Ansible Lint | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python_version: ['3.8'] | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
- uses: ansible-network/github_actions/.github/actions/checkout_dependency@main | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
- name: Test with tox | ||
run: tox -e linters -vv | ||
|
||
ansible-lint: | ||
uses: ansible-network/github_actions/.github/workflows/ansible-lint.yml@main | ||
- name: Run ansible-lint | ||
uses: ansible/ansible-lint@v6.18.0 |
This file contains 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 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,3 @@ | ||
breaking_changes: | ||
- role/aws_setup_credentials - Due to ansible-lint issue, the AWS generated credentials are now stored into variable `aws_setup_credentials__output` instead of `aws_role_credentials` (https://github.com/redhat-cop/cloud.aws_troubleshooting/pull/24)." | ||
- role/connectivity_troubleshooter_validated - Due to ansible-lint issue, the next hop information stored into variable `connectivity_troubleshooter_validate__next_hop` instead of `next_hop` (https://github.com/redhat-cop/cloud.aws_troubleshooting/pull/24)." |
This file contains 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 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 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.
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.
We can't use f-string formatting?