Skip to content

An Azure Resource Manager template to setup a Linux VM in Azure Government that will execute all the bash scripts in an Azure Storage Blob Container.

License

Notifications You must be signed in to change notification settings

gsacavdm/gov-arm-linux-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux Code Runner Resource Manager Template

This template sets up a Linux Azure Virtual Machine that will execute all the bash scripts in an Azure Storage Blob Container and then self-destruct.

  1. Create a VM
  2. Run the custom script extension
    1. Runs a default script that downloads everything in a container
    2. Runs the indicated script (must be included in the container)
  3. (PENDING) Kill the VM

Testing bootstrap.sh

docker run -v $(pwd):/app --name runner-debug -it ubuntu bash /app/bootstrap.sh somescript.sh somecontainer someaccountname  saskey AzureUSGovernment

Testing the ARM template

az group create -n runner -l usgovvirginia
az group deployment create -n $(date +%Y%m%d%H%M%S) -g runner --template-file azuredeploy.json --parameters azuredeploy.parameters.json

About

An Azure Resource Manager template to setup a Linux VM in Azure Government that will execute all the bash scripts in an Azure Storage Blob Container.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages