/cicd

Primary LanguageShell

CICD WorkShop Setup

Jenkins

VSTS Agent

To create VM in azure

  1. Create Account and login to AZURE-PORTAL
  2. Create VM by Clicking Deploy to azure button.
1. Enter the Following
    1. Create new resource Group : <enter resource group name of your choose>
    2. Admin user name , password & Dns name of your choose.
    3. Select Ubuntu OS 16.04.0-LTS
    4. Create VM.
2. Connect to VM via ssh using terminal.
3. Run 
``` wget -O - https://raw.githubusercontent.com/manoharanRajesh/cicd/dev/init.sh | sudo bash ```
4. Access the Jenkins server with <Dns name>:8082 or <IP>:8082

Simple deployment of an Ubuntu VM with Docker

This template allows you to deploy an Ubuntu VM with Docker (using the Docker Extension) installed. You can run docker commands by connecting to the virtual machine with SSH.

Restart the Slave

wget -O - https://raw.githubusercontent.com/manoharanRajesh/cicd/dev/restart-8081.sh | sudo bash

wget -O - https://raw.githubusercontent.com/manoharanRajesh/cicd/dev/restart-8082.sh | sudo bash

Running it in the Azure Vm:

wget -O - https://raw.githubusercontent.com/manoharanRajesh/cicd/dev/init.sh | sudo bash