[ACA-5022]Initial configuration for SonarQube cloud#181
Open
brahmanim wants to merge 2 commits into
Open
Conversation
beeankha
reviewed
May 20, 2026
|
|
||
| GitHub does not expose organization secrets to workflows for pull requests opened from forks. The | ||
| Sonar job therefore only runs on pushes to this repository's branches and on pull requests where the | ||
| head branch is on `ansible-collections/cloud.aws_ops` (not from forks). That matches GitHub's |
Contributor
There was a problem hiding this comment.
Suggested change
| head branch is on `ansible-collections/cloud.aws_ops` (not from forks). That matches GitHub's | |
| head branch is on `redhat-cop/cloud.aws_ops` (not from forks). That matches GitHub's |
beeankha
reviewed
May 20, 2026
Comment on lines
+7
to
+9
| Static analysis runs on [SonarCloud](https://sonarcloud.io) using `sonar-project.properties` and | ||
| `.github/workflows/sonarcloud.yml`. Coverage shown in Sonar comes from unit-test coverage exported as | ||
| `coverage.xml` at the repository root during CI. |
Contributor
There was a problem hiding this comment.
Suggested change
| Static analysis runs on [SonarCloud](https://sonarcloud.io) using `sonar-project.properties` and | |
| `.github/workflows/sonarcloud.yml`. Coverage shown in Sonar comes from unit-test coverage exported as | |
| `coverage.xml` at the repository root during CI. | |
| Static analysis runs on [SonarCloud](https://sonarcloud.io) using `sonar-project.properties` and | |
| `.github/workflows/sonarcloud.yml`. **Note:** Coverage in SonarCloud is not wired yet. |
beeankha
reviewed
May 21, 2026
| # SonarCloud project configuration for cloud.aws_ops | ||
| # Complete documentation: https://docs.sonarqube.org/latest/analysis/analysis-parameters/ | ||
|
|
||
| sonar.projectKey=ansible-collections_cloud.aws_ops |
Contributor
There was a problem hiding this comment.
👍 sonar.projectKey=ansible-collections_cloud.aws_ops, from my understanding, is the SonarCloud org/key, so this does not need to match the GH repository org name.
beeankha
approved these changes
May 21, 2026
Contributor
beeankha
left a comment
There was a problem hiding this comment.
Other than a couple of minor changes, this LGTM!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Resolves ACA-5022
This work is being developed alongside ansible-community/ai-forge#9
Assisted-by: Claude Sonnet 4.6 noreply@anthropic.com