mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Merge pull request #1635 from hutson/refactor/formatting
refactor: auto format JSON using VSC
This commit is contained in:
@@ -24,7 +24,10 @@
|
||||
"run_validation_diskspace": "false",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["client_secret", "github_feed_token"],
|
||||
"sensitive-variables": [
|
||||
"client_secret",
|
||||
"github_feed_token"
|
||||
],
|
||||
"builders": [
|
||||
{
|
||||
"type": "azure-arm",
|
||||
@@ -32,7 +35,6 @@
|
||||
"client_secret": "{{user `client_secret`}}",
|
||||
"subscription_id": "{{user `subscription_id`}}",
|
||||
"tenant_id": "{{user `tenant_id`}}",
|
||||
|
||||
"location": "{{user `location`}}",
|
||||
"vm_size": "{{user `vm_size`}}",
|
||||
"resource_group_name": "{{user `resource_group`}}",
|
||||
|
||||
@@ -24,7 +24,10 @@
|
||||
"run_validation_diskspace": "false",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["client_secret", "github_feed_token"],
|
||||
"sensitive-variables": [
|
||||
"client_secret",
|
||||
"github_feed_token"
|
||||
],
|
||||
"builders": [
|
||||
{
|
||||
"type": "azure-arm",
|
||||
@@ -32,7 +35,6 @@
|
||||
"client_secret": "{{user `client_secret`}}",
|
||||
"subscription_id": "{{user `subscription_id`}}",
|
||||
"tenant_id": "{{user `tenant_id`}}",
|
||||
|
||||
"location": "{{user `location`}}",
|
||||
"vm_size": "{{user `vm_size`}}",
|
||||
"resource_group_name": "{{user `resource_group`}}",
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
"go_versions": "1.14",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["client_secret", "github_feed_token"],
|
||||
"sensitive-variables": [
|
||||
"client_secret",
|
||||
"github_feed_token"
|
||||
],
|
||||
"builders": [
|
||||
{
|
||||
"type": "azure-arm",
|
||||
@@ -34,7 +37,6 @@
|
||||
"client_secret": "{{user `client_secret`}}",
|
||||
"subscription_id": "{{user `subscription_id`}}",
|
||||
"tenant_id": "{{user `tenant_id`}}",
|
||||
|
||||
"location": "{{user `location`}}",
|
||||
"vm_size": "{{user `vm_size`}}",
|
||||
"resource_group_name": "{{user `resource_group`}}",
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
"private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}",
|
||||
"vm_size": "Standard_DS4_v2",
|
||||
"run_scan_antivirus": "false",
|
||||
|
||||
"root_folder": "C:",
|
||||
"toolset_json_path": "{{env `TEMP`}}\\toolset.json",
|
||||
"image_folder": "C:\\image",
|
||||
@@ -30,7 +29,11 @@
|
||||
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["install_password", "client_secret", "github_feed_token"],
|
||||
"sensitive-variables": [
|
||||
"install_password",
|
||||
"client_secret",
|
||||
"github_feed_token"
|
||||
],
|
||||
"builders": [
|
||||
{
|
||||
"name": "vhd",
|
||||
@@ -265,7 +268,9 @@
|
||||
},
|
||||
{
|
||||
"type": "windows-shell",
|
||||
"inline": ["wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"]
|
||||
"inline": [
|
||||
"wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
@@ -291,7 +296,6 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-DotnetSDK.ps1"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "powershell",
|
||||
"elevated_user": "SYSTEM",
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
"private_virtual_network_with_public_ip": "{{env `PRIVATE_VIRTUAL_NETWORK_WITH_PUBLIC_IP`}}",
|
||||
"vm_size": "Standard_D4_v2",
|
||||
"run_scan_antivirus": "false",
|
||||
|
||||
"root_folder": "C:",
|
||||
"toolset_json_path": "{{env `TEMP`}}\\toolset.json",
|
||||
"image_folder": "C:\\image",
|
||||
@@ -30,7 +29,11 @@
|
||||
"github_feed_token": "{{env `GITHUB_FEED_TOKEN`}}",
|
||||
"announcements": "{{env `ANNOUNCEMENTS`}}"
|
||||
},
|
||||
"sensitive-variables": ["install_password", "client_secret", "github_feed_token"],
|
||||
"sensitive-variables": [
|
||||
"install_password",
|
||||
"client_secret",
|
||||
"github_feed_token"
|
||||
],
|
||||
"builders": [
|
||||
{
|
||||
"name": "vhd",
|
||||
@@ -231,7 +234,9 @@
|
||||
},
|
||||
{
|
||||
"type": "windows-shell",
|
||||
"inline": ["wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"]
|
||||
"inline": [
|
||||
"wmic product where \"name like '%%microsoft azure powershell%%'\" call uninstall /nointeractive"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "powershell",
|
||||
@@ -247,7 +252,6 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-YAMLLint.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Update-AndroidSDK.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-AzureModules.ps1"
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user