Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SonarQube properties and image format in build.gradle and conf… #3369

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/adresse-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "navit_testnorge_adresse_service"
Expand Down
2 changes: 1 addition & 1 deletion apps/adresse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
webproxy: true
tokenx:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions apps/amelding-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "navit_testnorge_amelding_service"
Expand Down
2 changes: 1 addition & 1 deletion apps/amelding-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
port: 8080
accessPolicy:
inbound:
Expand Down
4 changes: 2 additions & 2 deletions apps/app-tilgang-analyse-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "navit_testnorge_app_tilgang_analyse_service"
Expand Down
2 changes: 1 addition & 1 deletion apps/app-tilgang-analyse-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
allowAllUsers: true
enabled: true
tenant: nav.no
image: {{image}}
image: "{{image}}"
port: 8080
accessPolicy:
inbound:
Expand Down
4 changes: 2 additions & 2 deletions apps/arbeidsforhold-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-arbeidsforhold-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/arbeidsforhold-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
port: 8080
tokenx:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions apps/batch-bestilling-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-batch-bestilling-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/batch-bestilling-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
webproxy: true
tokenx:
Expand Down
4 changes: 2 additions & 2 deletions apps/brreg-stub/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "brreg-stub"
Expand Down
2 changes: 1 addition & 1 deletion apps/brreg-stub/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
liveness:
path: /isAlive
Expand Down
4 changes: 2 additions & 2 deletions apps/bruker-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-bruker-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/bruker-service/config.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
tokenx:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion apps/bruker-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
port: 8080
tokenx:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion apps/budpro-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
Expand Down
2 changes: 1 addition & 1 deletion apps/budpro-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
allowAllUsers: true
enabled: true
tenant: nav.no
image: {{image}}
image: "{{image}}"
ingresses:
- "https://testnav-budpro-service.intern.dev.nav.no"
liveness:
Expand Down
4 changes: 2 additions & 2 deletions apps/dolly-frontend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "dolly-frontend"
Expand Down
4 changes: 2 additions & 2 deletions apps/dollystatus/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ test {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-dollystatus"
Expand Down
2 changes: 1 addition & 1 deletion apps/dollystatus/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
accessPolicy:
outbound:
Expand Down
4 changes: 2 additions & 2 deletions apps/endringsmelding-frontend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-endringsmelding-frontend"
Expand Down
2 changes: 1 addition & 1 deletion apps/endringsmelding-frontend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ spec:
requests:
cpu: 300m
memory: 1024Mi
image: {{ image }}
image: "{{image}}"
ingresses:
- "https://testnav-endringsmelding.intern.dev.nav.no"
4 changes: 2 additions & 2 deletions apps/endringsmelding-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ test {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-endringsmelding-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/endringsmelding-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
webproxy: true
tokenx:
Expand Down
4 changes: 2 additions & 2 deletions apps/ereg-batch-status-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-ereg-batch-status-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/ereg-batch-status-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
port: 8080
webproxy: true
accessPolicy:
Expand Down
4 changes: 2 additions & 2 deletions apps/faste-data-frontend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-faste-data-frontend"
Expand Down
2 changes: 1 addition & 1 deletion apps/faste-data-frontend/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ spec:
requests:
cpu: 300m
memory: 1024Mi
image: {{ image }}
image: "{{image}}"
ingresses:
- "https://testnav-faste-data.intern.dev.nav.no"
4 changes: 2 additions & 2 deletions apps/generer-arbeidsforhold-populasjon-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-generer-arbeidsforhold-populasjon-service"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
team: dolly
spec:
image: {{ image }}
image: "{{image}}"
port: 8080
tokenx:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions apps/generer-navn-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-generer-navn-service"
Expand Down
2 changes: 1 addition & 1 deletion apps/generer-navn-service/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
team: dolly
spec:
image: {{image}}
image: "{{image}}"
port: 8080
tracing:
enabled: true
Expand Down
4 changes: 2 additions & 2 deletions apps/generer-organisasjon-populasjon-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jacocoTestReport {

sonarqube {
properties {
property "sonar.coverage.jacoco.xmlReportPaths", "${project.buildDir}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.coverage.jacoco.xmlReportPaths", "${project.layout.buildDirectory}/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.dynamicAnalysis", "reuseReports"
property "sonar.host.url", "https://sonarcloud.io"
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.language", "java"
property "sonar.login", System.getenv("SONAR_TOKEN")
property "sonar.token", System.getenv("SONAR_TOKEN")
property "sonar.organization", "navikt"
property "sonar.project.monorepo.enabled", true
property "sonar.projectKey", "testnav-generer-organisasjon-populasjon-service"
Expand Down
Loading
Loading