Environment:
SonarQube version: 8.3.0.34182 / Developer Edition / Running in GKE
Deployment is not publicly available, internal network only
Single ALM - github.com (not enterprise)
Bug Description:
The Github PR analysis results written to conversation and checks tabs in Github have broken image links. The image origin is https://<sonarqube-internal.com/static/developer-server/checks/QualityGateBadge/passed.svg which is not available to the Github image proxy service (camo).
Ref: https://help.github.com/en/github/authenticating-to-github/about-anonymized-image-urls
Steps to reproduce:
Run sonar-scanner locally with PR settings:
sonar.pullrequest.key=15
sonar.pullrequest.branch=charlie
sonar.pullrequest.base=master
Examples
Error/bug:
Images should load as shown from SonarQube documentation:
Hi, we also use Developer edition and our Sonarqube instance is not public accessible. What is this Github proxy? Is something out of the box that we configure or you are suggesting some proxy rules in our ingress infrastructure?
Could it be fixed by using the base64 image code instead refferring to the file itself?
I can see in 7.9 that images are being sourced from https://sonarsource.github.io/sonarcloud-github-static-resources (which is publicly accessible), whereas in 8.4.1 they have reverted back our SonarQube instance’s URL (which is not publicly accessible). Why the change back???