owncloud / QA

:collision: public test plans for owncloud components and apps
GNU Affero General Public License v3.0
14 stars 17 forks source link

Use SonarCloud in oC10 app repos #649

Closed phil-davis closed 3 years ago

phil-davis commented 3 years ago

core PR https://github.com/owncloud/core/pull/37982 changed from using codecov to SonarCloud for coverage reporting. SonarCloud also provides other automated code analysis.

core PR https://github.com/owncloud/core/pull/37984 made some adjustments to that.

Do similar for oC10 app repos.

Make sure that the starlark code changes can be used consistently in each app, so that we can do general code changes in an example app (e.g. https://github.com/owncloud/data_exporter ) and then it should be "easy" to apply the same code changes to the starlark of the other apps.

phil-davis commented 3 years ago

Note: also see #648 "Reduce CI that is run after merge" - we do not need to always run acceptance tests again when a PR is merged in a app repo. But that can be discussed and done after the SonarCloud changes.

phil-davis commented 3 years ago

Apps to convert next:

This is the full list of remaining apps:

We need to apply the starlark code to each of them.

Some apps might not have unit tests. In that case we just apply the starlark code, and the SonarCloud parts will not actually run. I will look for one of those now, because we should do that first to see what happens if there is no unit test coverage report needed.

Needs to be done along with the changes for https://github.com/owncloud/QA/issues/648#issuecomment-735548177 "Reduce CI that is run after merge"

These apps have their own starlark that is very diffferent, and SonarCloud is not-applicable at this stage:

These apps do not have drone CI:

phil-davis commented 3 years ago

Some small fixes were discovered on 2020-12-07:

These fixes need to get applied to each of these app repos:

phil-davis commented 3 years ago

ToDo:

phil-davis commented 3 years ago

files_primary_s3 is remaining. I assigned myself. I want to get this finished today!

phil-davis commented 3 years ago

PR https://github.com/owncloud/files_primary_s3/pull/441 is ready for review. That is the last item for this issue. When it is merged, please close this issue.