From 73c8eec617cc81cac71c9d1670722a003c0ed86f Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Wed, 22 Apr 2020 09:32:21 +0200 Subject: Add SonarQube local starter In README_SONAR.md you can find how to configure and run SonarQube locally. Issue-ID: INT-1517 Signed-off-by: Zebek Bogumil Change-Id: Ic5daa070e56cd28bd18b8f8f8abcbb793005cf3a --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cb456c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +create-sonarqube: + @echo "##### Create SonarQube #####" + docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube + @echo "************************************************" + @echo "*** Follow instructions from README_SONAR.md ***" + @echo "************************************************" + @echo "##### DONE #####" + +start-sonarqube: + @echo "##### Start SonarQube #####" + docker start sonarqube + @echo "************************************************" + @echo "*** Follow instructions from README_SONAR.md ***" + @echo "************************************************" + @echo "##### DONE #####" + +stop-sonarqube: + @echo "##### Stop SonarQube #####" + docker stop sonarqube + @echo "##### DONE #####" + -- cgit 1.2.3-korg