From 866e3dcb76137f3bc71399487c48ef78a59668f5 Mon Sep 17 00:00:00 2001
From: Aitor Gomez-Goiri <aitor.gomez@tecnalia.com>
Date: Mon, 15 Jul 2024 11:01:02 +0200
Subject: [PATCH] Using Sonarqube in the monorepo too

---
 .gitlab-ci.yml           | 11 +++++++++++
 sonar-project.properties |  2 ++
 2 files changed, 13 insertions(+)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 sonar-project.properties

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4e172a7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,11 @@
+include:
+  - project: "blockchain/other/ci-includes"
+    ref: master
+    file: "/sonarqube/sonarqube_extend.yml"
+
+sonarqube-check:
+  extends: .sonarqube
+  tags:
+    - docker
+  rules:
+    - when: always
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 0000000..4837b7a
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,2 @@
+sonar.projectKey=blockchain_hypercog_AZC1it8fLnoxYqwUe1LY
+sonar.qualitygate.wait=true
\ No newline at end of file
-- 
GitLab