Update Helm release opentelemetry-operator to v0.75.0 #1860
This file contains 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
name: SonarCloud | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
sonarcloud: | |
name: SonarCloud | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
with: | |
args: > | |
-Dsonar.organization=bravecobra | |
-Dsonar.projectKey=bravecobra_k8s-dev-infrastructure | |
-Dsonar.sources=src/ | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
- name: SonarScanner for .NET 6 with pull request decoration support | |
uses: highbyte/sonarscan-dotnet@v2.2.2 | |
with: | |
# The key of the SonarQube project | |
sonarProjectKey: bravecobra_k8s-dev-infrastructure_dotnet | |
# The name of the SonarQube project | |
sonarProjectName: k8s-dev-infrastructure_dotnet | |
# The name of the SonarQube organization in SonarCloud. For hosted SonarQube, skip this setting. | |
sonarOrganization: bravecobra | |
dotnetBuildArguments: ./src/samples/TelemetrySamples/ | |
dotnetDisableTests: true | |
## Optional command arguments to dotnet test | |
# dotnetTestArguments: ./src --logger trx --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover | |
## Optional extra command arguments the the SonarScanner 'begin' command | |
# sonarBeginArguments: /d:sonar.cs.opencover.reportsPaths="**/TestResults/**/coverage.opencover.xml" -d:sonar.cs.vstest.reportsPaths="**/TestResults/*.trx" | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_DOTNET }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |