From 94884d2a70bd65f9e85018aa154daa3d517d3ca8 Mon Sep 17 00:00:00 2001 From: Luca Muscariello Date: Fri, 12 Aug 2022 10:51:40 +0200 Subject: feat: fix sonarcloud build Signed-off-by: Luca Muscariello Change-Id: I569ede7040d0f1e168af87a67e31d494fd11bc77 --- scripts/docker-compose-sonar.yml | 5 +++++ scripts/run-sonar.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/docker-compose-sonar.yml b/scripts/docker-compose-sonar.yml index 52fceded4..d400d7517 100644 --- a/scripts/docker-compose-sonar.yml +++ b/scripts/docker-compose-sonar.yml @@ -6,6 +6,11 @@ services: dockerfile: scripts/Dockerfile.sonarcloud container_name: sonarcloud hostname: sonarcloud + environment: + API_TOKEN: $API_TOKEN + SONAR_HOST_URL: $SONAR_HOST_URL + PROJECT_KEY: $PROJECT_KEY + PROJECT_ORGANIZATION: $PROJECT_ORGANIZATION volumes: - ..:/workspace command: diff --git a/scripts/run-sonar.sh b/scripts/run-sonar.sh index b1b280518..529a848d8 100755 --- a/scripts/run-sonar.sh +++ b/scripts/run-sonar.sh @@ -1,7 +1,7 @@ #!/bin/bash # SONAR_HOST_URL=https://sonarcloud.io -# PROJECT_KEY=fdio_hicn +# PROJECT_KEY=fdio-hicn # PROJECT_ORGANIZATION=fdio export SONAR_TOKEN=$API_TOKEN -- cgit 1.2.3-korg