The purpose of this repo is to get you up and running with sonarqube in azure in less than an hour
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
dockerfastinstall.sh
step1.sh
upgrade.md
upgrade.sh

README.md

azure-docker-sonarqube

The purpose of this repo is to get you up and running with sonarqube in azure in less than an hour

required resources

  • Azure subscription
  • Putty

step 1 create the virtual machine in azure

Please refer to the following documentation to create a ubuntu server 16 virutal machine in Azure. Write down the FQDN of the machine.

step 2 opening firewall ports

Please refer to the following documentation and open ports 9000, 443, 22 and 80.

step 3 create the Azure SQL database

Please refer to the following documentation to create an Azure SQL database. Write down the database name, Azure SQL Server FQDN, username and password.
Make sure the collation is SQL_Latin1_General_CP1_CS_AS

step 4 setup docker

Please refer to the following documentation to install docker on your machine.
If you want to go faster to install docker you can simply run :

wget https://raw.githubusercontent.com/baywet/azure-docker-sonarqube/master/dockerfastinstall.sh  
chmod +x dockerfastinstall.sh
./dockerfastinstall.sh

Note: in both cases don't forget to log in and out from the machine before going to step 5.

step 5 configure all containers

From the bash run

wget https://raw.githubusercontent.com/baywet/azure-docker-sonarqube/master/step1.sh  
chmod +x step1.sh

Then edit the script using vi to set up your configuration values.
Then run

./step1.sh

Note: the first load time might time out or take a while

step 6 configure authentication

Please refer to the following documentation to configure authentication using Azure Active Directory

Step 7 configure your first project with VSTS

Please refer to the following documentation to configure your first project analysis on VSTS