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

Azure comments reporter #1812

Merged
merged 20 commits into from
Aug 28, 2022
Merged

Azure comments reporter #1812

merged 20 commits into from
Aug 28, 2022

Conversation

nvuillam
Copy link
Member

Post MegaLinter results as comment on Azure Pipelines pull request

@codecov-commenter
Copy link

codecov-commenter commented Aug 28, 2022

Codecov Report

Merging #1812 (5eade8f) into main (f85e07e) will decrease coverage by 0.25%.
The diff coverage is 46.87%.

@@            Coverage Diff             @@
##             main    #1812      +/-   ##
==========================================
- Coverage   84.09%   83.83%   -0.26%     
==========================================
  Files         161      162       +1     
  Lines        4293     4325      +32     
==========================================
+ Hits         3610     3626      +16     
- Misses        683      699      +16     
Impacted Files Coverage Δ
megalinter/reporters/GitlabCommentReporter.py 18.75% <ø> (ø)
megalinter/reporters/AzureCommentReporter.py 46.87% <46.87%> (ø)
megalinter/reporters/UpdatedSourcesReporter.py 89.74% <0.00%> (+2.56%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@nvuillam
Copy link
Member Author

nvuillam commented Aug 28, 2022

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.02s
✅ BASH shellcheck 7 0 0.33s
✅ BASH shfmt 7 0 0 0.04s
✅ COPYPASTE jscpd yes no 2.69s
✅ DOCKERFILE hadolint 104 0 10.56s
✅ JSON eslint-plugin-jsonc 20 0 0 2.59s
✅ JSON jsonlint 18 0 0.67s
✅ JSON v8r 20 0 12.95s
⚠️ MARKDOWN markdownlint 282 0 5 6.25s
✅ MARKDOWN markdown-link-check 282 0 5.75s
✅ MARKDOWN markdown-table-formatter 282 0 0 7.5s
✅ OPENAPI spectral 1 0 1.08s
⚠️ PYTHON bandit 167 51 2.67s
✅ PYTHON black 167 0 0 4.04s
✅ PYTHON flake8 167 0 2.47s
✅ PYTHON isort 167 0 0 0.42s
✅ PYTHON mypy 167 0 138.81s
✅ PYTHON pylint 167 0 22.02s
✅ REPOSITORY checkov yes no 17.34s
⚠️ REPOSITORY devskim yes 60 1.34s
✅ REPOSITORY dustilock yes no 2.46s
✅ REPOSITORY git_diff yes no 0.04s
✅ REPOSITORY secretlint yes no 4.82s
✅ REPOSITORY syft yes no 2.4s
✅ REPOSITORY trivy yes no 17.81s
✅ SPELL cspell 688 0 28.63s
✅ SPELL misspell 518 0 0 0.53s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 79 0 0 3.44s
✅ YAML v8r 22 0 31.44s
✅ YAML yamllint 80 0 1.57s

See errors details in artifact MegaLinter reports on CI Job page

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

quick build push
@nvuillam nvuillam force-pushed the features/azure-comments branch from d19dd50 to f7e2b82 Compare August 28, 2022 00:05
@nvuillam
Copy link
Member Author

nvuillam commented Aug 28, 2022

MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ BASH bash-exec 7 0 0.02s
✅ BASH shellcheck 7 0 0.31s
✅ BASH shfmt 7 0 0 0.39s
✅ COPYPASTE jscpd yes no 2.5s
✅ DOCKERFILE hadolint 104 0 9.64s
✅ JSON eslint-plugin-jsonc 20 0 0 2.78s
✅ JSON jsonlint 18 0 0.5s
✅ JSON v8r 20 0 12.14s
⚠️ MARKDOWN markdownlint 282 0 5 6.46s
✅ MARKDOWN markdown-link-check 282 0 5.31s
✅ MARKDOWN markdown-table-formatter 282 0 0 7.57s
✅ OPENAPI spectral 1 0 2.03s
⚠️ PYTHON bandit 167 51 3.57s
✅ PYTHON black 167 0 0 4.96s
✅ PYTHON flake8 167 0 2.27s
✅ PYTHON isort 167 0 0 0.7s
✅ PYTHON mypy 167 0 125.77s
✅ PYTHON pylint 167 0 20.0s
✅ REPOSITORY checkov yes no 16.3s
✅ REPOSITORY git_diff yes no 0.36s
✅ REPOSITORY secretlint yes no 20.64s
✅ REPOSITORY trivy yes no 27.67s
✅ SPELL cspell 688 0 27.36s
✅ SPELL misspell 518 0 0 0.91s
✅ XML xmllint 3 0 0.0s
✅ YAML prettier 79 0 0 3.58s
✅ YAML v8r 22 0 29.42s
✅ YAML yamllint 80 0 1.52s

See errors details in artifact MegaLinter reports on CI Job page

@nvuillam nvuillam merged commit d866e8a into main Aug 28, 2022
@nvuillam nvuillam deleted the features/azure-comments branch August 28, 2022 04:22
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.

2 participants