File size: 2,249 Bytes
07423df |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
{
"variables": {
"client_id": "<AZURE CLIENT ID>",
"client_secret": "<AZURE CLIENT SECRET>",
"subscription_id": "92429150-401a-431f-8955-e69c0c119e68",
"tenant_id": "840229f2-c911-49e6-a73d-5b3a4311835a",
"managed_image_resource_group_name": "H2OIMAGES",
"llm_studio_version": "<LLM STUDIO VERSION>"
},
"builders": [
{
"type": "azure-arm",
"client_id": "{{user `client_id`}}",
"client_secret": "{{user `client_secret`}}",
"subscription_id": "{{user `subscription_id`}}",
"tenant_id": "{{user `tenant_id`}}",
"capture_container_name": "h2ovhdimages",
"capture_name_prefix": "h2oai-llm-studio-{{user `llm_studio_version`}}",
"resource_group_name": "{{user `managed_image_resource_group_name`}}",
"temp_resource_group_name": "Engineering_DevOps_LLM-Studio-Ubuntu",
"storage_account": "h2ovhdimages",
"os_type": "Linux",
"image_publisher": "Canonical",
"image_offer": "0001-com-ubuntu-server-focal",
"image_sku": "20_04-lts",
"os_disk_size_gb": 512,
"azure_tags": {
"dept": "Engineering",
"task": "Image deployment",
"Name": "LLM-STUDIO-CLOUD-IMAGES",
"Owner": "ops@h2o.ai",
"Project": "DevOps",
"Department": "Engineering",
"Environment": "Dev",
"Scheduling": "self-managed"
},
"location": "East US",
"vm_size": "Standard_DS2_v2",
"ssh_username": "ubuntu"
}
],
"post-processors": [
{
"type": "manifest",
"output": "azure-ubuntu-image-info.json",
"strip_path": true,
"custom_data": {
"base_image": "AZURE Ubuntu 20.04",
"llm_studio_version": "{{user `llm_studio_version`}}"
}
}
],
"provisioners": [
{
"type": "shell",
"environment_vars": ["VERSION={{user `BRANCH_VERSION`}}"],
"script": "./install_llm_studio_ubuntu2004.sh"
}
]
} |