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

Feature add hadolint command line #24

Closed
wants to merge 10 commits into from

Conversation

diegorodriguez31
Copy link
Contributor

@diegorodriguez31 diegorodriguez31 commented Feb 2, 2021

Fixed issue

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING doc
  • I agree with the CODE OF CONDUCT
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2021

Results of the CI pipeline

dd11343a4b87a8f668a031f98a035d0f5dd34f7c4cb0079e45d6ffb3f0e5a7c5
2695444d448b6ab6e55212f5b7457a832c8df1c97181dba5fc1e72fb751b71f9
Launching test tests/c_cpp.bash...[ERROR] Test CNES sonar-scanner: Failed: the scanner did not use cxx., raised by c_cpp.bash
[ERROR] Test CNES sonar-scanner: docker run --rm -u 1001:121 -e SONAR_HOST_URL=http://lequalsonarqube:9000 --net sonarbridge -v /home/runner/work/sonar-scanner/sonar-scanner:/usr/src -v /home/runner/work/sonar-scanner/sonar-scanner/.sonarcache:/opt/sonar-scanner/.sonar/cache lequal/sonar-scanner -Dsonar.projectBaseDir=/usr/src/tests/c_cpp, raised by c_cpp.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/cppcheck.bash...success
Launching test tests/fortran.bash...[ERROR] Test CNES sonar-scanner: Failed: the scanner did not use icode., raised by fortran.bash
[ERROR] Test CNES sonar-scanner: docker run --rm -u 1001:121 -e SONAR_HOST_URL=http://lequalsonarqube:9000 --net sonarbridge -v /home/runner/work/sonar-scanner/sonar-scanner:/usr/src -v /home/runner/work/sonar-scanner/sonar-scanner/.sonarcache:/opt/sonar-scanner/.sonar/cache lequal/sonar-scanner -Dsonar.projectBaseDir=/usr/src/tests/fortran77, raised by fortran.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/framac.bash...success
Launching test tests/hadolint.bash.../usr/bin/entrypoint.sh: line 35: /opt/hadolint: Permission denied
diff: tests/dockertext/tmp-hadolint-results.xml: No such file or directory
[ERROR] Test CNES sonar-scanner: Failed: hadolint reports are different., raised by hadolint.bash
[ERROR] Test CNES sonar-scanner: === Result ===, raised by hadolint.bash
cat: tests/dockertext/tmp-hadolint-results.xml: No such file or directory
[ERROR] Test CNES sonar-scanner: === Reference ===, raised by hadolint.bash

failed

Launching test tests/import_cppcheck_results.bash...[ERROR] Test CNES sonar-scanner: Failed: the output of the scanner miss the line: INFO: Sensor C++ (Community) CppCheckSensor [cxx], raised by import_cppcheck_results.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/import_framac_results.bash...[ERROR] Test CNES sonar-scanner: Failed: the output of the scanner miss the line: INFO: Sensor SonarFrama-C [framac], raised by import_framac_results.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/import_pylint_results.bash...[ERROR] Test CNES sonar-scanner: Failed: the output of the scanner miss the line: INFO: Sensor PylintSensor [python], raised by import_pylint_results.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/import_rats_results.bash...[ERROR] Test CNES sonar-scanner: Failed: the output of the scanner miss the line: INFO: Sensor C++ (Community) RatsSensor [cxx], raised by import_rats_results.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/import_vera_results.bash...[ERROR] Test CNES sonar-scanner: Failed: the output of the scanner miss the line: INFO: Sensor C++ (Community) VeraxxSensor [cxx], raised by import_vera_results.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/infer.bash...tests/c_cpp/infer/hello.c starting
tests/c_cpp/infer/hello.c DONE
success
Launching test tests/java.bash...[ERROR] Test CNES sonar-scanner: Failed: the scanner did not use checkstyle., raised by java.bash
[ERROR] Test CNES sonar-scanner: docker run --rm -u 1001:121 -e SONAR_HOST_URL=http://lequalsonarqube:9000 --net sonarbridge -v /home/runner/work/sonar-scanner/sonar-scanner:/usr/src -v /home/runner/work/sonar-scanner/sonar-scanner/.sonarcache:/opt/sonar-scanner/.sonar/cache lequal/sonar-scanner -Dsonar.projectBaseDir=/usr/src/tests/java, raised by java.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/pylint.bash...success
Launching test tests/python.bash...[ERROR] Test CNES sonar-scanner: Failed: the project is not on the server., raised by python.bash
[ERROR] Test CNES sonar-scanner: curl -su admin:adminpassword http://localhost:9000/api/projects/search?projects=python-dummy-project, raised by python.bash
{
"paging": {
"pageIndex": 1,
"pageSize": 100,
"total": 0
},
"components": []
}
failed
Launching test tests/rats.bash...success
Launching test tests/shell.bash...[ERROR] Test CNES sonar-scanner: Failed: the scanner did not use icode., raised by shell.bash
[ERROR] Test CNES sonar-scanner: docker run --rm -u 1001:121 -e SONAR_HOST_URL=http://lequalsonarqube:9000 --net sonarbridge -v /home/runner/work/sonar-scanner/sonar-scanner:/usr/src -v /home/runner/work/sonar-scanner/sonar-scanner/.sonarcache:/opt/sonar-scanner/.sonar/cache lequal/sonar-scanner -Dsonar.projectBaseDir=/usr/src/tests/shell, raised by shell.bash
/usr/bin/entrypoint.sh: line 35: exec: sonar-scanner: not found
failed
Launching test tests/shellcheck.bash...success
Launching test tests/vera.bash...success
[INFO] Test CNES sonar-scanner: 11 tests failed out of 18

@begarco begarco added this to the 1.1.0 milestone Feb 16, 2021
@diegorodriguez31 diegorodriguez31 mentioned this pull request Sep 13, 2021
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants