From 14b6c3879f2d35e618567960af2b8046a07e613e Mon Sep 17 00:00:00 2001 From: Prabhatkumar59 <167855894+Prabhatkumar59@users.noreply.github.com> Date: Mon, 17 Feb 2025 22:35:54 +0530 Subject: [PATCH 1/6] [Windows] Updating Edgedriver signature and Wsl2 checksum (#11612) Co-authored-by: Prabhat kumar --- images/windows/scripts/build/Install-EdgeDriver.ps1 | 2 +- images/windows/scripts/build/Install-WSL2.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/images/windows/scripts/build/Install-EdgeDriver.ps1 b/images/windows/scripts/build/Install-EdgeDriver.ps1 index 6d10d6e5..e8f07b7d 100644 --- a/images/windows/scripts/build/Install-EdgeDriver.ps1 +++ b/images/windows/scripts/build/Install-EdgeDriver.ps1 @@ -27,7 +27,7 @@ Write-Host "Expand Microsoft Edge WebDriver archive..." Expand-7ZipArchive -Path $archivePath -DestinationPath $edgeDriverPath #Validate the EdgeDriver signature -$signatureThumbprint = "0BD8C56733FDCC06F8CB919FF5A200E39B1ACF71" +$signatureThumbprint = "7920AC8FB05E0FFFE21E8FF4B4F03093BA6AC16E" Test-FileSignature -Path "$edgeDriverPath\msedgedriver.exe" -ExpectedThumbprint $signatureThumbprint Write-Host "Setting the environment variables..." diff --git a/images/windows/scripts/build/Install-WSL2.ps1 b/images/windows/scripts/build/Install-WSL2.ps1 index 22f74ed7..f6e12125 100644 --- a/images/windows/scripts/build/Install-WSL2.ps1 +++ b/images/windows/scripts/build/Install-WSL2.ps1 @@ -8,7 +8,7 @@ $downloadUrl = Resolve-GithubReleaseAssetUrl ` Install-Binary -Type MSI ` -Url $downloadUrl ` - -ExpectedSHA256Sum "5A1EAD8E553ABBFB4DBB8291A329F3CA859DB2B8D887849F3F8CD19F7FABEF21" + -ExpectedSHA256Sum "3CC2866BE450210BDD7A7449DF96E0B1EAE25067EE348631A5B9BFC62C943740" Write-Host "Performing wsl --install --no-distribution" wsl.exe --install --no-distribution From bca30bf45f44f393f12db76fbc399c905e9c5c02 Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Tue, 18 Feb 2025 13:28:37 +0100 Subject: [PATCH 2/6] Remove authentication method from script (#11616) --- images.CI/linux-and-win/build-image.ps1 | 4 ++-- images.CI/linux-and-win/cleanup.ps1 | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/images.CI/linux-and-win/build-image.ps1 b/images.CI/linux-and-win/build-image.ps1 index 626dd188..2a253c57 100644 --- a/images.CI/linux-and-win/build-image.ps1 +++ b/images.CI/linux-and-win/build-image.ps1 @@ -1,7 +1,7 @@ param( [String] [Parameter (Mandatory=$true)] $TemplatePath, [String] [Parameter (Mandatory=$true)] $ClientId, - [String] [Parameter (Mandatory=$true)] $ClientSecret, + [String] [Parameter (Mandatory=$false)] $ClientSecret, [String] [Parameter (Mandatory=$true)] $Location, [String] [Parameter (Mandatory=$true)] $ImageName, [String] [Parameter (Mandatory=$true)] $ImageResourceGroupName, @@ -13,7 +13,7 @@ param( [String] [Parameter (Mandatory=$false)] $VirtualNetworkRG, [String] [Parameter (Mandatory=$false)] $VirtualNetworkSubnet, [String] [Parameter (Mandatory=$false)] $AllowedInboundIpAddresses = "[]", - [hashtable] [Parameter (Mandatory=$False)] $Tags = @{} + [hashtable] [Parameter (Mandatory=$false)] $Tags = @{} ) if (-not (Test-Path $TemplatePath)) diff --git a/images.CI/linux-and-win/cleanup.ps1 b/images.CI/linux-and-win/cleanup.ps1 index 7feac044..32065420 100644 --- a/images.CI/linux-and-win/cleanup.ps1 +++ b/images.CI/linux-and-win/cleanup.ps1 @@ -1,14 +1,7 @@ param( - [Parameter (Mandatory=$true)] [string] $TempResourceGroupName, - [Parameter (Mandatory=$true)] [string] $SubscriptionId, - [Parameter (Mandatory=$true)] [string] $ClientId, - [Parameter (Mandatory=$true)] [string] $ClientSecret, - [Parameter (Mandatory=$true)] [string] $TenantId + [Parameter (Mandatory=$true)] [string] $TempResourceGroupName ) -az login --service-principal --username $ClientId --password=$ClientSecret --tenant $TenantId | Out-Null -az account set --subscription $SubscriptionId | Out-Null - $groupExist = az group exists --name $TempResourceGroupName if ($groupExist -eq "true") { Write-Host "Found a match, deleting temporary files" From c40b72458d742105960148bedce2ac1ebc2084af Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Thu, 20 Feb 2025 16:09:34 +0100 Subject: [PATCH 3/6] Update Azure tags handler (#11629) --- images.CI/linux-and-win/build-image.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/images.CI/linux-and-win/build-image.ps1 b/images.CI/linux-and-win/build-image.ps1 index 2a253c57..7db04fb9 100644 --- a/images.CI/linux-and-win/build-image.ps1 +++ b/images.CI/linux-and-win/build-image.ps1 @@ -35,7 +35,7 @@ $SensitiveData = @( ': ->' ) -$azure_tags = ($Tags.GetEnumerator() | ForEach-Object { "{0}={1}" -f $_.Key, $_.Value }) -join "," +$azure_tags = $Tags | ConvertTo-Json -Compress Write-Host "Show Packer Version" packer --version @@ -60,7 +60,7 @@ packer build -var "client_id=$ClientId" ` -var "virtual_network_resource_group_name=$VirtualNetworkRG" ` -var "virtual_network_subnet_name=$VirtualNetworkSubnet" ` -var "allowed_inbound_ip_addresses=$($AllowedInboundIpAddresses)" ` - -var "azure_tags={$azure_tags}" ` + -var "azure_tags=$azure_tags" ` -color=false ` $TemplatePath ` | Where-Object { From d7dfc73ec2a6dee824f2502c9b2be7958d1df0a3 Mon Sep 17 00:00:00 2001 From: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com> Date: Thu, 20 Feb 2025 16:13:38 +0100 Subject: [PATCH 4/6] [Ubuntu, Windows] Add new android NDK and CMake (#11628) --- images/ubuntu/toolsets/toolset-2004.json | 4 ++-- images/ubuntu/toolsets/toolset-2204.json | 4 ++-- images/ubuntu/toolsets/toolset-2404.json | 3 ++- images/windows/toolsets/toolset-2019.json | 6 +++--- images/windows/toolsets/toolset-2022.json | 5 +++-- images/windows/toolsets/toolset-2025.json | 5 +++-- 6 files changed, 15 insertions(+), 12 deletions(-) diff --git a/images/ubuntu/toolsets/toolset-2004.json b/images/ubuntu/toolsets/toolset-2004.json index 047044b6..5cc94cee 100644 --- a/images/ubuntu/toolsets/toolset-2004.json +++ b/images/ubuntu/toolsets/toolset-2004.json @@ -88,9 +88,9 @@ "addon_list": [ ], "additional_tools": [ - "cmake;3.10.2.4988404", "cmake;3.18.1", - "cmake;3.22.1" + "cmake;3.22.1", + "cmake;3.31.5" ], "ndk": { "default": "27", diff --git a/images/ubuntu/toolsets/toolset-2204.json b/images/ubuntu/toolsets/toolset-2204.json index ea12307a..5828fb36 100644 --- a/images/ubuntu/toolsets/toolset-2204.json +++ b/images/ubuntu/toolsets/toolset-2204.json @@ -85,9 +85,9 @@ "addon_list": [ ], "additional_tools": [ - "cmake;3.10.2.4988404", "cmake;3.18.1", - "cmake;3.22.1" + "cmake;3.22.1", + "cmake;3.31.5" ], "ndk": { "default": "27", diff --git a/images/ubuntu/toolsets/toolset-2404.json b/images/ubuntu/toolsets/toolset-2404.json index 856cb5ea..6275245b 100644 --- a/images/ubuntu/toolsets/toolset-2404.json +++ b/images/ubuntu/toolsets/toolset-2404.json @@ -81,11 +81,12 @@ "addon_list": [ ], "additional_tools": [ + "cmake;3.31.5" ], "ndk": { "default": "27", "versions": [ - "26", "27" + "26", "27", "28" ] } }, diff --git a/images/windows/toolsets/toolset-2019.json b/images/windows/toolsets/toolset-2019.json index a9dca0bb..ffdcf47d 100644 --- a/images/windows/toolsets/toolset-2019.json +++ b/images/windows/toolsets/toolset-2019.json @@ -143,14 +143,14 @@ "addon-google_apis-google-21" ], "additional_tools": [ - "cmake;3.10.2.4988404", "cmake;3.18.1", - "cmake;3.22.1" + "cmake;3.22.1", + "cmake;3.31.5" ], "ndk": { "default": "27", "versions": [ - "26" , "27" + "26" , "27", "28" ] } }, diff --git a/images/windows/toolsets/toolset-2022.json b/images/windows/toolsets/toolset-2022.json index 6657f5f9..050f7647 100644 --- a/images/windows/toolsets/toolset-2022.json +++ b/images/windows/toolsets/toolset-2022.json @@ -139,12 +139,13 @@ "addons": [], "additional_tools": [ "cmake;3.18.1", - "cmake;3.22.1" + "cmake;3.22.1", + "cmake;3.31.5" ], "ndk": { "default": "27", "versions": [ - "26", "27" + "26", "27", "28" ] } }, diff --git a/images/windows/toolsets/toolset-2025.json b/images/windows/toolsets/toolset-2025.json index 42619003..77ec5405 100644 --- a/images/windows/toolsets/toolset-2025.json +++ b/images/windows/toolsets/toolset-2025.json @@ -96,12 +96,13 @@ "addons": [], "additional_tools": [ "cmake;3.22.1", - "cmake;3.30.5" + "cmake;3.30.5", + "cmake;3.31.5" ], "ndk": { "default": "27", "versions": [ - "26", "27" + "26", "27", "28" ] } }, From 7a15e7194e133294303073822d596cbcc57e1bfe Mon Sep 17 00:00:00 2001 From: Shamil Mubarakshin <127750046+shamil-mubarakshin@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:14:48 +0100 Subject: [PATCH 5/6] [docs] Mark ubuntu-20.04 as deprecated (#11641) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ebcaeff1..077243bd 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ To build a VM machine from this repo's source, see the [instructions](docs/creat | --------------------|---------------------|--------------------|--------------------| | Ubuntu 24.04 | `ubuntu-latest` or `ubuntu-24.04` | [ubuntu-24.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu24.json) | | Ubuntu 22.04 | `ubuntu-22.04` | [ubuntu-22.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu22.json) | -| Ubuntu 20.04 | `ubuntu-20.04` | [ubuntu-20.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu20.json) | +| Ubuntu 20.04 deprecated | `ubuntu-20.04` | [ubuntu-20.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu20.json) | | macOS 15 beta | `macos-15-large`| [macOS-15] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15.json) | | macOS 15 Arm64 beta | `macos-15` or `macos-15-xlarge` | [macOS-15-arm64] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15-arm64.json) | | macOS 14 | `macos-latest-large` or `macos-14-large`| [macOS-14] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-14.json) | From a4b00d89b9b8786fea598d7294973f2628dea00d Mon Sep 17 00:00:00 2001 From: kishorekumar-anchala <168699259+kishorekumar-anchala@users.noreply.github.com> Date: Fri, 21 Feb 2025 14:38:42 +0000 Subject: [PATCH 6/6] [Windows 22 & 25] Update Visual studio signature and Az Powershell module version (#11636) * Update Vs signature and Az version * Pin the Zstd version * Update VS signature for windows 25 * Update Install-Zstd.ps1 --- images/windows/toolsets/toolset-2022.json | 4 ++-- images/windows/toolsets/toolset-2025.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/windows/toolsets/toolset-2022.json b/images/windows/toolsets/toolset-2022.json index 050f7647..8ab454c1 100644 --- a/images/windows/toolsets/toolset-2022.json +++ b/images/windows/toolsets/toolset-2022.json @@ -115,7 +115,7 @@ { "name": "az", "versions": [ - "12.1.0" + "12.4.0" ], "zip_versions": [ @@ -180,7 +180,7 @@ "subversion" : "17", "edition" : "Enterprise", "channel": "release", - "signature": "8F985BE8FD256085C90A95D3C74580511A1DB975", + "signature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D", "workloads": [ "Component.Dotfuscator", "Component.Linux.CMake", diff --git a/images/windows/toolsets/toolset-2025.json b/images/windows/toolsets/toolset-2025.json index 77ec5405..d8e6ecc8 100644 --- a/images/windows/toolsets/toolset-2025.json +++ b/images/windows/toolsets/toolset-2025.json @@ -137,7 +137,7 @@ "subversion" : "17", "edition" : "Enterprise", "channel": "release", - "signature": "8F985BE8FD256085C90A95D3C74580511A1DB975", + "signature": "245D262748012A4FE6CE8BA6C951A4C4AFBC3E5D", "workloads": [ "Component.Dotfuscator", "Component.Linux.CMake",