gitlab-sonar-scanner icon indicating copy to clipboard operation
gitlab-sonar-scanner copied to clipboard

Add gitlab-ci automatic docker build to check the pull requests

Open gtrias opened this issue 9 years ago • 3 comments

gtrias avatar Mar 01 '17 15:03 gtrias

Consider adding this too: https://github.com/sstephenson/bats

elboletaire avatar Jan 09 '18 11:01 elboletaire

And / or this too: https://github.com/koalaman/shellcheck

elboletaire avatar Mar 31 '18 12:03 elboletaire

I've just changed the title to being gitlab-ci instead of travis. This way we'll be able to test the image with the same build process. So the idea is to define, at least, three stages:

  • testing: with bash/shell tests.
  • build: builds the image and pushes it to a temporary registry, the same from gitlab will do.
  • self-test: use the already built image to check if the sonar scanner still works as expected.

elboletaire avatar Jan 08 '19 15:01 elboletaire