From 155f71e4ffb2f361823293de0c2f338356df3870 Mon Sep 17 00:00:00 2001 From: Nico Prananta Date: Fri, 7 Oct 2022 18:51:16 +0200 Subject: [PATCH] Fixed: test paths in SonarCloud workflow --- postgres-monika.yml | 10 ++++++++++ sonar-project.properties | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 postgres-monika.yml diff --git a/postgres-monika.yml b/postgres-monika.yml new file mode 100644 index 000000000..889fa92bc --- /dev/null +++ b/postgres-monika.yml @@ -0,0 +1,10 @@ +probes: + - id: 'postgres-01' + name: database health + description: ensure db health + interval: 10 # in seconds + postgres: + - host: 172.15.0.1 + port: 5432 + database: my-database + password: db-password diff --git a/sonar-project.properties b/sonar-project.properties index e9ea0d756..960071ca4 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -7,7 +7,7 @@ sonar.projectName=Monitoring Berkala # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. sonar.sources=src -sonar.tests=src/**/*.test.ts,test,prod_test +sonar.tests=test,prod_test # Encoding of the source code. Default is default system encoding sonar.sourceEncoding=UTF-8 \ No newline at end of file