The purpose of this repo is to get you up and running with sonarqube in azure in less than an hour
- Azure subscription
- Putty
Please refer to the following documentation to create a ubuntu server 16 virutal machine in Azure. Write down the FQDN of the machine.
Please refer to the following documentation and open ports 9000, 443, 22 and 80.
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
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.
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
Please refer to the following documentation to configure authentication using Azure Active Directory
Please refer to the following documentation to configure your first project analysis on VSTS