@kostajh kindly deploy the change as I do not have ssh access to the tool. Maybe after deploying, you can add me to the group tools.sonarqubebot to enable me deploy a change next time
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Wed, Mar 27
Mar 13 2024
Mar 5 2024
Feb 14 2024
Feb 8 2024
Feb 5 2024
Jan 31 2024
Jan 25 2024
Jan 24 2024
Jan 17 2024
My PHP tool encountered this problem where nodejs would be installed but PHP wasn't. The issue is now fixed, and my tool builds and deploys as it should now. Thanks @dcaro for the fix.
Jan 16 2024
Jan 10 2024
Nov 29 2023
Nov 28 2023
Nov 21 2023
Nov 15 2023
Nov 6 2023
It seems to be working fine with our sonar scanner version. We can go ahead and update extensions Jenkins jobs.
Thank you @hashar I will monitor the codehealth jobs to ensure they are running smoothly.
Nov 1 2023
Oct 31 2023
It appears they are enforcing the minimum scanner version that can be used with Java 17 to be version 5.x. Although from limited research I have seen some who had scanner v4.8^ could run it in Java 17. We can only know for sure by trying after we have a Java 17 image available.
Oct 29 2023
As an aside, I've always wondered if there's any value in running code coverage via SonarCloud in addition to the bespoke CI job. The coverage generated by SonarCloud has several shortcomings such as:
- It's based on unit tests, and ignores integration tests
- It's not published on doc.wikimedia.org
- It doesn't work well with stacked patches
Oct 17 2023
@Aklapper : Thanks, I will make sure to add the project tags in future.
Sonar can use any node version as long as its not a deprecated version. Inherit from our standard node16 image seems like the most optimal way to go :)
Oct 12 2023
This issue has been resolved in T348724: Update sonar scanner node version from v14 to v16 .
Oct 9 2023
Oct 2 2023
Sep 28 2023
For the moment I have changed CheckUser's quality gate to not give coverage alerts until we figure out the coverage issues
One can set the path manually under the project settings (Your Project > Administration > General Settings > Languages > PHP > Tests and Coverage > Files)
Waiting for the next report to see if it picks up anything
not sure about this but pull request analysis seems to be available starting in Developer Edition, which is a paid version.
Sep 13 2023
Thank you. I have created a service.template file and it now picks buildservice as default. The tool seems to be running fine. I will mark this task as resolved :)
Hi, normally I build the image: toolforge build start https://gitlab.wikimedia.org/toolforge-repos/gitlab-sonarqubebot.git
Sep 12 2023
Sep 11 2023
Sep 5 2023
Aug 10 2023
Aug 1 2023
Jul 18 2023
Jul 10 2023
Jun 19 2023
Jun 12 2023
Violations are reported as comments on gitlab after each commit.
I am marking the task as resolved, Incase of questions or issues feel free to reopen the task or slack me.
Jun 7 2023
Feel free to mark the task as resolved
Jun 6 2023
May 31 2023
Thanks. The solution works fine. I will now mark the task as resolved.
May 29 2023
Or is it possible to write a script that creates the file manually and adds contents to the file every time a new build succeeds?
Thanks @dcaro . This build service is awesome !! :- ) I need to store my secret env variables in a file called .env , and when I shell into the build service and create the file manually, the moment I exit shell the file dissapears. When I pull the file through code update it works perfectly, but this file should not be accessible publicly, so when I remove it from git the moment new code builds the file will be removed as well. How should I go about this?
May 25 2023
Using the build service the image runs succesfully locally, So I followed the documetation in my tool's instance. The build succeeds because I get the following results
May 24 2023
Thank you @fnegri . I prefer to go ahead with the CloudVPS project as it will give me more room and freedom to experiment
May 22 2023
May 11 2023
May 9 2023
@pfischer Thanks for your help in making sure everything works correctly.
I am closing this task. I got the access I needed to the respective groups.
Step one is now complete. The next step will be creating a bot that reports violations as comments on gitlab after each commit
May 8 2023
May 4 2023
Currently working on search-platform group
I should be able to set this up next week once Release Eng. is done sorting out my Gitlab access
May 1 2023
Hi Gehel, I will setup a sonar template that can be imported for maven projects in Gitlab