Compare commits

...

3087 Commits

Author SHA1 Message Date
Paulo Santos 38a1da19ee add image version check script 2025-12-12 16:57:07 +00:00
Shamil Mubarakshin b3681d0108 [macos] Fix preimage data (#13400) 2025-12-08 17:17:57 +01:00
github-actions[bot] 0e1bcaf604 Updating readme file for macos-26-arm64 version 20251203.0070.1 (#13381)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-08 11:29:44 +00:00
github-actions[bot] f1cb2c81e1 Updating readme file for macos-15-arm64 version 20251203.0057.1 (#13382)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-08 11:29:32 +00:00
github-actions[bot] fd9887d6fe Updating readme file for macos-15 version 20251203.0058.1 (#13383)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-08 11:29:00 +00:00
github-actions[bot] a0ba8eab14 Updating readme file for macos-14-arm64 version 20251203.0037.1 (#13384)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-08 11:28:35 +00:00
github-actions[bot] 09b8be3b79 Updating readme file for macos-14 version 20251203.0047.1 (#13385)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-08 11:22:29 +00:00
Erik Bershel 45c39b922d [macOS-26] Update Xcode 26.2, remove Xcode 16.4 (#13391) 2025-12-05 12:13:36 +01:00
github-actions[bot] cfcfdb7d62 Updating readme file for win22 version 20251125.125.1 (#13359)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-04 19:53:35 +00:00
github-actions[bot] c62eec6083 Updating readme file for win25 version 20251125.122.1 (#13360)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-04 19:17:11 +00:00
github-actions[bot] 4b19e14210 Updating readme file for ubuntu22 version 20251125.163.1 (#13356)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-04 18:27:51 +00:00
github-actions[bot] fe9fe1c3f9 Updating readme file for ubuntu24 version 20251126.144.1 (#13369)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-12-04 18:26:13 +00:00
Erik Bershel ed72980fd0 [macOS] Disable PerfPowerServices (#13379) 2025-12-04 11:36:36 +01:00
Alexey-Ayupov eba51f8f87 [Windows] Change VS extensions order for windows-2019 image (#13378) 2025-12-03 11:42:37 +01:00
github-actions[bot] 74a06c36b6 Updating readme file for macos-15-arm64 version 2025.1126.0044 (#13363)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
2025-11-28 23:20:38 +01:00
github-actions[bot] 12dedd31ca Updating readme file for macos-15 version 2025.1126.0042 (#13361)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
2025-11-28 13:58:27 +01:00
github-actions[bot] a4fdd31766 Updating readme file for macos-26-arm64 version 2025.1126.0052 (#13362)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
2025-11-28 13:58:19 +01:00
github-actions[bot] fe23e4ab00 Updating readme file for macos-14-arm64 version 2025.1126.0029 (#13354)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
2025-11-28 13:58:02 +01:00
github-actions[bot] 5f58af0964 Updating readme file for macos-14 version 2025.1125.0031 (#13352)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
2025-11-28 13:57:51 +01:00
Paulo Santos a183847c57 Add provisioner shell to list installed apt packages (#13368) 2025-11-27 17:16:19 +01:00
Maxim Lobanov 79625a3639 Refactor Source image SKUs in packer templates (#13364)
* [ubuntu] Refactor image properties mapping to use source_image_marketplace_sku

* Refactor Ubuntu and Windows image properties to simplify disk size handling and update marketplace SKU mappings

* Refactor disk size handling to use coalesce for improved flexibility
2025-11-27 15:36:32 +01:00
Paulo Santos d3fa237a67 Merge pull request #13329 from actions/gitpaulo/copilot-instructions
Add copilot instructions and update CONTRIBUTING.md with code style
2025-11-27 12:35:27 +00:00
Erik Bershel d0d1862c4a [all OSs] Remove unused actions/runner cache (#13350) 2025-11-27 13:32:22 +01:00
Erik Bershel df2584718f Apply suggestions from code review 2025-11-27 13:26:35 +01:00
Erik Bershel 868bc6b53c Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 13:24:50 +01:00
Paulo Santos 9b1fa5a76c update copilot code instructions to refer to CONTRIBUTING.md 2025-11-27 01:41:57 +00:00
Paulo Santos 45c63aafc4 add style guide to CONTRIBUTING.md 2025-11-27 01:38:02 +00:00
Erik Bershel db8d413376 [macOS] Enable runtimes and re-caching for Xcode 26.1 and later (#13343)
* [macOS] Enable runtimes and re-caching for Xcode 26.1 and later

* Drop Xcode 26.2 beta 2 for macOS 15
2025-11-25 18:20:57 +01:00
Erik Bershel 0d358721af [macOS] Update output files (#13344)
* [macOS] Update output files

* Upd cofigure-system.sh to work with new name pattern
2025-11-25 12:35:29 +01:00
Erik Bershel 20d9e86d33 [macOS] Update PHP to 8.5 for Intel-based images (#13342) 2025-11-24 12:44:31 +01:00
Erik Bershel 0f04992252 [macOS] Add .NET 10 SDK (#13338) 2025-11-21 11:40:24 +01:00
Erik Bershel 9dd0b1a8d4 [macOS] Add Xcode 26.2 beta 2 (#13336) 2025-11-21 11:04:51 +01:00
Paulo Santos c5a12a401a copilot: spelling correction
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-20 11:41:04 +00:00
Paulo Santos f5d8f202e7 lint: applied markdown linting 2025-11-20 11:39:16 +00:00
Paulo Santos 51e536326f add copilot instructions for Github Actions runner-images repository 2025-11-20 11:25:02 +00:00
Erik Bershel dad935f2fe [macOS] Add Xcode 26.1.1 without runtimes (#13326)
Co-authored-by: alexey-ayupov <alexey-ayupov@github.com>
2025-11-19 19:06:51 +01:00
Alexey-Ayupov fe2c39a3ea [Windows] update the URLs for Visual Studio extensions (#13316) 2025-11-18 10:08:54 +01:00
github-actions[bot] f4280c339b Updating readme file for ubuntu24 version 20251112.124.1 (#13296)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-17 18:52:01 +00:00
github-actions[bot] e48d82f863 Updating readme file for ubuntu22 version 20251112.150.1 (#13299)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-17 18:39:01 +00:00
github-actions[bot] e90295a029 Updating readme file for macos-14-arm64 version 20251111.0092 (#13301)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-11-17 15:00:26 +00:00
github-actions[bot] adfab0747f Updating readme file for macos-14 version 20251111.0163 (#13300)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-11-17 15:00:20 +00:00
Erik Bershel 51665f3347 [Windows/Ubuntu] Add .NET 10 SDK (#13295) 2025-11-12 11:59:35 +01:00
Mike Tesch 0b19ddce5a Merge pull request #13281 from actions/mitesch/slim
Add Ubuntu Slim option to bug report template
2025-11-10 11:20:11 -05:00
Mike Tesch 940f8ffaff Add to other workflows 2025-11-10 09:47:41 -05:00
Mike Tesch 6fdc2b30e3 Add Ubuntu Slim option to bug report template 2025-11-10 09:45:03 -05:00
github-actions[bot] b5d155ed87 Updating readme file for win22 version 20251102.87.1 (#13245)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-10 12:48:15 +00:00
github-actions[bot] 62fa8463e4 Updating readme file for win25 version 20251102.77.1 (#13246)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-10 12:08:09 +00:00
github-actions[bot] abf5454735 Updating readme file for ubuntu22 version 20251102.127.1 (#13247)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-10 11:27:50 +00:00
github-actions[bot] c27d7d184a Updating readme file for ubuntu24 version 20251102.99.1 (#13250)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-10 11:26:20 +00:00
github-actions[bot] 31875222a4 Updating readme file for macos-15-arm64 version 20251104.0104 (#13256)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-10 10:05:28 +00:00
Erik Bershel 9b8c970943 [macOS] Install MetalToolchain for Xcode Releases only (#13273) 2025-11-07 18:06:29 +01:00
github-actions[bot] a15f42d197 Updating readme file for macos-15 version 20251103.0112 (#13249)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-07 15:35:58 +00:00
github-actions[bot] 038f49e85c Updating readme file for macos-26-arm64 version 20251103.0095 (#13251)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-07 15:34:39 +00:00
github-actions[bot] c88ab81ef3 Updating readme file for macos-14 version 20251104.0148 (#13257)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-07 15:34:23 +00:00
github-actions[bot] b4e92c5650 Updating readme file for macos-14-arm64 version 20251103.0081 (#13253)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-07 15:33:58 +00:00
Alexey-Ayupov 1f107542ae [Ubuntu] Disable man-db auto update (#13268) 2025-11-06 17:05:02 +01:00
Erik Bershel 10901db80b [workflow] SBOM; add cross-support for version formats (#13218) 2025-11-06 13:39:54 +01:00
Alexey-Ayupov 7901df4cde [macOS] Add android ndk r29 and cmake 4.1.2 (#13244) 2025-11-05 16:18:59 +01:00
Alexey-Ayupov eecb8a7ff2 [Windows] Add android ndk r29 and cmake 4.1.2 (#13243) 2025-11-05 16:18:25 +01:00
Alexey-Ayupov 783b4575c4 [Ubuntu] Add android ndk r29 and cmake 4.1.2 (#13242) 2025-11-05 16:18:05 +01:00
github-actions[bot] aab6e27787 Updating readme file for ubuntu24 version 20251030.96.2 (#13236)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-11-03 12:17:07 +00:00
Shamil Mubarakshin e7dc7ab548 [macos] Remove deprecated Node, Ruby, gcc versions (#13240) 2025-10-31 14:13:04 +01:00
Shamil Mubarakshin f34cbb76a9 [ubuntu] Remove deprecated Node, Ruby, gcc versions (#13232) 2025-10-31 13:37:38 +01:00
Shamil Mubarakshin a1fa477069 [windows] Remove deprecated Node, Ruby versions (#13231) 2025-10-31 13:37:19 +01:00
Shamil Mubarakshin 1625af4b46 [macos] Update XCode 26.1 to RC1 (#13233) 2025-10-30 18:11:27 +01:00
Shamil Mubarakshin 937b90eab7 [macos] Update Software Report for XCode Simulators (#13226) 2025-10-29 18:19:54 +01:00
github-actions[bot] 42d93921f8 Updating readme file for win22 version 20251021.76.1 (#13205)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 15:36:33 +00:00
github-actions[bot] 7054a12ef5 Updating readme file for win25 version 20251021.67.1 (#13206)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 15:23:52 +00:00
github-actions[bot] 1db2aa222f Updating readme file for ubuntu22 version 20251021.115.1 (#13207)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 14:25:45 +00:00
github-actions[bot] aa28939c6c Updating readme file for macos-15-arm64 version 20251021.0066 (#13209)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 13:47:44 +00:00
github-actions[bot] c8c5bf1c84 Updating readme file for macos-26-arm64 version 20251022.0070 (#13211)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 13:47:15 +00:00
github-actions[bot] f6dd2de1cc Updating readme file for macos-14-arm64 version 20251020.0056 (#13208)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-26 13:47:11 +00:00
Alejandro Rosas dcc9bb6dbf [ubuntu, macOS] Fix tools version extraction in Install Android SDK scripts (#12911) 2025-10-23 21:31:30 +02:00
Luis Caro Campos b1d8e89820 [Windows] OpenSSL: do not install DLLs globally to system32 (#13203) 2025-10-23 12:00:10 +02:00
Erik Bershel f5d0e07710 [macOS] Update Xcode 26.1 to beta 3 (#13197) 2025-10-22 00:28:26 +02:00
Erik Bershel f45f955042 Revert "Updating readme file for ubuntu24 version 20251014.76.1 (#13173)" (#13194)
This reverts commit 45c6be9e64.
2025-10-21 12:19:30 +02:00
github-actions[bot] ea58c5c8db Updating readme file for win22 version 20251014.68.1 (#13172)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 13:56:26 +00:00
github-actions[bot] 6d89b51b85 Updating readme file for win25 version 20251014.59.1 (#13170)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 13:16:57 +00:00
github-actions[bot] 3b9a213b72 Updating readme file for ubuntu22 version 20251014.106.1 (#13171)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 12:46:25 +00:00
github-actions[bot] 45c6be9e64 Updating readme file for ubuntu24 version 20251014.76.1 (#13173)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 12:38:57 +00:00
github-actions[bot] b6da00b4dc Updating readme file for macos-14-arm64 version 20251013.0032 (#13176)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 13:21:57 +02:00
github-actions[bot] afa5c0b353 Updating readme file for macos-15-arm64 version 20251015.0042 (#13169)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 11:19:30 +00:00
github-actions[bot] a7ed3ece41 Updating readme file for macos-15 version 20251015.0046 (#13180)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 11:19:28 +00:00
github-actions[bot] 3b63c38a32 Updating readme file for macos-26-arm64 version 20251014.0041 (#13167)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-20 11:18:54 +00:00
Erik Bershel d4d5736e7d [all OSs] Add Python 3.14 to the toolcache (#13159) 2025-10-16 12:56:38 +02:00
Erik Bershel 84653458a4 [macOS] Fix default Xcode for docs, add after-switching warmup (#13179) 2025-10-16 12:36:17 +02:00
Erik Bershel 2f702974cc [macOS] Update Python script and Python3 symlink behaviour (#13174) 2025-10-16 12:34:30 +02:00
Erik Bershel 3ae94865d0 [macOS] Fix for Xcode installer script; skip re-caching on macOS-14 (#13161) 2025-10-13 20:41:07 +02:00
Lawrence Gripper 3b741f2a5b Merge pull request #13160 from actions/lg/certutil
Add certutil to Ubuntu
2025-10-13 04:19:18 -04:00
Erik Bershel ed18dfab03 [macOS] Update Python installer script (#13157) 2025-10-10 17:19:38 +02:00
Lawrence Gripper 3751ef43fe Add certutil to Ubuntu 2025-10-10 16:13:43 +01:00
Shamil Mubarakshin fdfa28c5be [macos-15] Add Xcode 26.1 beta2 (#13152) 2025-10-10 09:32:02 +02:00
Erik Bershel 38bd4879f3 [workflow] Update SBOM report workflow to use agentSpec + imageVersion (#13151) 2025-10-09 20:36:11 +02:00
Erik Bershel e2ff98fda7 [macOS] Rebuild dyld shared cache for latest stable Xcode (#13149) 2025-10-09 12:06:17 +02:00
Shamil Mubarakshin fab1401fc8 [macos-26] Add Xcode 26.1 beta2 (#13146) 2025-10-09 11:13:50 +02:00
Alexey-Ayupov 610c1c15ee [Ubuntu] Add ssh_clear_authorized_keys to Packer template (#13136) 2025-10-07 11:05:18 +02:00
github-actions[bot] 35f7a33e9f Updating readme file for macos-26-arm64 version 20250928.159 (#13102)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-10-05 13:36:49 +02:00
github-actions[bot] 7323b0a154 Updating readme file for macos-14-arm64 version 20250928.1833 (#13101)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-10-05 13:36:38 +02:00
github-actions[bot] 4b31ecd88f Updating readme file for macos-15 version 20250928.1958 (#13100)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-10-05 13:36:28 +02:00
github-actions[bot] fbdda8e7dd Updating readme file for macos-15-arm64 version 20250928.2397 (#13099)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-10-05 13:36:21 +02:00
github-actions[bot] 468c712108 Updating readme file for macos-14 version 20250928.1654 (#13098)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-10-05 13:35:56 +02:00
github-actions[bot] 3d9dbd3af7 Updating readme file for win25 version 20250929.44.1 (#13106)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-05 11:28:43 +00:00
github-actions[bot] ebe73ab2df Updating readme file for win22 version 20250929.55.1 (#13104)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-05 11:28:35 +00:00
github-actions[bot] 6b818f0e37 Updating readme file for ubuntu24 version 20250929.60.1 (#13105)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-05 11:28:01 +00:00
github-actions[bot] 1920bf6dd2 Updating readme file for ubuntu22 version 20250929.88.1 (#13103)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-10-05 11:27:35 +00:00
Shamil Mubarakshin de257bbc47 [windows] Add SQL OLEDB Driver 19 (#13127) 2025-10-03 11:25:44 +02:00
Shamil Mubarakshin 5641ff0eb6 [Windows,Ubuntu] Update disk space pester test (#13128) 2025-10-03 11:25:31 +02:00
Erik Bershel ba87e27210 [Windows] Update MinGW on 2022 and 2025, disable alert for 2019 (#13120) 2025-10-02 17:33:46 +02:00
Erik Bershel d62283e7d1 [Windows] Move PGDATA out of Program Files (#13107) 2025-10-02 15:37:42 +02:00
Alexey-Ayupov 8b17fc0f05 [Windows] Update MongoDB to 7.0 on windows-2022 (#13125) 2025-10-02 12:35:19 +02:00
Erik Bershel 4fb55a7372 Revert "[workflow] Bump super-linter/slim package to v8 (#13114)" (#13126) 2025-10-02 11:34:17 +02:00
Erik Bershel 68417c51be [WIndows] Update OpenSSL to 3.* on windows-2022 and script itself (#13119) 2025-10-02 11:13:07 +02:00
xavier2k6 1c513424de [workflow] Bump ncipollo/release-action package to v1.20.0 (#13115) 2025-10-01 16:44:05 +02:00
xavier2k6 b4b82814b8 [workflow] Bump super-linter/slim package to v8 (#13114) 2025-10-01 16:43:21 +02:00
xavier2k6 1cfba39ca6 [workflow] Bump GitHub actions/github-script packages to v8 (#13113) 2025-10-01 16:42:10 +02:00
xavier2k6 240cc1fd31 [workflow] Bump GitHub actions/checkout packages to v5 (#13112)
https://github.com/actions/checkout/releases
2025-10-01 16:40:15 +02:00
Erik Bershel 33a8887807 [all OSs] Add Node 24 (#13111) 2025-10-01 14:19:05 +02:00
Erik Bershel 5d9238eda7 [Ubuntu] Add Go 1.25 (#13110) 2025-10-01 14:18:35 +02:00
kishorekumar-anchala 41a7cee3c1 [Windows] Update windows-latest label to point to windows-2025 (#12925)
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-10-01 14:15:39 +02:00
xavier2k6 d0017a9489 [Windows 2025] Update strawberryperl to 5.42.0.1 (#12727) 2025-09-30 18:02:42 +02:00
hemanthmanga f2a289ae7a [Windows 2025] Add InnoSetup (#13090) 2025-09-30 16:39:57 +02:00
github-actions[bot] 4e77d37c45 Updating readme file for macos-15-arm64 version 20250922.2357 (#13061)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-29 14:57:44 +02:00
github-actions[bot] cb62bc3f72 Updating readme file for macos-14-arm64 version 20250922.1822 (#13060)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-29 08:49:12 +00:00
vidya sagar d43555be65 [Windows] Add JAVA 25 LTS (#13087) 2025-09-26 18:30:01 +02:00
vidya sagar 2aaa682025 [Ubuntu] Add Java 25 LTS (#13084) 2025-09-26 18:29:33 +02:00
Erik Bershel b41b1a3ee9 [macOS] Add TCL/TK to macOS 15 images (#13092) 2025-09-26 15:29:04 +02:00
Erik Bershel 9da76c777a [macOS] Add MetalToolchain component for Xcode 26+ (#13088)
---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-26 15:14:53 +02:00
github-actions[bot] 75ec4229a6 Updating readme file for win25 version 20250921.36.1 (#13055)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-26 10:56:04 +00:00
github-actions[bot] d4a67d1713 Updating readme file for win22 version 20250921.44.1 (#13056)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-26 10:55:26 +00:00
github-actions[bot] eb9ffa76cc Updating readme file for ubuntu22 version 20250922.79.1 (#13067)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-26 10:55:02 +00:00
github-actions[bot] e0d1ac0bdd Updating readme file for ubuntu24 version 20250922.53.1 (#13068)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-26 10:53:08 +00:00
github-actions[bot] b837bf128b Updating readme file for macos-15 version 20250917.1898 (#13063)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-26 00:41:57 +02:00
archita105 9352a813a9 [macOS] Add Xcode 26.1 beta to macOS 15 and macOS 26 (#13085)
---------

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-09-26 00:13:52 +02:00
Erik Bershel 665cb1d7a9 [macOS] Add bluetooth permission to agents, remove stale entry (#13078) 2025-09-25 12:30:12 +02:00
Erik Bershel 43e0a2df9c [macOS] Add Java 25 LTS (#13077) 2025-09-25 12:29:50 +02:00
archita105 b99fd57b68 [macOS] Update Xcode 26.0 to 26.0.1 (#13081)
---------

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-09-25 11:03:17 +02:00
Erik Bershel 69c94f5be8 Revert "[all OSs] Pin Rust to 1.89.0 due to a 1.90.0 breaking change (#13044)" (#13076)
This reverts commit 98a1416fbf.
2025-09-24 19:32:18 +02:00
Alex Schwartz 21bf85db20 [doc] Add macos-15-intel to README (#13069) 2025-09-23 13:00:40 +02:00
Shamil Mubarakshin dcf9c6937d [ubuntu] Update Ruby install (#13058) 2025-09-22 14:45:48 +02:00
Scott Huberty 3ca6d131cd [doc] Deprecate macOS 13 and macOS 13 arm64 (#12897)
Add deprecation badge that mark macOS 13 and macOS 13 arm64 as deprecated.

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-09-22 11:30:13 +02:00
Erik Bershel 71dffe14d5 [macOS] Update Ruby installer script due to #13050 (#13052)
* [macOS] Update Ruby installer script due to #13050

* Nit: extend version filter just in case

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-22 10:50:10 +05:30
Erik Bershel 98a1416fbf [all OSs] Pin Rust to 1.89.0 due to a 1.90.0 breaking change (#13044) 2025-09-21 13:38:09 +02:00
MathijsH 6e5217944a [windows-2025] Update openssl to 3.5.3 (#13043) 2025-09-19 20:01:38 +02:00
github-actions[bot] 51406cf0a7 Updating readme file for macos-15-arm64 version 20250916.2338 (#13029)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-19 14:46:05 +02:00
github-actions[bot] da2ab540c3 Updating readme file for macos-26-arm64 version 20250916.110 (#13028)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-19 10:16:33 +00:00
github-actions[bot] 6a673e67f6 Updating readme file for macos-14 version 20250915.1617 (#13018)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-18 15:12:09 +00:00
github-actions[bot] 6107afdb8b Updating readme file for macos-14-arm64 version 20250915.1804 (#13016)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-18 15:11:57 +00:00
Shamil Mubarakshin 6d4f6ceff4 Revert "[Windows,Ubuntu] Unpin the cmake version (#12953)" (#13032) 2025-09-18 11:29:05 +02:00
Erik Bershel 18a0044012 [macOS] Update Xcode 26 beta to 26.0 Release (#13024) 2025-09-16 11:39:14 +02:00
Shamil Mubarakshin cbcbee08ee [windows] Update uri for mongo releases (#13019) 2025-09-15 21:07:07 +02:00
Olivier Mengué 4847d9e554 [Windows] Add Go 1.25.* in cached toolsets (#12943) 2025-09-15 12:49:43 +02:00
kishorekumar-anchala 2aaadf504b [Windows,Ubuntu] Unpin the cmake version (#12953) 2025-09-15 11:32:04 +02:00
github-actions[bot] 6f04fd4a75 Updating readme file for macos-15-arm64 version 20250911.2324 (#13006)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-13 22:30:06 +02:00
github-actions[bot] bdb8d6a017 Updating readme file for macos-15 version 20250908.1827 (#12986)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-12 18:55:58 +02:00
Shamil Mubarakshin 0742173587 [ubuntu] Modify installation and add .NET 9 (#13004) 2025-09-12 15:57:58 +02:00
github-actions[bot] b1634b123b Updating readme file for macos-14 version 20250908.1607 (#12988)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-12 07:38:12 +00:00
github-actions[bot] 68033e9bfd Updating readme file for macos-13-arm64 version 20250908.1545 (#12981)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-12 07:18:00 +00:00
github-actions[bot] c7e4bb37d1 Updating readme file for macos-13 version 20250908.1476 (#12989)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-12 07:09:48 +00:00
Erik Bershel ff3cea8461 [docs] Fix macOS 26 label in README.md (#13009) 2025-09-12 00:08:46 +02:00
Erik Bershel e812bbc619 [macOS] Introduce macOS-26 base code (#13007) 2025-09-11 23:49:57 +02:00
github-actions[bot] a4fd58c860 Updating readme file for ubuntu22 version 20250907.50.1 (#12982)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-10 12:00:20 +00:00
github-actions[bot] 5adc1f5405 Updating readme file for ubuntu24 version 20250907.24.1 (#12987)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-10 11:54:41 +00:00
github-actions[bot] 2cef99ae11 Updating readme file for win22 version 20250907.29.1 (#12984)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-10 11:41:38 +00:00
github-actions[bot] d9f82edcfb Updating readme file for win25 version 20250907.19.1 (#12983)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-10 11:33:16 +00:00
sureshe456 1eb4db82ba [macOS] Update Xcode 26 to RC1 (#12994)
Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
2025-09-10 11:24:10 +02:00
sureshe456 92166f64ee [macOS]Pin Git to 2.50.1 version (#12954)
* [macOS]Pin Git to 2.50.1 version

* Update images/macos/scripts/build/install-git.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-05 21:05:12 +05:30
github-actions[bot] 2f8d6ab9ef Updating readme file for macos-13 version 20250901.1455 (#12931)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-04 16:35:33 +00:00
Erik Bershel 657dd721c0 [macOS] Add Go 1.25.* (#12950) 2025-09-04 16:30:14 +02:00
github-actions[bot] 57f0dc0e78 Updating readme file for macos-15-arm64 version 20250830.2281 (#12927)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-04 11:36:13 +00:00
github-actions[bot] ea34d87d95 Updating readme file for win22 version 20250831.1.0 (#12938)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-04 05:15:22 +00:00
github-actions[bot] d01c5784c3 Updating readme file for macos-14-arm64 version 20250901.1774 (#12928)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 19:50:41 +00:00
github-actions[bot] 00adaa51e9 Updating readme file for macos-14 version 20250901.1573 (#12932)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 17:51:59 +00:00
github-actions[bot] 175b894612 Updating readme file for macos-13-arm64 version 20250901.1533 (#12924)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 17:37:07 +00:00
github-actions[bot] 227fadb032 Updating readme file for macos-15 version 20250830.1803 (#12926)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 16:52:27 +00:00
Erik Bershel aa3ee59784 [macOS] Unpin Cmake from 3.31.6 version (#12935) 2025-09-03 15:44:23 +02:00
github-actions[bot] 1df4f34527 Updating readme file for win25 version 20250901.13.1 (#12942)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 12:06:55 +00:00
github-actions[bot] 4a4e55c9f3 Updating readme file for ubuntu22 version 20250901.41.1 (#12941)
Co-authored-by: Hosted Runners Images Bot. <hosted-runners-images-bot@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-09-03 11:59:54 +00:00
github-actions[bot] 26b0a08e42 Updating readme file for ubuntu24 version 20250831.1.0 (#12929)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-09-03 10:05:06 +00:00
Erik Bershel bfd23df81d [doc] Fix available images table content (#12908) 2025-08-29 15:54:27 +02:00
github-actions[bot] 9481c722c7 Updating readme file for macos-14-arm64 version 20250825.1763 (#12899)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-29 13:34:20 +00:00
Erik Bershel f9b2a7fd5d [macOS] Update Xcode 26 to beta 7 (#12907)
Co-authored-by: ijunaidm1 <ijunaidm1@github.com>
2025-08-29 14:05:11 +02:00
Shamil Mubarakshin 45f6fb8339 [ubuntu] Adjust provisioner pause after reboot (#12906) 2025-08-29 11:49:12 +02:00
ijunaidm1 4b6aeea774 [doc] Update macOS labels in README.md (#12903) 2025-08-28 18:20:57 +02:00
github-actions[bot] 2a9adccdde Updating readme file for ubuntu22 version 20250825.1.0 (#12894)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-28 13:29:13 +00:00
github-actions[bot] 67266d9696 Updating readme file for win22 version 20250825.1.0 (#12895)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-28 13:28:55 +00:00
github-actions[bot] e35b45ab15 Updating readme file for win25 version 20250825.1.0 (#12893)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-28 13:04:17 +00:00
github-actions[bot] 968533e65b Updating readme file for macos-15 version 20250825.1768 (#12888)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-28 10:26:21 +00:00
github-actions[bot] 1627c23669 Updating readme file for macos-14 version 20250825.1555 (#12891)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-27 17:19:05 +00:00
github-actions[bot] b4628adfda Updating readme file for ubuntu24 version 20250824.1.0 (#12889)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-27 14:52:44 +00:00
github-actions[bot] 2faa55d2bc Updating readme file for macos-15-arm64 version 20250825.2246 (#12885)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-27 13:40:08 +00:00
github-actions[bot] 98cc45d27e Updating readme file for macos-13 version 20250825.1442 (#12886)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-27 11:14:46 +00:00
github-actions[bot] 4cabe59579 Updating readme file for macos-13-arm64 version 20250825.1524 (#12882)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-27 08:17:23 +00:00
Erik Bershel 6d02575981 [doc] Remove image rollout badges (#12896) 2025-08-26 19:06:22 +02:00
Shamil Mubarakshin 25f533f3b2 [windows] Remove Msys2 checksum verification (#12884) 2025-08-25 19:36:35 +02:00
Erik Bershel 2673a3067e [macOS] Disable conflicting components for Xcode 26 beta (#12872) 2025-08-22 12:22:19 +02:00
Erik Bershel 48c9075100 [macOS] Update default Xcode to 16.4 on macOS-15 (#12871) 2025-08-22 12:22:02 +02:00
github-actions[bot] b15aef1cc0 Updating readme file for macos-14-arm64 version 20250818.1747 (#12783)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 21:23:21 +00:00
github-actions[bot] 7d14284758 Updating readme file for macos-14 version 20250818.1534 (#12854)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 20:34:57 +00:00
github-actions[bot] 76fc2ceabf Updating readme file for ubuntu24 version 20250818.1.0 (#12792)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 12:26:09 +00:00
github-actions[bot] 48f22b16b6 Updating readme file for win22 version 20250817.1.0 (#12780)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 10:52:36 +00:00
github-actions[bot] 09d8b53610 Updating readme file for win25 version 20250817.1.0 (#12779)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 10:52:30 +00:00
github-actions[bot] df82c55e6d Updating readme file for ubuntu22 version 20250818.1.0 (#12787)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-21 10:08:14 +00:00
github-actions[bot] 5fb34621e9 Updating readme file for macos-15-arm64 version 20250818.2206 (#12786)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-20 21:54:31 +00:00
github-actions[bot] b1e1b3e50b Updating readme file for macos-13-arm64 version 20250818.1503 (#12785)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-20 13:38:25 +00:00
github-actions[bot] 778e1c1bb3 Updating readme file for macos-15 version 20250818.1709 (#12784)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-20 12:59:21 +00:00
sangeeths03 0b0aca9a29 [macOS] Update Xcode 26 to beta 6 (#12859) 2025-08-20 14:07:49 +02:00
github-actions[bot] a978857f34 Updating readme file for macos-13 version 20250818.1405 (#12782)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-20 11:36:56 +00:00
sureshe456 da7977bf26 [macOS] Change Cmake version pinning method due to Homebrew update. (#12791) 2025-08-19 17:13:14 +02:00
Shamil Mubarakshin b8f3c687ea Update Release and Pull Request creation workflows (#12767) 2025-08-18 12:12:17 +02:00
Erik Bershel 8384138a4a [macOS] Directly install Xcode 26 beta 5 platforms (#12768) 2025-08-15 16:09:19 +02:00
github-actions[bot] 76a6259291 Updating readme file for macos-14-arm64 version 20250813.1729 (#12754)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-15 02:01:31 +00:00
susmitamane 3a63738c77 [macOS] Remove additional curly bracket. (#12761)
* [macOS] Add Edge browser to arm64 images.

* [macOS] Replace the edge download URL for arm64 images.

* [macOS] Remove if condition for skipping software report generation for arm64 images.

* [macOS] Removed additional {.
2025-08-14 08:51:32 -05:00
github-actions[bot] 296eb88a79 Updating readme file for win22 version 20250811.1.0 (#12749)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-14 09:14:53 +00:00
susmitamane f899392729 [macOS] Add Edge browser to arm64 images. (#12759) 2025-08-14 11:07:20 +02:00
sureshe456 9d9a63ab45 [macOS] Add Safari TCC entries for HCA, bash and Apple Script (#12752)
* Add safari tcc entries for hosted compute agent, bash and Apple Script

* replaced with dobule quotes

---------

Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
2025-08-14 14:36:42 +05:30
Prabhatkumar59 592030fe7a Removing older sdk version for win19 (#12756) 2025-08-13 15:22:22 -06:00
github-actions[bot] c78176e453 macOS 15 arm64 (20250811) Image Update (#12734)
* Updating readme file for macos-15-arm64 version 20250811.2170

* Fix Packer version output

---------

Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 18:31:09 +00:00
github-actions[bot] ef8b4f5ade macOS 14 (20250811) Image Update (#12742)
* Updating readme file for macos-14 version 20250811.1510

* Update images/macos/macos-14-Readme.md

---------

Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: ijunaidm1 <ijunaidm1@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 16:20:16 +00:00
github-actions[bot] c14182f533 macOS 15 (20250811) Image Update (#12739)
* Updating readme file for macos-15 version 20250811.1688

* Update images/macos/macos-15-Readme.md

---------

Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: ijunaidm1 <ijunaidm1@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 14:35:12 +00:00
github-actions[bot] 8527ff0e38 macOS 13 (20250811) Image Update (#12738)
* Updating readme file for macos-13 version 20250811.1387

* Update images/macos/macos-13-Readme.md

---------

Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: ijunaidm1 <ijunaidm1@github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 12:54:37 +00:00
github-actions[bot] d808baffcd macOS 13 arm64 (20250811) Image Update (#12733)
* Updating readme file for macos-13-arm64 version 20250811.1465

* Fix Packer version output

---------

Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 12:15:13 +00:00
github-actions[bot] f469601a3a Updating readme file for ubuntu24 version 20250810.1.0 (#12731)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 11:29:31 +00:00
github-actions[bot] fea5bad176 Updating readme file for win25 version 20250810.1.0 (#12732)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 11:06:44 +00:00
github-actions[bot] 12ff38b85d Updating readme file for ubuntu22 version 20250810.1.0 (#12730)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-13 10:28:42 +00:00
Erik Bershel efbaf81ba8 [macOS] Add GCC 15 (#12750) 2025-08-12 16:30:09 +02:00
Erik Bershel c1745fed15 [macOS] Add more TCC entries for bash and osascript (#12728) 2025-08-11 22:27:47 +02:00
Erik Bershel ce851cea7e [macOS] Update Packer version function (#12737) 2025-08-11 16:32:51 +02:00
ijunaidm1 810182e2e2 [macOS] Adding a variable named "filename" to toolset-13.json and toolset-14.json files (#12722)
* Update toolset-14.json

* Update toolset-13.json
2025-08-10 23:21:58 -05:00
Erik Bershel f9af77a3ce [macOS] Update Xcode 26 to beta 5 (#12719)
tt
2025-08-08 15:29:45 -05:00
github-actions[bot] aba81b1f2e Updating readme file for macos-14-arm64 version 20250805.1714 (#12704)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-08 14:24:08 +00:00
Erik Bershel 743c6bf9be [macOS] Remove unavailable runtimes for Xcode 16.4 (#12718) 2025-08-08 12:19:55 +02:00
ijunaidm1 196c53e061 [macOS] Adding a variable "filename" to toolset-15.json file (#12715) 2025-08-08 07:54:03 +02:00
Erik Bershel efb0272db3 [macOS] Add Accessibility permissions for Apple Script (#12717) 2025-08-08 07:52:54 +02:00
Erik Bershel aef5e94194 [macOS] Update Xcode platforms set to match new policy (#12711) 2025-08-07 23:37:14 +02:00
github-actions[bot] 2cc6d2a909 Updating readme file for ubuntu24 version 20250804.2.0 (#12702)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-07 10:40:48 +00:00
github-actions[bot] 71413fa02d Updating readme file for ubuntu22 version 20250804.2.0 (#12701)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-07 10:08:00 +00:00
Lawrence Gripper 87d9420087 Merge pull request #12712 from actions/lawrencegripper-patch-1
Typo in integration test for fwupd
2025-08-07 09:55:41 +01:00
github-actions[bot] fa9dbff1b3 Updating readme file for macos-14 version 20250804.1491 (#12699)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 22:54:07 +00:00
github-actions[bot] 1aa8b1ee51 Updating readme file for win22 version 20250803.1.0 (#12692)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 18:32:34 +00:00
github-actions[bot] 42d1a3d13a Updating readme file for win25 version 20250803.1.0 (#12693)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 18:04:20 +00:00
github-actions[bot] f101bcf407 Updating readme file for macos-15 version 20250804.1650 (#12698)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 16:24:03 +00:00
vidya sagar ee109d4860 [Windows-2022] SDK versions have been removed from the Visual Studio 2022 (#12708) 2025-08-06 08:23:51 -06:00
vidya sagar bf25250674 [Windows-25] updating OpenSSL version to 3.5.2 (#12709) 2025-08-06 08:23:11 -06:00
github-actions[bot] 9e735b4bda Updating readme file for macos-13-arm64 version 20250804.1453 (#12694)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 13:47:48 +00:00
github-actions[bot] c062332058 Updating readme file for macos-13 version 20250804.1376 (#12696)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-06 13:46:42 +00:00
Lawrence Gripper eb373550e8 Typo in Unit test around fwupd: Fix command to list fwupd-refresh.timer unit 2025-08-06 13:48:10 +01:00
Jan Brasna 96de6e9f6c [Ubuntu] Upgrade docker-compose to fix build regression (#12687)
* Bump docker compose to v2.38.2 in toolset-2204.json

* Bump docker compose to v2.38.2 in toolset-2404.json
2025-08-04 19:44:28 +05:30
github-actions[bot] d5aa851027 Updating readme file for macos-15-arm64 version 20250722.2025 (#12686)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-04 11:32:02 +00:00
github-actions[bot] 521359825c Updating readme file for ubuntu22 version 20250728.1.0 (#12666)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-04 13:27:12 +05:30
github-actions[bot] 48fb0b0043 Updating readme file for ubuntu24 version 20250728.1.0 (#12669)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-04 13:24:50 +05:30
github-actions[bot] 3291029fa9 Updating readme file for macos-15 version 20250728.1632 (#12664)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-08-01 20:23:08 +00:00
Erik Bershel 0b118aca77 [actions] Fix active drive for SBOM on ephemeral runner (#12681)
* [actions] Fix active drive for SBOM on ephemeral runner

* Fix Cyrillic chars

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-31 16:12:38 -06:00
github-actions[bot] 128857e296 Updating readme file for macos-14-arm64 version 20250728.1701 (#12667)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-31 19:33:03 +00:00
RaviAkshintala 9473275c43 [Ubuntu] Updated the pypy latest version (#12678) 2025-07-31 08:39:28 -06:00
github-actions[bot] 09837b47ee Updating readme file for macos-13-arm64 version 20250728.1440 (#12661)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-31 08:21:45 +00:00
github-actions[bot] e815385537 Updating readme file for win22 version 20250727.1.0 (#12660)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-31 05:00:27 +00:00
Prabhatkumar59 46c190e128 [Ubuntu] Updating Ruby version 3.4.* (#12675) 2025-07-30 17:18:51 -06:00
Prabhatkumar59 28bfd27c8d [Windows] Updating Ruby version to 3.4 (#12674) 2025-07-30 17:18:16 -06:00
github-actions[bot] 667739e6df Updating readme file for macos-14 version 20250728.1473 (#12665)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-30 20:22:11 +00:00
github-actions[bot] fe655a45a1 Updating readme file for win25 version 20250727.1.0 (#12659)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-30 13:12:54 +00:00
github-actions[bot] eb77bb9331 Updating readme file for macos-13 version 20250728.1366 (#12663)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-30 10:44:47 +00:00
hemanthmanga a69ec7067f [Windows] Updating latest Mercurial version 6.3.1 (#12670) 2025-07-29 08:17:22 -06:00
github-actions[bot] 6b04fd584d Updating readme file for macos-14-arm64 version 20250723.1691 (#12644)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-28 21:40:38 +00:00
vidya sagar 7ac2abd892 [Ubuntu] update docker-compose to v2.37.3 (#12657)
* [Ubuntu] update docker-compose to 2.37.0
Co-authored-by: cerossi <cerossi@users.noreply.github.com>

* [Ubuntu] update docker-compose to 2.37.3
Co-authored-by: cerossi <cerossi@users.noreply.github.com>
2025-07-28 09:29:23 -06:00
hemanthmanga 18f874257f [Windows 22] Removing .Net version 6.0 (#12653) 2025-07-28 12:34:44 +05:30
hemanthmanga 9788af3fda [Ubuntu 22] Removing .Net version 6.0 (#12652) 2025-07-28 12:33:44 +05:30
github-actions[bot] 1ed26a6d42 Updating readme file for ubuntu24 version 20250720.1.0 (#12630)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-24 06:02:02 +00:00
github-actions[bot] 8701ae48e2 Updating readme file for macos-14 version 20250721.1458 (#12638)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 19:35:27 +00:00
github-actions[bot] 54a670dee1 Updating readme file for macos-13-arm64 version 20250721.1420 (#12639)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 17:37:00 +00:00
github-actions[bot] 720790a17c Updating readme file for ubuntu22 version 20250720.1.0 (#12629)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 17:19:19 +00:00
github-actions[bot] 9f56e4ed3d Updating readme file for win22 version 20250720.1.0 (#12632)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 17:18:48 +00:00
github-actions[bot] 073fdbd441 Updating readme file for win25 version 20250720.1.0 (#12631)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 17:16:58 +00:00
github-actions[bot] 0db7c6a8aa Updating readme file for macos-15 version 20250721.1622 (#12637)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-23 16:05:40 +00:00
github-actions[bot] 07a7e5b653 Updating readme file for macos-13 version 20250721.1353 (#12634)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-07-23 15:42:15 +00:00
github-actions[bot] e27dbcbe29 Updating readme file for macos-14-arm64 version 20250715.1663 (#12593)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-18 14:46:31 +00:00
sureshe456 612f67eb25 [macOS] Pin kotlin to latest version(2.2.0) (#12610)
* unpin kotlin to 2.1.10 version

* # Avoid version call, use -help instead to avoid IR errors
2025-07-18 14:52:41 +05:30
github-actions[bot] 7db2ea564d Updating readme file for macos-14 version 20250715.1434 (#12595)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-17 15:04:26 +00:00
akilesh-amaran 48261188cb [Windows] Update Kotlin to latest (#12607) 2025-07-17 19:34:03 +05:30
akilesh-amaran cb033ce75c [Ubuntu] Upgrade Kotlin to latest (#12608) 2025-07-17 19:33:43 +05:30
sureshe456 4eb57589e3 fix edge url to https://msedgedriver.microsoft.com (#12606) 2025-07-16 23:12:22 -05:00
github-actions[bot] 12794075dd Updating readme file for ubuntu22 version 20250713.1.0 (#12583)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 18:07:44 +00:00
github-actions[bot] b86f6d2e1a Updating readme file for macos-15-arm64 version 20250714.1971 (#12587)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 17:25:20 +00:00
github-actions[bot] c8b797478e Updating readme file for ubuntu24 version 20250713.1.0 (#12584)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 16:54:19 +00:00
github-actions[bot] 30127a0c86 Updating readme file for win22 version 20250713.1.0 (#12585)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 15:47:33 +00:00
github-actions[bot] 6221f35ed4 Updating readme file for macos-15 version 20250714.1591 (#12591)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 15:33:12 +00:00
github-actions[bot] 2d5daaffb9 Updating readme file for win25 version 20250713.1.0 (#12582)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 15:32:29 +00:00
github-actions[bot] d8a056bb80 Updating readme file for macos-13-arm64 version 20250714.1403 (#12586)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 13:02:51 +00:00
github-actions[bot] 0ab9d6ae9a Updating readme file for macos-13 version 20250714.1328 (#12590)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-16 12:28:41 +00:00
kishorekumar-anchala bcdb306912 [Ubuntu, Windows] Update Edgedriver URL and maven version on Ubuntu (#12601)
* [Ubuntu, Windows] Update edgedriver URL

* [Ubuntu] Update maven version
2025-07-16 17:20:16 +05:30
kishorekumar-anchala 4423d3872f [Ubuntu] Improve kubectl installation script with retry logic and keyring checks (#12570)
* [Ubuntu] Fix kubectl error

* [Ubuntu] Remove dependencies
2025-07-15 08:59:19 -06:00
Shamil Mubarakshin 372fde29d0 Update labeled PR CI checks (#12344) 2025-07-15 10:33:54 +02:00
Alexey-Ayupov c97170d762 [Windows] Ensure MDE is not setup (#12544) 2025-07-14 16:02:48 +02:00
github-actions[bot] 943d2a87d3 Updating readme file for win22 version 20250710.1.0 (#12575)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 18:10:34 +00:00
github-actions[bot] 7e14c7b03f Updating readme file for macos-14-arm64 version 20250709.1652 (#12558)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 16:58:26 +00:00
github-actions[bot] 910c625995 Updating readme file for win19 version 20250709.2.0 (#12567)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 15:05:46 +00:00
github-actions[bot] c528957547 Updating readme file for ubuntu24 version 20250710.1.0 (#12569)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 14:50:50 +00:00
github-actions[bot] dbc5ab78bf Updating readme file for ubuntu22 version 20250710.1.0 (#12568)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 14:37:47 +00:00
github-actions[bot] fe535d4795 Updating readme file for macos-14 version 20250709.1419 (#12556)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 14:33:55 +00:00
github-actions[bot] 0273354e48 Updating readme file for macos-15-arm64 version 20250709.1961 (#12553)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 09:19:46 +00:00
github-actions[bot] c6eb63ef9a Updating readme file for macos-15 version 20250709.1581 (#12559)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 07:24:36 +00:00
github-actions[bot] 9353bb703b Updating readme file for macos-13-arm64 version 20250709.1395 (#12554)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 04:48:24 +00:00
github-actions[bot] 60406092fd Updating readme file for macos-13 version 20250709.1318 (#12561)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 03:50:30 +00:00
github-actions[bot] cdc9e90458 Updating readme file for win25 version 20250708.1.0 (#12548)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-11 02:59:33 +00:00
Subir Ghosh bd559cf98f Revert "[Windows 2022] Update strawberryperl to 5.40.2.2 (#12508)" (#12573)
This reverts commit 177bb02d71.
2025-07-10 12:51:54 -06:00
vidya sagar c49a3f7952 Revert "chore: Add ppa candidate repo to install 2.50.1 version of git (#12563)" (#12566)
This reverts commit 903ef895e7.
2025-07-10 13:09:24 +05:30
Subir Ghosh 903ef895e7 chore: Add ppa candidate repo to install 2.50.1 version of git (#12563) 2025-07-10 10:53:45 +05:30
Erik Bershel 26b12b9e2a [Windows-2019] Revert documentation until full removal (#12550)
* Revert "feat: Remove Windows 2019 readme (#12519)"

This reverts commit d83bbf16df.

* Fix Windows 2019 link and badge in README

* Hide ugly deployment badge by deprecation label
2025-07-09 12:14:17 +02:00
akilesh-amaran 70fd27fce0 [Windows-19] marking image as deprecated (#12528)
* [Windows]Mark windows-2019 as deprecated

* [Windows-19]  marking image as deprecated

* [Windows-19]  marking image as deprecated

* [Windows-19]  marking image as deprecated
2025-07-08 08:20:56 -06:00
kishorekumar-anchala 3eae73c57f [windows-22] Update WDK to latest (#12538) 2025-07-08 08:18:36 -06:00
Subir Ghosh 968c8b6bdb [Windows] Stop pinning of Visual Studio version (#12469)
* feat: Remove pinned VS version

* Removed installChannel vars from VS installation module

* debug: Check removal of installChannelUri

* fix: Remove InstallChannel completely

* feat: convert installchannel var to empty string

* feat: convert installchannel var to empty string

* feat: remove installchannel value to fallback to latest
2025-07-07 08:57:28 -06:00
Shamil Mubarakshin a4021ffba1 Update Ninja pester test (#12534) 2025-07-07 14:33:16 +02:00
kishorekumar-anchala 4bd4d1bbeb [ubuntu] Unpin the minikube version and updating to latest (#12480)
* [ubuntu] Create new key directory

* [ubuntu] upgrade installation process of kubectl

* Fix Kubernetes repository URL

* [Ubuntu] install dependecies

* [Ubuntu] Remove the permission

* [Ubuntu] Change the URL

* [Ubuntu] change the gpg source

* [Ubuntu] Set the permissions

* remove tmp folder

* Update the URL

* [Ubuntu] Update minikube to the latest
2025-07-04 19:57:33 +05:30
github-actions[bot] 24bb79adc1 Updating readme file for macos-14-arm64 version 20250630.1634 (#12502)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-04 14:17:09 +00:00
Alexey-Ayupov 35fdc371fb Validate MS Defender is not installed (#12529) 2025-07-04 14:45:17 +02:00
github-actions[bot] 53532a932a Updating readme file for win22 version 20250701.1.0 (#12511)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-03 19:22:02 +00:00
github-actions[bot] db6ff791ad Updating readme file for macos-14 version 20250630.1402 (#12505)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-03 15:46:39 +00:00
Alexey-Ayupov 5f33e416c5 Fix disk space issue (#12524) 2025-07-03 13:04:15 +02:00
github-actions[bot] cd16ce25c6 Updating readme file for macos-15-arm64 version 20250630.1914 (#12500)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 16:41:08 +00:00
github-actions[bot] 834f98af30 Updating readme file for macos-13-arm64 version 20250630.1378 (#12493)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 16:21:25 +00:00
github-actions[bot] 5c99ee9758 Updating readme file for macos-15 version 20250630.1559 (#12503)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 16:17:24 +00:00
github-actions[bot] 4b93b18422 Updating readme file for win25 version 20250629.1.0 (#12498)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 15:23:52 +00:00
github-actions[bot] b810596256 Updating readme file for macos-13 version 20250630.1295 (#12499)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 15:16:57 +00:00
github-actions[bot] 1f0781c008 Updating readme file for ubuntu24 version 20250629.1.0 (#12496)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 15:16:49 +00:00
Subir Ghosh d83bbf16df feat: Remove Windows 2019 readme (#12519) 2025-07-02 20:32:26 +05:30
github-actions[bot] 37538a244e Updating readme file for ubuntu22 version 20250629.1.0 (#12495)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-07-02 14:52:47 +00:00
Prabhatkumar59 e4cb7b8095 Updating Openssl version to 3.5.1 (#12517) 2025-07-02 19:55:51 +05:30
Alexey-Ayupov c0f21da62d Refactor Packer templates for Windows and Ubuntu images (#12305)
Co-authored-by: Shamil Mubarakshin <127750046+shamil-mubarakshin@users.noreply.github.com>
2025-07-02 13:31:15 +02:00
xavier2k6 5eb4bf07a6 [Windows 2025] Update strawberryperl to 5.40.2.2 (#12375) 2025-07-02 11:12:05 +05:30
xavier2k6 177bb02d71 [Windows 2022] Update strawberryperl to 5.40.2.2 (#12508) 2025-07-02 11:11:35 +05:30
Jeff Martin d64204ffc3 Merge pull request #12510 from github-maccloud/ns/update-tccdb
feat: add additional tccdb entries
2025-07-01 15:34:27 -05:00
Jeff Martin f443af2cd5 feat: add additional tccdb entries 2025-07-01 14:30:42 -05:00
Prabhatkumar59 d63ab024d4 Updating llvm version (#12501) 2025-06-30 20:57:32 -06:00
Pavel Iakovenko 7eede67cd0 Validate authenticode signature using the certificate Subject (#12474)
* Use cerificate subject to verify authenticode signature

* Use function instead of script variables

* Switch all places to using Get-MicrosoftPublisher

* Remove SignatureThumbprint

* Use common subject for the Edge driver
2025-06-30 19:33:57 -06:00
Alexey-Ayupov 0790ef6e2a [Windows-2025] Enable permission inheritance for the C: drive (#12467) 2025-06-30 17:30:31 +02:00
github-actions[bot] 27d8a9d902 Updating readme file for win19 version 20250623.2.0 (#12471)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-27 10:32:14 +00:00
github-actions[bot] 18cde3cfe4 Updating readme file for macos-14 version 20250623.1377 (#12448)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-27 03:39:02 +00:00
Trey Valenta 9c70ef5026 [windows] Fix syntax of ssh-keyscan (#12223)
Remove extraneous spaces between key types to fetch
2025-06-26 23:18:10 +05:30
Prabhatkumar59 3c95826d25 Updating Azure power shell module version (#12476) 2025-06-26 22:24:02 +05:30
github-actions[bot] 28fa5560a3 Updating readme file for win22 version 20250623.1.0 (#12459)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-26 10:49:49 +00:00
github-actions[bot] f10e0e71c7 Updating readme file for win25 version 20250623.1.0 (#12462)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-26 10:30:29 +00:00
sureshe456 cb01110706 Pin AZ PowerShell Module to 12.5.0 version (#12461)
Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
2025-06-26 15:31:33 +05:30
github-actions[bot] 907dfc1466 Updating readme file for macos-15 version 20250623.1531 (#12455)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-26 06:23:52 +00:00
github-actions[bot] a526fdbc0e Updating readme file for ubuntu24 version 20250622.1.0 (#12451)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 19:46:19 +00:00
github-actions[bot] a4c8dc0cf7 Updating readme file for macos-14-arm64 version 20250623.1617 (#12452)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 18:39:55 +00:00
github-actions[bot] 1cbbcde636 Updating readme file for ubuntu22 version 20250622.1.0 (#12450)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 18:19:40 +00:00
github-actions[bot] d50c9973e0 Updating readme file for macos-15-arm64 version 20250623.1849 (#12446)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 13:39:30 +00:00
github-actions[bot] 22d42b2f20 Updating readme file for macos-13-arm64 version 20250623.1360 (#12444)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 12:35:12 +00:00
Pavel Iakovenko bc7868f958 Merge pull request #12443 from aibaars/codeql-bundle-per-platform
CodeQL: install platform specific CodeQL bundle
2025-06-25 08:14:22 -04:00
Arthur Baars 7201625899 Merge branch 'actions:main' into codeql-bundle-per-platform 2025-06-25 12:39:06 +02:00
github-actions[bot] 1a71ccff9a Updating readme file for macos-13 version 20250623.1267 (#12449)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-25 10:27:36 +00:00
akilesh-amaran c471ba1399 [Ubuntu] Replace WebClient with Invoke-WebRequest (#12434)
Co-authored-by: baidarka <baidarka@users.noreply.github.com>
2025-06-23 08:27:54 -06:00
vidya sagar f7879fa7c3 [Windows] Updating Edge driver signature thumbprint (#12441) 2025-06-23 12:47:52 +02:00
Arthur Baars 60599408e4 CodeQL: install platform specific CodeQL bundle
This should reduce the size of the CodeQL bundle by only including the
platform specific CodeQL CLI and libraries, rather than the full set
of CodeQL CLI and libraries for all platforms.
2025-06-23 08:06:10 +00:00
github-actions[bot] 98413b96dd Updating readme file for win22 version 20250617.1.0 (#12423)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-20 14:48:46 +00:00
github-actions[bot] 59edccfdde Updating readme file for win25 version 20250617.1.0 (#12424)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-20 14:28:29 +00:00
github-actions[bot] d624df2168 Updating readme file for macos-15 version 20250616.1506 (#12401)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-20 03:49:30 +00:00
github-actions[bot] 61391258ad Updating readme file for macos-14 version 20250616.1357 (#12400)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-19 21:45:57 +00:00
github-actions[bot] d579d5347a Updating readme file for macos-13 version 20250616.1247 (#12397)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-19 21:30:44 +00:00
kishorekumar-anchala 938abb9f14 [windows] Remove checksum validation for WSL2 and AzCosmos db (#12425) 2025-06-19 10:29:20 -06:00
github-actions[bot] 9c685e8b41 Updating readme file for macos-15-arm64 version 20250616.1800 (#12406)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-19 04:00:27 +00:00
github-actions[bot] 7e778a79d6 Updating readme file for macos-14-arm64 version 20250616.1605 (#12402)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-18 20:08:18 +00:00
github-actions[bot] bfed12fa7f Updating readme file for macos-13-arm64 version 20250616.1345 (#12393)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-18 16:15:12 +00:00
github-actions[bot] 489f3370be Updating readme file for ubuntu24 version 20250615.1.0 (#12392)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-18 14:08:54 +00:00
github-actions[bot] 82b4d219aa Updating readme file for ubuntu22 version 20250615.1.0 (#12391)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-18 13:36:56 +00:00
kishorekumar-anchala 54d4542e64 [windows 22 & 25 ] Upgrade visual studio version to 17.14 (#12363)
* [Windows] Update visualstudio to 17.14

* Update to the latest release
2025-06-17 08:41:23 -06:00
kishorekumar-anchala 42e65904de [windows] Replace WebClient with Invoke-WebRequest & Update EdgeDrive Thumbprint (#12390)
* [windows] Update EdgeDriver signature

* feat: Improve temp directory handling and update file download method

- Added check for \ existence before accessing it.
- If the directory does not exist, it is now created.
- Replaced System.Net.WebClient with Invoke-WebRequest for file downloads, improving compatibility and maintainability.

Co-authored-by: Subir0071 <subir0071@github.com>

* [Windows] Remove check for TEMP_Dir

---------

Co-authored-by: Subir0071 <subir0071@github.com>
2025-06-17 08:33:00 -06:00
github-actions[bot] a0e2400abd Updating readme file for macos-15-arm64 version 20250611.1705 (#12378)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-14 21:56:12 +00:00
github-actions[bot] 22efb1e0a5 Updating readme file for macos-15 version 20250609.1416 (#12350)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-13 20:08:16 +00:00
Erik Bershel 2054532908 [macOS] Add Xcode 26 beta 1 without runtimes on macOS-15 arm64-based image (#12387)
Co-authored-by: sangeeths03 <sangeeths03@github.com>
2025-06-13 10:17:36 -05:00
Erik Bershel 8978a360e6 [macOS] Add Xcode 26 beta 1 with runtimes on macOS-15 Intel-based image (#12380)
Co-authored-by: sangeeths03 <sangeeths03@github.com>
2025-06-13 10:17:20 -05:00
vidya sagar dcf67a07fd [Ubuntu] Updated docker-compose to 2.36.2 (#12381) 2025-06-13 08:19:21 -06:00
xavier2k6 3df75a63ec Bump remaining GitHub actions/checkout packages to v4 (#12372) 2025-06-12 14:01:25 -06:00
xavier2k6 4f2eb4ec71 Bumped ncipollo/release-action package to v1.16.0 (#12373)
https://github.com/ncipollo/release-action/releases
2025-06-12 13:58:06 -06:00
xavier2k6 e8f4b25875 Bumped super-linter/slim package to v7 (#12374) 2025-06-12 13:30:20 -06:00
github-actions[bot] f340f688fc Updating readme file for win22 version 20250609.2.0 (#12356)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 16:03:45 +00:00
github-actions[bot] 022b0a3ea9 Updating readme file for win19 version 20250609.1.0 (#12353)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 15:48:10 +00:00
akilesh-amaran 28de1ce9b2 [Ubuntu] Update sed pattern in configure-apt-sources (#12358) 2025-06-12 09:47:41 -06:00
github-actions[bot] 083fcebd92 Updating readme file for win25 version 20250609.2.0 (#12359)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 15:30:53 +00:00
github-actions[bot] f9133c626c Updating readme file for macos-14 version 20250609.1326 (#12349)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 10:05:03 +00:00
github-actions[bot] 43c8d82744 Updating readme file for ubuntu24 version 20250609.1.0 (#12346)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 01:00:25 +00:00
github-actions[bot] 43475a2984 Updating readme file for macos-14-arm64 version 20250609.1574 (#12352)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-12 00:41:27 +00:00
github-actions[bot] c191f85156 Updating readme file for macos-13-arm64 version 20250609.1323 (#12347)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-11 20:36:29 +00:00
github-actions[bot] 744b139d81 Updating readme file for macos-13 version 20250609.1222 (#12351)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-11 18:51:09 +00:00
github-actions[bot] 7fe8559f9e Updating readme file for ubuntu22 version 20250609.1.0 (#12345)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-11 17:37:59 +00:00
Subir Ghosh 9eb3ed912a fix:Correct job name (#12260) 2025-06-10 08:45:25 -06:00
Jacob Blanco 78c1f18c5b Remove orphaned Python 3.8 (x86) in Windows toolsets 2019 and 2022 (#12335)
* [Windows] Remove VCRedist from Toolsets

[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)

* [Windows] Remove VCRedist from Toolsets

[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)

* Setting first version following other tools

* Setting first version following other tools

* Setting first version following other tools

* Remove orphaned Python 3.8 (x86) from toolset-2019.json and toolset-2022.json

**Remove orphaned Python 3.8 (x86) from toolset-2019.json & 2022.json**

This PR removes the orphaned entry for Python 3.8 (x86) from toolset-2019.json.
- Python 3.8 (x86) is not included in the x64 list and is not required for current or future builds.
- Keeping only actively supported and required Python versions helps reduce image size and maintenance overhead.

**Summary of changes:**
- Removed `"3.8.*"` from the `versions` array for Python x86.

* Remove Ubuntu 20.04 Readme, empty but not deleted

---------

Co-authored-by: Jacob Blanco <jblanco@devx.es>
2025-06-09 08:07:49 -06:00
RaviAkshintala b86bab3fe6 [Ubuntu] maven 3.9.9 is not available in the maven repository (#12340) 2025-06-09 11:08:38 +02:00
github-actions[bot] 9d57d2edd5 Updating readme file for macos-14-arm64 version 20250602.1561 (#12319)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-06 22:32:06 +00:00
RaviAkshintala ecb9d4051a [Ubuntu] removed Go 1.21 and added 1.24 and make it as a default version (#12332) 2025-06-06 08:05:17 -06:00
github-actions[bot] 71ed87ce94 Updating readme file for win22 version 20250602.1.0 (#12311)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-06 04:13:21 +00:00
github-actions[bot] 1b258d6231 Updating readme file for win19 version 20250602.2.0 (#12312)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-05 22:52:59 +00:00
github-actions[bot] 382e072fdb Updating readme file for win25 version 20250602.1.0 (#12315)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-05 22:43:27 +00:00
github-actions[bot] cfc4c6d3ae Updating readme file for ubuntu24 version 20250602.3.0 (#12308)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-05 09:22:52 +00:00
github-actions[bot] a14cd62fef Updating readme file for ubuntu22 version 20250602.1.0 (#12309)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-05 08:59:26 +00:00
github-actions[bot] 6a2b811d2a Updating readme file for macos-15-arm64 version 20250602.1658 (#12292)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 13:51:08 +00:00
github-actions[bot] 41d43b66f6 Updating readme file for macos-13-arm64 version 20250602.1306 (#12291)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 13:30:42 +00:00
github-actions[bot] 4bdc5a4d8d Updating readme file for macos-15 version 20250602.1396 (#12300)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 13:02:44 +00:00
github-actions[bot] 1925b48acc Updating readme file for macos-14 version 20250602.1313 (#12295)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 12:42:34 +00:00
github-actions[bot] 81ca79fa39 Updating readme file for macos-13 version 20250602.1211 (#12297)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 12:24:50 +00:00
github-actions[bot] d8c2fb464a Updating readme file for macos-14-arm64 version 20250527.1547 (#12263)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-06-04 09:42:28 +00:00
sangeeths03 e330e24b7e SBOM Issue: SYFT downgraded to 1.24.0 (#12290) 2025-06-02 07:28:28 -05:00
xavier2k6 5b6567dc8f [windows 2025] - Update LLVM to 20 (#11795) 2025-05-30 15:06:05 -06:00
hemanthmanga 2ccc05d5ed [Windows 22] Update Node.js version 20 as the default. (#12280) 2025-05-30 15:05:28 -06:00
github-actions[bot] ac7bd50587 Updating readme file for macos-15 version 20250526.1361 (#12252)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-30 17:00:47 +00:00
github-actions[bot] 880f3bac27 Updating readme file for win22 version 20250527.1.1 (#12270)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-30 16:45:09 +00:00
Erik Bershel be725e1c48 [macOS] Add Xcode 16.4 to macOS-15 images (#12281)
Co-authored-by: susmitamane <susmitamane@github.com>
2025-05-30 11:42:08 -05:00
hemanthmanga e39fcca555 [Ubuntu 22] Updating Nodejs version 20 as default version. (#12279) 2025-05-30 09:43:36 -06:00
hemanthmanga 2503911e5f [Windows 19 & Windows 22]Removing Ruby 3.0 and making 3.3 as a default version. (#12276) 2025-05-30 09:42:27 -06:00
hemanthmanga 536a72b989 [Windows 19 & Windows 22]Removing Python version:3.8.* (#12277) 2025-05-30 09:40:03 -06:00
github-actions[bot] 966a1f61de Updating readme file for win25 version 20250527.1.1 (#12269)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-30 15:15:05 +00:00
hemanthmanga d8d7e47c2c [Ubuntu 22] Removing Python version:3.8.* (#12278) 2025-05-30 08:14:32 -06:00
Jacob Blanco b96bd7e0b3 [Windows] Update Toolsets for Windows Server 2019 and 2022 after PR merged #12247 (#12264)
* [Windows] Remove VCRedist from Toolsets

[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)

* [Windows] Remove VCRedist from Toolsets

[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)

* Setting first version following other tools

* Setting first version following other tools

* Setting first version following other tools
2025-05-30 08:09:33 -06:00
github-actions[bot] eaddadfe38 Updating readme file for ubuntu24 version 20250527.1.1 (#12262)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-30 10:27:22 +00:00
github-actions[bot] 7a56c30ae4 Updating readme file for ubuntu22 version 20250527.1.1 (#12261)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-30 08:21:27 +00:00
github-actions[bot] a070c1632b Updating readme file for macos-15-arm64 version 20250527.1593 (#12257)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-29 14:05:04 +00:00
github-actions[bot] 0b4572e6c0 Updating readme file for macos-13-arm64 version 20250527.1294 (#12255)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-29 13:43:29 +00:00
ijunaidm1 e3d015b9ef [macOS] Remove Xcode 15.4 from macOS-15 images (#12275) 2025-05-29 15:01:53 +02:00
github-actions[bot] 029de103c5 Updating readme file for macos-14 version 20250526.1288 (#12251)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-29 05:34:41 +00:00
github-actions[bot] ae387d70ac Updating readme file for macos-13 version 20250526.1184 (#12250)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-29 01:47:01 +00:00
vidya sagar ef94ee0b36 [Windows-25] updating wsl2 checksum (#12266) 2025-05-28 08:06:20 -06:00
akilesh-amaran ab80dde746 [Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)
* [Windows] Update AzureCosmosDbEmulator signature

* [Windows] Removing VC reddist installation in Postgress
2025-05-27 13:52:34 -06:00
Lawrence Gripper 95dda62db1 Merge pull request #12240 from actions/lg/fwupd2
Fix fwupd intergration test on Ubuntu 22.04
2025-05-27 11:50:02 +01:00
lawrencegripper fb7e986316 Fix up by using list-unit
This avoids the output containing
the preset vendor value.
2025-05-27 09:33:33 +01:00
sureshe456 773f13be9d [macOS] Add Mozilla Firefox details to software report file for arm64 images. (#12249)
Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-05-26 17:48:23 +02:00
lawrencegripper 6fcdd215dc Make test robust 2025-05-23 17:08:28 +01:00
sureshe456 a1be1e2884 [macOS]Add Mozila Firfox to macOS 13,14 and 15 arm64 images. (#12226)
* Add Mozila Firfox to macOS 13,14 and 15 arm64 images.

* move the firefox script next to google chrome installer

---------

Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
2025-05-23 19:22:38 +05:30
Lawrence Gripper a1cf69345e Update images/ubuntu/scripts/tests/System.Tests.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-23 14:23:44 +01:00
lawrencegripper 52019144a8 Fix fwupd intergration test on Ubuntu 22.04
See:

- https://github.com/actions/runner-images/pull/12225#issuecomment-2904383955
2025-05-23 14:18:25 +01:00
Alexey-Ayupov 2eee00587f Variabilize several elements in Packer templates (#12231) 2025-05-23 15:08:47 +02:00
Lawrence Gripper ff069dce92 Bug: Mask fwupd timer on ubuntu images (#12225)
* Bug: Fully remove `fwupd` from ubuntu images

We're running on VMs in Azure and the fwupd package is not needed.

Leaving it enable means periodic refreshes show in network traffic and firewall logs.

* Update check method

* Simplify test
2025-05-22 13:59:38 -06:00
kishorekumar-anchala ac5bfa5ec6 [Ubuntu 24] Update compose plugin version (#12228) 2025-05-22 13:57:49 -06:00
akilesh-amaran 65a78b8934 [Windows] Update AzureCli and AzureCosmosDbEmulator signature and hash (#12222) 2025-05-21 10:45:22 +02:00
Alexey-Ayupov be36d1d065 Update packer templates with new features (#12208) 2025-05-20 14:56:30 +02:00
github-actions[bot] 699ade486f Updating readme file for macos-14 version 20250513.1230 (#12197)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-15 15:47:22 +00:00
github-actions[bot] 8717d5e69c Updating readme file for macos-13 version 20250512.1078 (#12196)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-15 15:22:33 +00:00
github-actions[bot] 7c9abd2c32 Updating readme file for macos-13-arm64 version 20250512.1166 (#12189)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-14 22:03:49 +00:00
github-actions[bot] 73698bb91d Updating readme file for win22 version 20250511.1.1 (#12184)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-14 13:31:51 +00:00
github-actions[bot] c4d1068d22 Updating readme file for ubuntu24 version 20250511.1.1 (#12182)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-14 13:03:08 +00:00
github-actions[bot] 938ff24988 Updating readme file for win25 version 20250511.1.1 (#12187)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-14 12:58:18 +00:00
github-actions[bot] fb338fd690 Updating readme file for ubuntu22 version 20250511.1.1 (#12183)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-14 12:27:06 +00:00
github-actions[bot] 8170cce307 Updating readme file for win19 version 20250511.1.1 (#12186)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-05-14 12:11:27 +00:00
Alex Harden 25b33392ea Update Install-AzureCosmosDbEmulator.ps1 SHA256Sum (#12164)
Corresponds to azure-cosmosdb-emulator-2.14.22-5aad492b.msi downloaded today.
2025-05-09 09:03:03 -06:00
susmitamane 7b4cd1f24c [macOS] Remove Go 1.21.*. (#12170)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2025-05-09 09:12:51 -05:00
github-actions[bot] 15fd833774 Updating readme file for macos-15-arm64 version 20250506.1412 (#12148)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-09 01:39:15 +00:00
github-actions[bot] f8851a91bc Updating readme file for macos-15 version 20250506.1260 (#12149)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-09 01:13:05 +00:00
github-actions[bot] da5333e1de Updating readme file for macos-14 version 20250507.1186 (#12157)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-09 00:00:59 +00:00
github-actions[bot] 6baff0ff35 Updating readme file for macos-13 version 20250507.1052 (#12159)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-08 23:11:44 +00:00
github-actions[bot] a05d070c4e Updating readme file for macos-14-arm64 version 20250505.1431 (#12146)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-08 13:09:48 +00:00
github-actions[bot] 735016f42d Updating readme file for macos-13-arm64 version 20250505.1136 (#12136)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-08 00:26:29 +00:00
github-actions[bot] 62bab7692f Updating readme file for win22 version 20250504.1.1 (#12142)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-07 14:09:50 +00:00
github-actions[bot] ce61c11aac Updating readme file for ubuntu24 version 20250504.1.1 (#12137)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-07 13:22:30 +00:00
github-actions[bot] 0c9385c89b Updating readme file for win25 version 20250504.1.1 (#12140)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-07 12:38:07 +00:00
github-actions[bot] a57cbedce5 Updating readme file for ubuntu22 version 20250504.1.1 (#12138)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-07 12:02:35 +00:00
github-actions[bot] be10e82fed Updating readme file for win19 version 20250504.1.1 (#12139)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-07 11:59:31 +00:00
RaviAkshintala be938cd870 [Ubuntu-20] ubuntu 20 readme file removed (#12094) 2025-05-06 08:07:43 -06:00
Bram 3576382c79 Fix: Typo in instructions (#12120) 2025-05-06 08:03:17 -06:00
hemanthmanga 5676b8b825 [Windows 19 & Windows 22] Removing Node.js version 16* (#12122) 2025-05-02 11:12:55 -06:00
RaviAkshintala f86900e673 [Windows]Go 1.20&1.21 deprecated and updated the latest version to 1.24 as default (#12121) 2025-05-02 10:07:34 -06:00
vidya sagar a69bce6e8e [Ubuntu] updating Docker version to 28* (#12124) 2025-05-02 10:05:40 -06:00
github-actions[bot] 310e8e9637 Updating readme file for macos-14-arm64 version 20250428.1410 (#12114)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-01 17:18:09 +00:00
github-actions[bot] acb08bf729 Updating readme file for macos-15-arm64 version 20250428.1341 (#12102)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-01 16:10:38 +00:00
Pavel Iakovenko 39482c9ce8 Merge pull request #11946 from angelapwen/macos-codeql-action-refactor
[macOS] Always use the latest major version of CodeQL Action
2025-05-01 14:56:01 +00:00
github-actions[bot] 9c57f5c945 Updating readme file for macos-14 version 20250428.1135 (#12107)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-01 11:08:02 +00:00
github-actions[bot] 6bfa13df8d Updating readme file for win19 version 20250427.1.1 (#12115)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-05-01 10:38:55 +00:00
github-actions[bot] 5a88360f2a Updating readme file for macos-13 version 20250428.984 (#12104)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 20:16:36 +00:00
github-actions[bot] 26c327e0dd Updating readme file for macos-15 version 20250428.1214 (#12111)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 16:31:57 +00:00
github-actions[bot] 51a3a67dd6 Updating readme file for macos-13-arm64 version 20250428.1114 (#12103)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 15:13:34 +00:00
github-actions[bot] 0f959473a4 Updating readme file for ubuntu24 version 20250427.1.1 (#12109)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 14:08:50 +00:00
github-actions[bot] 60a4fcd73f Updating readme file for win22 version 20250427.1.1 (#12110)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 12:36:32 +00:00
github-actions[bot] 84a341f322 Updating readme file for ubuntu22 version 20250427.1.1 (#12108)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 12:30:01 +00:00
github-actions[bot] 910eac4212 Updating readme file for win25 version 20250427.1.1 (#12106)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-30 12:12:10 +00:00
Prabhatkumar59 43bbe70193 Fix formatting in README after Ubuntu 20 deprecation merge (#11748) (#12113) 2025-04-29 11:47:23 +02:00
Angela P Wen 22826037a5 Use PAT for API call to prevent throttling 2025-04-25 11:43:01 -07:00
Erik Bershel 0e37973a01 [macOS] Remove stale VCPKG workaround (#12092) 2025-04-25 13:32:50 +02:00
Josh Soref 8d31ac4988 Fix mirror+file: for ubuntu.sources (#12053) 2025-04-24 17:37:31 -06:00
github-actions[bot] 240ca4c532 Updating readme file for macos-13 version 20250421.964 (#12068)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-24 14:51:18 +00:00
github-actions[bot] 3459dbd16b Updating readme file for win22 version 20250420.1.1 (#12075)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-24 04:52:08 +00:00
github-actions[bot] bda6c60c04 Updating readme file for macos-14-arm64 version 20250421.1374 (#12074)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-24 01:13:50 +00:00
github-actions[bot] 0107ce3f47 Updating readme file for macos-15-arm64 version 20250421.1300 (#12069)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-24 01:05:35 +00:00
Angela P Wen ded86ef875 [Windows] Always use the latest major version of CodeQL Action (#11947)
* [Windows] Always use the latest major version of CodeQL Action

* Add missing `v` to CodeQL bundle URL
2025-04-23 17:46:58 -06:00
Angela P Wen f346a37e5c [Ubuntu] Always use the latest major version of CodeQL Action (#11931)
* [Ubuntu] Update default CodeQL major version to v3

* [Ubuntu] use the latest CodeQL Action major version

Instead of hardcoding it!

* Add missing `v` to CodeQL bundle URL
2025-04-23 17:40:39 -06:00
github-actions[bot] d453d1099a Updating readme file for ubuntu22 version 20250421.2.1 (#12082)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 22:25:35 +00:00
github-actions[bot] 27806e0f06 Updating readme file for win19 version 20250420.1.1 (#12078)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 22:19:08 +00:00
github-actions[bot] 11d845cc88 Updating readme file for macos-13-arm64 version 20250421.1088 (#12067)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 21:15:43 +00:00
Prabhatkumar59 80a1ca9abe Ubuntu 20 Deprecation changes (#11748)
* Ubuntu 20 Deprecation updates

* Updating .md files

* Update announcement.yml

* Update bug-report.yml

* Update tool-request.yml

* Updating merge conflicts

* Updating .md files

* Updating merge conflicts

* Resolved merge conflicts

---------

Co-authored-by: Prabhat kumar <prabhatkumar59@Prabhats-Laptop.local>
2025-04-23 12:46:13 -06:00
github-actions[bot] e06dd2543b Updating readme file for macos-14 version 20250421.1108 (#12073)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 18:28:20 +00:00
github-actions[bot] 36c165ebb5 Updating readme file for macos-15 version 20250421.1179 (#12070)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 18:16:28 +00:00
github-actions[bot] 4f5eeefce1 Updating readme file for ubuntu24 version 20250420.1.1 (#12065)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-23 14:09:43 +00:00
vidya sagar fbc3fb1d0f [Windows] update AzureCosmoDB checksum (#12080) 2025-04-22 08:47:08 -06:00
Angela P Wen b945f6e061 Add missing v to CodeQL bundle URL 2025-04-21 15:16:01 -07:00
RaviAkshintala 38a05d5bbc [Ubuntu-22] intsllaing containernetwork plugins (#12072) 2025-04-21 11:22:14 -06:00
github-actions[bot] 737f4ccb76 Updating readme file for win25 version 20250420.1.1 (#12071)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-04-21 11:13:30 -06:00
github-actions[bot] 8986c1bb8f Updating readme file for macos-15-arm64 version 20250416.1273 (#12057)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-18 14:51:46 +00:00
github-actions[bot] 03a88de6f8 Updating readme file for macos-13-arm64 version 20250416.1065 (#12058)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-18 14:13:14 +00:00
github-actions[bot] 973f879bdd Updating readme file for macos-15 version 20250415.1161 (#12046)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-18 01:43:16 +00:00
kishorekumar-anchala c3ca840280 [windows] Update DacFx package Path & Mysql cli signature thumbprint (#12051)
* [windows] Update DacFx package Path

* [Windows] Update mysql-cli signature for windows 22 and 25

* [Windows] Update software report script by changing the path
2025-04-17 08:07:45 -06:00
github-actions[bot] f2d79a400e Updating readme file for ubuntu22 version 20250415.1.1 (#12048)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-17 13:25:34 +00:00
github-actions[bot] e771db9646 Updating readme file for macos-13 version 20250414.948 (#12042)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-17 13:00:16 +00:00
github-actions[bot] b8359f0d47 Updating readme file for win25 version 20250413.1.1 (#12036)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-16 15:54:25 +00:00
github-actions[bot] ac73baedca Updating readme file for ubuntu24 version 20250413.1.1 (#12028)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-16 15:51:09 +00:00
github-actions[bot] d3ec622058 Updating readme file for macos-15-arm64 version 20250408.1231 (#11970)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-14 17:12:32 +00:00
github-actions[bot] 00a31e485a Updating readme file for macos-15 version 20250408.1132 (#11973)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-14 15:37:25 +00:00
kishorekumar-anchala 31d8e4e4d8 Testing Az new module installation script (#11972) 2025-04-14 08:03:26 -06:00
Subir Ghosh fd1af56b4f Change URL for packages (#11997)
* fix:URL for packages

* chore Add co-author
>
> Co-authored-by: greg dryke <no-reply@github.com>

* chore: Incorporate Review comments

* fix: remove redundant initialization
2025-04-11 11:53:08 -06:00
Erik Bershel 0b85dff969 [macOS] Fix indexing timeout on macOS-14; make script verbose (#11982) 2025-04-11 15:01:36 +02:00
archita105 cf96585d26 [macOS] VCpkg update for macOS-14 and macOS-15 images (#11738)
* Vcpkg Update

* vcpkg update

* VCPKG update

* Updated permission issue

* Updated path for arm

* Installation path change

* Installation path update

* Installation Path change

* VCpkg update in software report

* permission changed

* permission updated

* permission

* Added sudo in chmod

* Added sudo for Symlink

* Removed sudo for Symlink
2025-04-11 16:40:06 +05:30
github-actions[bot] 945f3da217 Updating readme file for ubuntu22 version 20250406.1.1 (#11955)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-11 03:17:03 +00:00
github-actions[bot] e82adb8a25 Updating readme file for ubuntu20 version 20250406.1.1 (#11957)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-11 02:34:59 +00:00
github-actions[bot] cff3ab9779 Updating readme file for ubuntu24 version 20250406.1.1 (#11956)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-11 02:34:35 +00:00
susmitamane f53d7aa4e4 [macOS] Change macOS-15 & macOS-15-arm64 status: beta -> GA (#11986)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2025-04-10 10:08:53 -05:00
github-actions[bot] 03fa330fd0 Updating readme file for win25 version 20250406.1.1 (#11964)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-09 19:16:38 +00:00
github-actions[bot] 558cef0112 Updating readme file for macos-13-arm64 version 20250407.1029 (#11960)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-09 17:08:36 +00:00
github-actions[bot] 51dab16757 Updating readme file for macos-13 version 20250407.927 (#11962)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-09 16:04:38 +00:00
github-actions[bot] 722aa5e356 Updating readme file for win22 version 20250406.1.1 (#11958)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-09 15:02:48 +00:00
vidya sagar 501d7145fd [Windows] Update Visual Studio Signature Thumbprint for 2019 (#11974) 2025-04-09 08:03:17 -06:00
github-actions[bot] 2c7cc97462 Updating readme file for win19 version 20250406.1.1 (#11963)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-09 13:17:07 +00:00
vidya sagar 881c1a557b [doc] Change Windows-2025 status: beta -> GA (#11954) 2025-04-07 15:09:44 -06:00
github-actions[bot] eeb5662623 Updating readme file for macos-15-arm64 version 20250331.1175 (#11913)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-07 16:07:37 +00:00
github-actions[bot] 287e434b25 Updating readme file for macos-15 version 20250331.1080 (#11909)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-07 14:51:46 +00:00
Erik Bershel 2742bacfad [macOS] Enable indexing for macOS-14 and macOS-15 (#11930) 2025-04-07 13:32:11 +02:00
kishorekumar-anchala 68d05af296 [windows] Pin the cmake version to 3.31.6 (#11936)
* [windows] Pin the cmake version to 3.31.6

* [windows] adjust  choco script

* Fix choco build failure

* Add version parameter to choco script
2025-04-05 23:37:45 -06:00
hemanthmanga 5efa00f978 [Windows 19 & Windows 22] Fix Rust issue. (#11949) 2025-04-04 15:50:45 -06:00
hemanthmanga 10987cebf7 [Ubuntu] Fix rust issue for ubuntu-20 and ubuntu-22 (#11948) 2025-04-04 14:56:31 -06:00
RaviAkshintala 499ad89feb [Ubuntu] pinning the cmake older version 3.31.6 (#11933)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2025-04-04 08:36:04 -06:00
github-actions[bot] 9bbb228348 Updating readme file for ubuntu24 version 20250323.1.1 (#11865)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-04-04 08:17:31 -06:00
github-actions[bot] 246db5f901 Updating readme file for ubuntu22 version 20250323.1.1 (#11861)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2025-04-04 08:16:33 -06:00
Angela P Wen 5726c3a45f Refactoring: Properly double-quote variables 2025-04-04 14:30:44 +02:00
Angela P Wen ffd40b4a96 Always use the latest major version of CodeQL Action 2025-04-04 14:29:50 +02:00
sureshe456 79ad381add [macOS] Update Xcode 16.3 to 16.3 Release to macOS15 images. (#11945) 2025-04-04 13:43:47 +02:00
Erik Bershel a73845001e [macOS] Pin Cmake to 3.31.6 due to a backward compatibility issue in 4.0 (#11940) 2025-04-04 13:43:10 +02:00
Angela P Wen 9b3dea1ae8 [Ubuntu] Update default CodeQL major version to v3 (#11929) 2025-04-03 10:43:41 -06:00
Angela P Wen a4f250d205 [Windows] Update default CodeQL major version to v3 (#11927) 2025-04-03 10:43:08 -06:00
github-actions[bot] 6675dd9c7c Updating readme file for macos-14-arm64 version 20250331.1204 (#11908)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 22:45:31 +00:00
github-actions[bot] ce3d589924 Updating readme file for macos-14 version 20250331.1019 (#11907)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 19:09:20 +00:00
github-actions[bot] fa28165509 Updating readme file for macos-13-arm64 version 20250331.995 (#11912)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 18:16:30 +00:00
github-actions[bot] 2724e90679 Updating readme file for macos-13 version 20250331.901 (#11911)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 17:26:53 +00:00
github-actions[bot] 008c834ff0 Updating readme file for win22 version 20250330.1.1 (#11906)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 16:53:47 +00:00
github-actions[bot] 5826942237 Updating readme file for win19 version 20250330.1.1 (#11914)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-04-02 16:16:55 +00:00
Angela P Wen c53f6bfeb1 [macOS] Update default CodeQL major version to v3 (#11928) 2025-04-01 17:42:48 -05:00
Prasanjit Sahoo 767f70f17c [macOS] Update Xcode 16.3 RC to 16.3 RC2 on macOS 15. (#11896) 2025-03-30 19:38:42 +02:00
github-actions[bot] 900f307ee0 Updating readme file for macos-14-arm64 version 20250324.1158 (#11862)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-28 15:05:10 +00:00
github-actions[bot] f59df2512b Updating readme file for macos-14 version 20250324.987 (#11887)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-28 08:58:48 +00:00
Prabhatkumar59 f9b7da63c6 Updating signature thumbprint for mongodb (#11892) 2025-03-27 13:03:23 -06:00
vidya sagar cee0ff744a [Ubuntu] Remving mongo db from toolset in Ubuntu 22.04 and 24.04 (#11890) 2025-03-27 11:45:36 -06:00
github-actions[bot] cfb86936f8 Updating readme file for macos-13-arm64 version 20250324.952 (#11863)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-26 21:08:03 +00:00
vidya sagar b31827dae5 [Windows] Updating Windows-Service-Fabric Runtime and SDK version to latest (#11743) 2025-03-26 13:42:47 -06:00
Prabhatkumar59 81d70d6c80 Updating wsl2 checksum (#11885) 2025-03-26 13:37:28 -06:00
github-actions[bot] cebe6ffc9e Updating readme file for macos-13 version 20250324.860 (#11867)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-26 14:04:51 +00:00
ijunaidm1 ef3313ccde [macOS] Update Xcode 16.3 to 16.3 RC on macOS 15. (#11871) 2025-03-26 12:22:17 +01:00
Erik Bershel a2547b9820 [macOS] Disable rarely used services, use optimised configs (#11877) 2025-03-26 12:20:27 +01:00
sangeeths03 a6af560024 [macOS] Ndk cmake versionupgrade (#11882)
* Upgrade android ndk to r28 & its bundled cmake to 3.31.5 in macOS

* Upgrade android ndk to r28 & its bundled cmake to 3.31.5 in macOS2

* cmake macos14 and macos13 updated

* default setted as 27

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade

* cmake version upgrade
2025-03-26 16:23:11 +05:30
Erik Bershel ea4a8cd0e9 [macOS] Remove sudo from sims installer script (#11880) 2025-03-26 11:28:16 +01:00
Erik Bershel 86ef9be874 Revert "Updating readme file for macos-15-arm64 version 20250312.1001 (#11787)" (#11830)
This reverts commit f940dcf263.
2025-03-25 01:03:45 -05:00
hemanthmanga 004b9b79e8 [Windows] Fix SBT version issue and Pinning Kotlin version (#11866)
* [Windows] Fix SBT version issue and Pinning Kotlin version

* [Windows]Removing try catch block and adding script version
2025-03-24 14:24:15 -06:00
Subir Ghosh fe5a6ae53b [Windows] Change file encoding to utf8 with no BOM (#11853)
* feat:Change utf8 with no bom

* chore: replace WriteAllLines with WriteAllText
2025-03-24 08:12:09 -06:00
Erik Bershel fced4a529c [macOS] Update Xcode runtimes installer helper and toolset format (#11763) 2025-03-23 12:40:15 +01:00
github-actions[bot] db5e0167f4 Updating readme file for macos-14-arm64 version 20250317.1117 (#11825)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-21 18:18:40 +00:00
Erik Bershel f494ea3538 [macOS] Deprecate brew/bundle tap, pin Kotlin to 2.1.10 (#11850)
* [macOS] Remove deprecated bundle tap

* Pin Kotlin to 2.1.10

* Update logic for tcl-tk
2025-03-21 13:11:29 -05:00
sangeeths03 fbae48148a [macOS] Updated xcode to 16.3 beta 3 for macOS15 macOS15arm (#11839)
* added xcode 16.3 beta 3

* added xcode 16.3 beta 3

* added xcode 16.3 beta 3

* added xcode 16.3 beta 3
2025-03-21 09:44:40 -05:00
hemanthmanga 96b18578a0 [Ubuntu] Pinning Kotlin previous version 2.1.10 (#11846) 2025-03-21 08:33:57 -06:00
github-actions[bot] abf37e2844 Updating readme file for macos-14 version 20250317.946 (#11826)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-20 14:48:13 +00:00
github-actions[bot] 4be947a938 Updating readme file for macos-13 version 20250317.820 (#11811)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-19 23:44:59 +00:00
hemanthmanga d8205bb47d [Ubuntu] Updating SBT version regex pattern (#11835) 2025-03-19 12:33:56 -06:00
github-actions[bot] fa021fd172 Updating readme file for macos-13-arm64 version 20250317.910 (#11810)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-19 17:39:32 +00:00
kishorekumar-anchala 55bacf67db [Windows] Update WSL2 signature, Sbt version check and Regex Handling for Major Versions (#11833)
* [Windows] Fix Dotnet, sbt, wsl2 errors on windows

* [Windows] rollback scripts changes
2025-03-19 11:04:20 -06:00
github-actions[bot] 88c7661ae2 Updating readme file for ubuntu24 version 20250316.1.1 (#11807)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-19 13:18:06 +00:00
github-actions[bot] a46c6aa28f Updating readme file for ubuntu20 version 20250316.1.1 (#11806)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-19 11:38:13 +00:00
github-actions[bot] 63d860d2b9 Updating readme file for ubuntu22 version 20250316.1.1 (#11809)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-19 10:12:08 +00:00
Erik Bershel d7a88d213a Revert "Updating readme file for macos-15 version 20250312.936 (#11788)" (#11829)
This reverts commit 0c58ec9cca.
2025-03-18 13:17:32 -05:00
Pavel Iakovenko 2f09773451 [actions] Force push release docs branch on Create PR workflow (#11819)
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-03-18 16:27:09 +01:00
Erik Bershel 17f8e51b5d Revert "Updating create_pull_request file (#11817)" (#11824)
This reverts commit 9311d5e54f.
2025-03-18 12:21:33 +01:00
Erik Bershel f7a56e0640 [macOS] Remove unused NVM installer script (#11803) 2025-03-18 11:06:15 +01:00
ijunaidm1 9311d5e54f Updating create_pull_request file (#11817)
* Updating create PR file

* Updating create PR file
2025-03-17 17:11:15 -05:00
github-actions[bot] f940dcf263 Updating readme file for macos-15-arm64 version 20250312.1001 (#11787)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-17 20:54:32 +00:00
github-actions[bot] 0c58ec9cca Updating readme file for macos-15 version 20250312.936 (#11788)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-17 19:56:45 +00:00
kishorekumar-anchala 59bfca318a Fix Ubuntu 20 failure by pinning supported gems (#11793) 2025-03-14 13:49:55 -06:00
github-actions[bot] 9214fd680e Updating readme file for macos-13-arm64 version 20250311.898 (#11778)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-14 11:24:13 +00:00
github-actions[bot] e3e23e2383 Updating readme file for macos-13 version 20250311.806 (#11780)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-14 10:13:50 +00:00
archita105 2c323d2f04 [macOS] Xcode 16.3 beta 2 - WatchOS tvOS version update (#11783)
* iOS 22E5216h

* Use build number for the beta VisionOS simulator

* watchOS tvOS update

---------

Co-authored-by: Pavel Iakovenko <paveliak@users.noreply.github.com>
Co-authored-by: ijunaidm1 <ijunaidm1@github.com>
2025-03-12 12:36:37 -05:00
github-actions[bot] 3c3efb2c8f Updating readme file for win25 version 20250309.1.1 (#11765)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 12:46:06 +00:00
github-actions[bot] 3f8a20c34f Updating readme file for win22 version 20250309.1.1 (#11768)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 12:30:54 +00:00
github-actions[bot] ca9d39c650 Updating readme file for win19 version 20250309.1.1 (#11769)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 12:15:23 +00:00
github-actions[bot] 3c122d2e15 Updating readme file for ubuntu24 version 20250309.1.1 (#11761)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 11:58:01 +00:00
github-actions[bot] 297d15071e Updating readme file for ubuntu20 version 20250309.1.1 (#11762)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 11:54:57 +00:00
github-actions[bot] 25bced643e Updating readme file for ubuntu22 version 20250309.1.1 (#11770)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-12 11:54:28 +00:00
github-actions[bot] 5f43149423 Updating readme file for macos-14-arm64 version 20250304.1018 (#11726)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-11 19:01:04 +00:00
github-actions[bot] 6f0d16bb03 Updating readme file for macos-14 version 20250304.890 (#11725)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-11 18:04:03 +00:00
archita105 7ca9ebb498 [macOS] Xcode 16.3 beta 2 version update (#11771)
* iOS 22E5216h

* Use build number for the beta VisionOS simulator

---------

Co-authored-by: Pavel Iakovenko <paveliak@users.noreply.github.com>
2025-03-11 11:29:05 -05:00
susmitamane ab54edda7e [macOS] Add parallels to macOS 15 images. (#11749)
---------

Co-authored-by: sureshe456 <160699174+sureshe456@users.noreply.github.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
2025-03-11 16:26:27 +01:00
Erik Bershel ea2cbb444d [macOS] Update Runner installer script to use API PAT (#11774) 2025-03-11 15:49:34 +01:00
Alexey-Ayupov 71845af4a0 [Windows] Add Ninja (#11737) 2025-03-10 18:45:03 +01:00
Shamil Mubarakshin 7809601472 Remove deprecated parameters from GenerateResourcesAndImage helper (#11690) 2025-03-10 13:27:39 +01:00
susmitamane 1489b3b53c [macOS] Add Go 1.24 to macOS images. (#11745)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2025-03-07 08:01:05 -06:00
kishorekumar-anchala 1b5eca2f7d [Ubuntu] Add Installation of google-cloud-errors Gem for Ubuntu 20 (#11732)
* Pin the google cloud error version

* [Ubuntu] Add Installation of google-cloud-errors Gem for Ubuntu 20

* verify the commit
2025-03-06 07:51:07 -07:00
github-actions[bot] dc02e08c4e Updating readme file for win25 version 20250303.1.1 (#11720)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 12:31:03 +00:00
github-actions[bot] bf87643c5a Updating readme file for win22 version 20250303.1.1 (#11719)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 12:11:10 +00:00
github-actions[bot] 9f247d4780 Updating readme file for win19 version 20250303.1.1 (#11718)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 11:17:06 +00:00
github-actions[bot] 25d40db3ed Updating readme file for ubuntu20 version 20250302.1.1 (#11705)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 07:09:53 +00:00
github-actions[bot] acd42a3d51 Updating readme file for ubuntu22 version 20250302.1.1 (#11708)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 07:09:49 +00:00
github-actions[bot] 61e9d92e19 Updating readme file for macos-13-arm64 version 20250303.855 (#11716)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-06 00:37:45 +00:00
github-actions[bot] 331b0774b4 Updating readme file for macos-13 version 20250303.763 (#11715)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-05 23:34:55 +00:00
github-actions[bot] 95dbc57b74 Updating readme file for ubuntu24 version 20250302.1.1 (#11704)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-05 16:57:33 +00:00
Erik Bershel bb7932d627 [macOS] Add actions/runner cache (#11713) 2025-03-04 17:02:40 +01:00
Alexey-Ayupov 0f4b96df94 [Ubuntu] Add Ninja (#11706) 2025-03-04 15:57:10 +01:00
Alexey-Ayupov 9e8d521bef [macOS] Add Ninja (#11707) 2025-03-04 15:56:00 +01:00
Pavel Iakovenko ff2db66e2d Merge pull request #11717 from github-maccloud/macos-workaround-xcode-16-2-runtimes-bug
[macOS] Force Xcode 16.2 to install correct runtimes for iOS/visionOS
2025-03-04 00:42:43 +00:00
Erik Bershel 9782878208 [macOS] Enable NOPASSWD sudo for @admin group (#11703) 2025-03-03 23:57:21 +01:00
Erik Bershel b984947b8f [macOS] Force Xcode 16.2 to install correct runtimes for visionOS and iOS 2025-03-03 22:53:07 +01:00
kishorekumar-anchala f0e516bc43 [Windows 19 & 22] Remove AzureRM and Azure powershell modules from windows images (#11548)
* remove azure poswershell modules

* Update helper scripts
2025-03-03 00:29:18 -07:00
Erik Bershel a88fc4db06 Revert "Updating readme file for macos-15-arm64 version 20250226.766 (#11681)" (#11699)
Cause of the event: #11683
2025-03-02 01:16:37 +01:00
Erik Bershel 0f23c02540 Revert "Updating readme file for macos-14-arm64 version 20250225.952 (#11671)" (#11700)
Cause of the event: #11683
2025-03-02 01:12:41 +01:00
Erik Bershel 23e31c9330 Revert "Updating readme file for macos-14 version 20250224.833 (#11661)" (#11701)
Cause of the event: https://github.com/actions/runner-images/issues/11683
2025-03-02 00:35:56 +01:00
Erik Bershel 8394289b46 Revert "Updating readme file for macos-15 version 20250226.755 (#11682)" (#11698)
Cause of the event: https://github.com/actions/runner-images/issues/11683
2025-03-02 00:35:32 +01:00
github-actions[bot] cc7ea58394 Updating readme file for macos-13 version 20250224.726 (#11660)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-03-01 18:51:07 +00:00
github-actions[bot] 0f9d80da56 Updating readme file for macos-15-arm64 version 20250226.766 (#11681)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-28 19:59:41 +00:00
kishorekumar-anchala b5421c9536 [windows 22 & 25 ] Upgrade visual studio to postGRO channel (#11595)
* [windows 22 and 25 Upgrade visual studio to postGRO

* Add condition for windows 19 to skip

* [Windows] Update Vs installation script

* Refactor the visual studio installation script

* Fix windows 19  faliure

* Fix windows 19 visual studio failure

* [windows] Fix Windows 19 failure

* Add condition for windows 19

* [windows] Fix windows 19 failure

* [windows] update script by changing the condition syntax

* Make installchannel as optioanl parametr

* Update Installer script

* [ windows ] Update the installation script with conditional statement

* Update the installation script

* Update toolsets

* Update the channel ID

* Update channel ID

* Resolve conflicts

* Resolve conflicts
2025-02-28 11:25:17 -07:00
github-actions[bot] 9b2b536f10 Updating readme file for macos-15 version 20250226.755 (#11682)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-28 17:25:13 +00:00
github-actions[bot] e8fc6d05ae Updating readme file for macos-14-arm64 version 20250225.952 (#11671)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-28 16:54:11 +00:00
github-actions[bot] cddc266cdc Updating readme file for macos-13-arm64 version 20250224.812 (#11659)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-28 16:48:19 +00:00
github-actions[bot] 6622d0ef41 Updating readme file for macos-14 version 20250224.833 (#11661)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-28 16:15:41 +00:00
vidya sagar ae16afb6f2 [Windows] Updating Docker-Engine version to 27 (#11664) 2025-02-27 10:40:17 -07:00
kishorekumar-anchala 468df829b9 [windows[22 & 25] Update VisualStudio signature Thumbprint on windows images (#11680) 2025-02-27 14:49:44 +01:00
github-actions[bot] f1147e37b3 Updating readme file for win19 version 20250224.3.1 (#11669)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-27 12:04:27 +00:00
github-actions[bot] 07e271d774 Updating readme file for win22 version 20250224.5.1 (#11670)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-27 09:58:24 +00:00
github-actions[bot] 6c2adf32c4 Updating readme file for win25 version 20250224.3.1 (#11667)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-27 09:31:48 +00:00
Erik Bershel 081ea809ef [macOS] Remove Xcode 16.3 Beta 1 due to compatibility issues (#11677) 2025-02-26 23:29:25 +01:00
vidya sagar 4a2801f20b [Windows] Updating gecko-driver-signature (#11665) 2025-02-26 07:35:13 -07:00
github-actions[bot] 8e271d615b Updating readme file for ubuntu20 version 20250223.1.1 (#11653)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-26 11:30:07 +00:00
github-actions[bot] 5370e2ae75 Updating readme file for ubuntu24 version 20250223.1.1 (#11655)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-26 10:31:22 +00:00
github-actions[bot] 78d63875da Updating readme file for ubuntu22 version 20250223.1.1 (#11654)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-26 10:29:59 +00:00
ijunaidm1 0ef66befe1 [macOS] Add more permission for Bash to TCC (#11657) 2025-02-25 09:41:09 -06:00
hemanthmanga 6334e65abb Revert [Windows] Pin the git version to 2.47.1 (#11652) 2025-02-25 00:36:50 -07:00
ijunaidm1 3b1b75bc6a [macOS] Adding xcode 16.3 beta (#11656) 2025-02-24 16:25:04 -06:00
Alexey-Ayupov f8ba10395e Remove obsolete ADO pipelines and scripts (#11640) 2025-02-24 19:53:50 +01:00
sureshe456 cec14e5822 [macOS] update git version to 2.48.1 (#11648) 2025-02-24 20:36:16 +05:30
kishorekumar-anchala 1322a78c66 Convert signatureThumbprint variable into an array (#11647) 2025-02-24 07:41:15 -07:00
hemanthmanga 434680b383 [Windows] pin the git version to 2.47.1 (#11642) 2025-02-22 18:59:21 -07:00
ijunaidm1 436cefb96a Merge pull request #11638 from github-maccloud/macOS-remove-.NET-7
[macOS] Remove .NET 7 from macOS-13 and macOS-14 images.
2025-02-21 11:03:30 -06:00
susmitamane dc15d74126 Merge branch 'actions:main' into macOS-remove-.NET-7 2025-02-21 20:36:28 +05:30
kishorekumar-anchala a4b00d89b9 [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
2025-02-21 07:38:42 -07:00
Shamil Mubarakshin 7a15e7194e [docs] Mark ubuntu-20.04 as deprecated (#11641) 2025-02-21 15:14:48 +01:00
Alexey-Ayupov d7dfc73ec2 [Ubuntu, Windows] Add new android NDK and CMake (#11628) 2025-02-20 16:13:38 +01:00
Alexey-Ayupov c40b72458d Update Azure tags handler (#11629) 2025-02-20 08:09:34 -07:00
Alexey-Ayupov bca30bf45f Remove authentication method from script (#11616) 2025-02-18 13:28:37 +01:00
Prabhatkumar59 14b6c3879f [Windows] Updating Edgedriver signature and Wsl2 checksum (#11612)
Co-authored-by: Prabhat kumar <prabhatkumar59@Prabhats-Laptop.local>
2025-02-17 10:05:54 -07:00
Susmita Mane e045a1667b [macOS] Remove .NET 7 from macOS-13 and macOS-14 images. 2025-02-17 19:47:36 +05:30
ijunaidm1 3287f208a5 Merge pull request #11599 from github-maccloud/macos-ruby-changes
[macOS] Removing Ruby 3.0 and making 3.3 as a default version.
2025-02-14 12:17:08 -06:00
ijunaidm1 c84c47cd1d Merge pull request #11603 from github-maccloud/git-pin-version2.47.1
[macOS] pinned git version to 2.47.1
2025-02-14 11:36:13 -06:00
Mohammed Junaid c41f24847d [macOS] pinned git version to 2.47.1 2025-02-14 07:46:10 -06:00
aartis17 30c1bfee2d Merge branch 'actions:main' into macos-ruby-changes 2025-02-14 13:58:21 +05:30
Alexey-Ayupov b28a1045e6 Add the ability to specify Packer Azure plugin version (#11587) 2025-02-13 16:46:42 +01:00
github-actions[bot] a4026a1e8b Updating readme file for win22 version 20250209.1.1 (#11572)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-13 12:55:02 +00:00
github-actions[bot] 0014997d9e Updating readme file for win25 version 20250209.1.1 (#11573)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-13 12:36:25 +00:00
github-actions[bot] 09075d8538 Updating readme file for win19 version 20250209.1.1 (#11571)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-13 12:02:12 +00:00
vidyasagarnimmagaddi a9402f40d1 [Windows] Updated the EdgeDriver, vcRedis signature and Openssl version to 3.4.1 in Windows 25 (#11584)
* [Windows] Updated the EdgeDriver signature  thumbprint

* [Windows] Updated Edge-drvier , vcRedis Signature and Updated Openssl version to 3.4.1
2025-02-12 11:10:45 -07:00
github-actions[bot] 013612c558 Updating readme file for ubuntu24 version 20250209.1.1 (#11565)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-12 12:46:05 +00:00
github-actions[bot] 8573f609cb Updating readme file for ubuntu22 version 20250209.1.1 (#11566)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-12 12:39:15 +00:00
github-actions[bot] 44e386c7ad Updating readme file for ubuntu20 version 20250209.1.1 (#11568)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-12 12:38:32 +00:00
ijunaidm1 cb8e8e7b5d Merge pull request #11580 from actions/revert-11575-releases/macos-15-arm64/20250210-docs
Revert "macOS 15 arm64 (20250210) Image Update"
2025-02-11 14:51:24 -06:00
ijunaidm1 5f2526f91f Revert "macOS 15 arm64 (20250210) Image Update" 2025-02-11 14:28:50 -06:00
ijunaidm1 8135f30cef Merge pull request #11575 from actions/releases/macos-15-arm64/20250210-docs
macOS 15 arm64 (20250210) Image Update
2025-02-11 13:46:40 -06:00
Image generation service account. 811af59311 Updating readme file for macos-15-arm64 version 20250210.664 2025-02-11 08:59:21 +00:00
Shamil Mubarakshin 3b91a7827b [windows-2025] Fix .Net 8 SDK installation (#11564) 2025-02-10 16:32:32 +01:00
hemanthmanga 13666fe265 [Windows]Update signature for AWScli SessionManagerPluginSetup.exe (#11559) 2025-02-08 12:10:39 -07:00
Shamil Mubarakshin 7d57cd009f [windows] Fix .Net 8 SDK installation (#11555) 2025-02-07 11:09:06 +01:00
hemanthmanga 650fb260cb Updating latest WSL2 checksum (#11550) 2025-02-06 09:24:52 -07:00
Fahrzin Hemmati 2578e48fe6 [ubuntu] Don't install documentation for ruby gems (#11413) 2025-02-06 09:21:43 -07:00
Prabhatkumar59 7454a5b88a [Ubuntu24] adding libicu package version 70 (#11547)
Co-authored-by: Prabhat kumar <prabhatkumar59@Prabhats-Laptop.local>
2025-02-06 08:47:02 -07:00
github-actions[bot] b55bfdd989 Updating readme file for win22 version 20250203.1.1 (#11536)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-06 13:37:48 +00:00
github-actions[bot] d632cabc19 Updating readme file for win25 version 20250203.1.1 (#11538)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-06 10:50:58 +00:00
github-actions[bot] 8aef0e3a45 Updating readme file for win19 version 20250203.1.1 (#11537)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-06 10:40:34 +00:00
aartis17 78fbd72a49 [macOS]Removing 3.0 & making 3.3 as default for ruby 2025-02-06 13:20:33 +05:30
github-actions[bot] 43d2c65c7b Updating readme file for ubuntu22 version 20250202.1.1 (#11527)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-06 05:25:06 +00:00
github-actions[bot] 36052802e5 Updating readme file for ubuntu20 version 20250202.1.1 (#11532)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-06 04:28:21 +00:00
Lukas Bühler bd86538e4e hkps over port 443 instead of 11371 to resolve issue https://github.com/actions/runner-images/discussions/9963 (#10007)
* Change to use port 80 instead of 11371

Change to use port 80 instead of 11371

* Update install-swift.sh

Changed to hkps and port 443 for added security

* Fix merge conflicts
2025-02-05 08:37:37 -07:00
github-actions[bot] 93cafaffc5 Updating readme file for ubuntu24 version 20250202.1.1 (#11526)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-05 10:29:21 +00:00
Alexey-Ayupov d77157a972 [Ubuntu] add Android SDK Platform-Tools (#11539) 2025-02-05 11:05:22 +01:00
github-actions[bot] c4ed0a5c10 Updating readme file for macos-13 version 20250129.634 (#11503)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-02-03 14:39:41 +00:00
RaviAkshintala 27c8809a05 [Windows] Updated the mongodb signature thumbprint (#11507)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2025-02-03 07:38:45 -07:00
sarathrajsrinivasan 002f86637a [macOS] Update condition for mono test case (#11515) 2025-01-31 11:45:21 -06:00
Lawrence Gripper 8273c96ed0 Merge pull request #11518 from lawrencegripper/lg/require-pinned
Add workflows to require `pinnedDetails` when minor version of a tool is pinned in a toolset file
2025-01-31 13:40:37 +00:00
Lawrence Gripper 4c5acc8cde Update .github/workflows/validate-json-schema.yml 2025-01-31 13:03:06 +00:00
Lawrence Gripper ed70f8ac46 Update .github/workflows/check-pinned-versions.yml 2025-01-31 13:02:49 +00:00
github-actions[bot] b0de0a7049 Updating readme file for win25 version 20250127.1.1 (#11502)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-31 11:50:11 +00:00
Lawrence Gripper 06fe929343 Update .gitignore 2025-01-31 11:03:31 +00:00
Erik Bershel 94f8e7af81 Revert "Updating readme file for macos-15-arm64 version 20250127.616 (#11481)" (#11514)
This reverts commit 0a2348df06.
2025-01-31 12:03:27 +01:00
lawrencegripper 5385f70026 Fix double run 2025-01-31 10:57:29 +00:00
lawrencegripper 645b62769b Add pinnedDetails to mingw 2025-01-31 10:55:38 +00:00
lawrencegripper b14b8bf08f Merge branch 'main' into lg/require-pinned 2025-01-31 10:52:14 +00:00
lawrencegripper 1ace44b407 Update cron 2025-01-31 10:51:21 +00:00
lawrencegripper 613e24f3cd update 2025-01-31 10:46:52 +00:00
lawrencegripper 50e09973d0 Fix gh cli piping 2025-01-31 10:43:40 +00:00
lawrencegripper 901125ceec Check outdated pins 2025-01-31 10:39:03 +00:00
lawrencegripper 3bc475f72e try 2025-01-31 10:04:51 +00:00
lawrencegripper 78d2d49784 Update checker 2025-01-31 09:53:36 +00:00
github-actions[bot] c8b6f67c08 Updating readme file for win22 version 20250127.1.1 (#11492)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-30 11:30:32 +00:00
github-actions[bot] a9c4aff756 Updating readme file for win19 version 20250127.1.1 (#11497)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-30 10:17:47 +00:00
github-actions[bot] 0a2348df06 Updating readme file for macos-15-arm64 version 20250127.616 (#11481)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-30 06:19:19 +00:00
github-actions[bot] 680aca18e3 Updating readme file for macos-13-arm64 version 20250127.672 (#11480)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-29 15:06:03 +00:00
github-actions[bot] d97acc5bf3 Updating readme file for macos-14 version 20250127.727 (#11485)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-29 13:47:04 +00:00
github-actions[bot] 3ea8ee216f Updating readme file for ubuntu24 version 20250126.1.1 (#11479)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-29 13:21:28 +00:00
github-actions[bot] 964d0b05f4 Updating readme file for ubuntu22 version 20250126.1.1 (#11478)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-29 11:51:32 +00:00
github-actions[bot] 5a534e1f86 Updating readme file for ubuntu20 version 20250126.1.1 (#11477)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-29 11:48:07 +00:00
Erik Bershel 620ebdf37b [macOS] Deprecate stale code, update structure accordingly (#11473) 2025-01-27 14:09:51 +01:00
Erik Bershel 19c847488e [Actions] Remove Ruby check for CodeQL test as not used (#11474) 2025-01-27 09:57:24 +01:00
RaviAkshintala 7a1a792a74 [Windows] Update the edge driver thumbprint (#11475) 2025-01-27 09:44:30 +01:00
RaviAkshintala 4aaad333a6 [Windows]Updated the php 8.4 version (#11461)
Co-authored-by: Shivam Mathur <shivammathur@users.noreply.github.com>

Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2025-01-24 09:18:44 -07:00
Erik Bershel b7a804a460 [macOS] Update Xcode installer script - type optimization (#11459) 2025-01-24 10:57:28 +01:00
github-actions[bot] 9af4ac0a68 Updating readme file for macos-15-arm64 version 20250120.596 (#11425)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-24 00:45:44 +00:00
github-actions[bot] 65a1ae058f Updating readme file for macos-15-arm64 version 20250113.563 (#11371)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 19:56:16 +00:00
vidyasagarnimmagaddi d12bc7894b [Ubuntu] adding ruby version 3.3.* (#11452)
Co-authored-by: Pat Myron <PatMyron@users.noreply.github.com>
2025-01-23 08:08:29 -07:00
vidyasagarnimmagaddi f7fee117e8 [Windows] Adding Ruby version 3.3 (#11454)
Co-authored-by: Pat Myron <PatMyron@users.noreply.github.com>
2025-01-23 08:03:27 -07:00
hemanthmanga 02b8cbc5ce Adding latest Dotnet version 9 (#11457) 2025-01-23 08:01:43 -07:00
github-actions[bot] bdbe93c15a Updating readme file for win19 version 20250120.1.1 (#11449)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 13:55:17 +00:00
github-actions[bot] 6e729ed9de Updating readme file for win22 version 20250120.2.1 (#11443)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 13:02:22 +00:00
Shamil Mubarakshin e149fc6a0e Update Tags handling in build-image.ps1 (#11458) 2025-01-23 13:57:09 +01:00
github-actions[bot] 4e7613245f Updating readme file for win25 version 20250120.2.1 (#11440)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 12:26:39 +00:00
github-actions[bot] 7f05bc5cf5 Updating readme file for ubuntu24 version 20250120.5.1 (#11442)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 12:05:59 +00:00
github-actions[bot] abc3bfa23d Updating readme file for ubuntu20 version 20250120.2.1 (#11439)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 12:05:38 +00:00
github-actions[bot] 9303ddeb0c Updating readme file for ubuntu22 version 20250120.2.1 (#11441)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-23 11:43:45 +00:00
github-actions[bot] f12b993a3a Updating readme file for macos-14-arm64 version 20250120.774 (#11430)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-22 17:57:32 +00:00
Ikko Eltociear Ashimine c9859b2db3 [ubuntu] Update etc-environment.sh (#10344)
containg -> containing
2025-01-22 10:20:34 -07:00
vidyasagarnimmagaddi 37aecb0028 [Ubuntu & Windows] Adding Python 3.13 version (#11438)
Co-authored-by: James Knight <jdknight@users.noreply.github.com>
2025-01-22 08:57:31 -07:00
github-actions[bot] cd2ebf2962 Updating readme file for macos-13 version 20250120.597 (#11428)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-22 14:38:28 +00:00
github-actions[bot] ee9c567442 Updating readme file for macos-13-arm64 version 20250120.653 (#11427)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-22 13:27:05 +00:00
github-actions[bot] 727faa300e Updating readme file for macos-15 version 20250120.591 (#11426)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-22 12:26:19 +00:00
sureshe456 085d14e7de [macOS] Fix iOS18.2 for Xcode 16.2 on macOS 14 (#11447) 2025-01-21 16:38:03 +01:00
Lawrence Gripper 6020692ce2 Merge pull request #11047 from lawrencegripper/lg/postgres-win-update
[Windows] Unpin Postgres allowing latest v14 version
2025-01-21 12:30:37 +00:00
kishorekumar-anchala c21e3961c5 [Ubuntu] Fix minikube failure on ubuntu images (#11429)
* Fix minqube installation

* Fix minqube installation
2025-01-20 08:50:33 -07:00
Shamil Mubarakshin ee530b00e3 [windows] Update Get-WindowsUpdateStates function (#11397) 2025-01-20 11:12:30 +01:00
aartis17 af0df29967 [macOS] Updating TCC DB by adding microphone permissions for provisioner (#11412) 2025-01-17 14:57:32 +01:00
Lawrence Gripper ddaec57d3e Merge branch 'actions:main' into lg/postgres-win-update 2025-01-17 09:03:36 +00:00
kishorekumar-anchala 021b320d3b [Windows] Azurerm module version 2.1.0 deprecated (#11398)
* remove 2.1.0 deprecated

* remove 2.1.0 deprecated

* Removed cache versions and EOL versions
2025-01-16 14:48:51 -07:00
Shamil Mubarakshin f27bce4030 Add Windows2025 to GenerateResourcesAndImage.ps1 (#11404) 2025-01-16 18:43:53 +01:00
pravinade d0ef4c965f [macOS] Update activesupport gem to 7.1.5.1 to unlock cocoapods (#11406) 2025-01-16 18:12:17 +01:00
github-actions[bot] ffc156c381 Updating readme file for win25 version 20250113.1.1 (#11385)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 17:07:27 +00:00
github-actions[bot] 7ac5d59cf5 Updating readme file for macos-13-arm64 version 20250113.628 (#11373)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 16:43:41 +00:00
github-actions[bot] 1bb89cd279 Updating readme file for macos-14-arm64 version 20250113.751 (#11375)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 16:21:36 +00:00
github-actions[bot] 9f1c73e473 Updating readme file for win22 version 20250113.1.1 (#11379)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 15:26:19 +00:00
github-actions[bot] 620d17380f Updating readme file for macos-15 version 20250113.570 (#11374)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 12:57:12 +00:00
github-actions[bot] 4a67880dbe Updating readme file for macos-13 version 20250113.572 (#11372)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 12:48:36 +00:00
lawrencegripper 39bd8d49c7 Merge branch 'main' into lg/postgres-win-update 2025-01-16 10:51:38 +00:00
github-actions[bot] 250b209850 Updating readme file for macos-13-arm64 version 20250106.592 (#11305)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-16 00:18:51 +00:00
Subir Ghosh 8b7d5f6fee Revert "Implemented az-cli warmup (#11173)" (#11400)
This reverts commit ffe7e6a514.
2025-01-15 11:30:27 -07:00
kishorekumar-anchala f92a9551a8 [Windows] Update visual studio signature for windows 2019 (#11392)
* vs sign update for win-19

* update VS Signature
2025-01-15 08:35:47 -07:00
github-actions[bot] 97c57828ed Updating readme file for win19 version 20250113.1.1 (#11380)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-15 14:10:16 +00:00
blu3 47ef77b32b Update license to 2025 (#11326) 2025-01-14 08:51:41 -07:00
lawrencegripper 043bfb130f Put in right place 2025-01-14 12:29:48 +00:00
lawrencegripper c15fb5f6b2 Add example detection script 2025-01-14 12:13:15 +00:00
lawrencegripper b887892285 Merge remote-tracking branch 'upstream/main' into lg/postgres-win-update 2025-01-14 09:30:03 +00:00
Alexey-Ayupov 8184167b25 Add tags support to image generation script (#11367) 2025-01-13 18:38:10 +01:00
lawrencegripper 7a88cb1d8b quiet output 2025-01-13 17:20:14 +00:00
lawrencegripper 62335a3830 Fix validation 2025-01-13 17:15:29 +00:00
lawrencegripper 9faa1553c1 Do some validation 2025-01-13 16:55:50 +00:00
lawrencegripper 40f0a79050 PoC: Require details tracked when patch version pinned 2025-01-13 16:44:41 +00:00
vidyasagarnimmagaddi d1852f561f [Ubuntu] Updated maven version 9.0 (#11337)
Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>
2025-01-13 07:41:39 -07:00
vidyasagarnimmagaddi 131105315a [Windows] Update maven version to 3.9 (#11321)
* [Windows] update maven version 3.9

Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>

* [Windows] Updated maven version 9.0
Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>

---------

Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>
2025-01-13 07:40:42 -07:00
vidyasagarnimmagaddi b127d3a973 [Windows] Update EdgeDriver signature (#11361) 2025-01-13 07:36:06 -07:00
Lawrence Gripper 0b3c476cb6 Merge pull request #11098 from lawrencegripper/lg/dotnet-docs
[ubuntu] Add documentation on .NET core changes for 2404
2025-01-13 13:48:44 +00:00
Lawrence Gripper 619f425184 Update toolset-2019.json 2025-01-13 12:52:03 +00:00
susmitamane 8085da95cb [macOS] Add ruby 3.4 to macos images. (#11346)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2025-01-10 16:33:35 +05:30
Seth Landry 976232da21 Update ubuntu-latest to Ubuntu 24.04 (#11332)
Fixes #10636

Update the `README.md` to reflect the change in the `ubuntu-latest` label to Ubuntu 24.04.

* Change the `ubuntu-latest` label to point to Ubuntu 24.04.
* Remove the beta tag from the Ubuntu 24.04 image.
* Update the rollout status of the Ubuntu 24.04 image to reflect the latest changes.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/actions/runner-images/issues/10636?shareId=XXXX-XXXX-XXXX-XXXX).
2025-01-09 09:46:46 -07:00
Erik Bershel 237fc1c4e2 [macOS] Add .NET 9.0 environment to all images (#11325) 2025-01-09 15:04:56 +01:00
Lawrence Gripper 1d54963a0a Temp DO NOT MERGE: remove azcopy to test postgres 2025-01-09 11:41:29 +00:00
github-actions[bot] c2491bb469 Updating readme file for macos-14 version 20250106.587 (#11315)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-09 10:38:06 +00:00
github-actions[bot] 981fb1eb13 Updating readme file for macos-13 version 20250106.546 (#11304)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-09 06:05:24 +00:00
github-actions[bot] 05c04b5275 Updating readme file for macos-14-arm64 version 20250106.725 (#11306)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 23:14:25 +00:00
github-actions[bot] 2d35c44cec Updating readme file for win19 version 20250105.1.1 (#11312)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 18:08:04 +00:00
github-actions[bot] 186e26bc97 Updating readme file for win22 version 20250105.1.1 (#11310)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 17:17:07 +00:00
github-actions[bot] 5d3ec3ef99 Updating readme file for macos-15-arm64 version 20250106.544 (#11308)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 17:06:18 +00:00
github-actions[bot] 402d029f44 Updating readme file for ubuntu20 version 20250105.1.1 (#11302)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 14:40:43 +00:00
github-actions[bot] f7416ed524 Updating readme file for win25 version 20250105.1.1 (#11313)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 14:27:13 +00:00
github-actions[bot] 989ed18117 Updating readme file for macos-15 version 20250106.547 (#11307)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 13:31:07 +00:00
github-actions[bot] 6d67eed162 Updating readme file for ubuntu22 version 20250105.1.1 (#11299)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 12:36:16 +00:00
github-actions[bot] bb3043b2c5 Updating readme file for ubuntu24 version 20250105.1.1 (#11298)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2025-01-08 11:48:29 +00:00
കുട്ടൂസ് 4ac5909191 Use GitHub markdown alert for note (#11288) 2025-01-07 12:41:49 -07:00
Subir Ghosh bc116668f0 Revert "[Windows] Update Service Fabric Versions (#11048)" (#11318)
This reverts commit 19e81a096c.
2025-01-07 10:16:50 -07:00
Alexey-Ayupov e51332054c [Windows-2025] Remove VS components related to 4.7.SDK (#11248) 2025-01-07 09:05:00 -07:00
kishorekumar-anchala 3d5f09a90f Add libsql3 to ubuntu-24 (#11300) 2025-01-06 14:21:15 -07:00
Lars Nielsen ffe7e6a514 Implemented az-cli warmup (#11173) 2025-01-06 14:09:27 -07:00
Lawrence Gripper 19e81a096c [Windows] Update Service Fabric Versions (#11048)
* [WIP] Update Service Fabric Versions on Windows runners

* Accidental postgres change

This was from another PR by mistake
2025-01-06 13:38:36 -07:00
Fahrzin Hemmati c2becfafdd Use all processors when installing zstd (#11067)
Speeds up my builds from 93s to 37s (four core) for the install-zstd.sh step
2025-01-06 13:34:42 -07:00
hemanthmanga c4f58658b6 Removing Dotnet version 7.0 from Ubuntu (#11277) 2025-01-06 07:36:59 -07:00
hemanthmanga aff0eea2a1 Removing Dotnet version 7.0 from windows (#11278) 2025-01-06 07:35:23 -07:00
vidyasagarnimmagaddi 6cc2576b1b [Ubuntu] remvoving Python Version:3.7.* (#11275) 2025-01-03 11:18:46 -07:00
vidyasagarnimmagaddi 92c3eccf8d [Windows] removing Pthyon version:3.7.* (#11276) 2025-01-03 11:17:07 -07:00
sureshe456 b8e122b1b1 [macOS] Add Xcode 16.2 Release to macOS14 (#11272)
Co-authored-by: Suresh kumar <v-erkumar@microsoft.com>
2025-01-03 19:38:06 +05:30
Shamil Mubarakshin 03a8b0fd82 [windows] Fix WSL pester test (#11255) 2025-01-02 07:43:53 -07:00
Shamil Mubarakshin 5a7153bb52 [windows] Add Android SDK 34 to windows-2025 (#11249) 2024-12-30 19:11:22 +01:00
Alexey-Ayupov 5e69d9c205 [Windows] Add WSL2 to Windows-2025 image (#11242) 2024-12-30 11:11:22 +01:00
Alexey-Ayupov 0a970d8e11 [Windows] Update EdgeDriver signature (#11237) 2024-12-24 10:48:45 +01:00
Tachibana waita 9bdf288d3e Fix: erlang install failure on gpg key 2024-12-23 08:59:05 -07:00
lawrencegripper 39055770c9 Merge branch 'main' into lg/postgres-win-update 2024-12-20 14:55:28 +00:00
github-actions[bot] 45226c1116 Updating readme file for macos-15-arm64 version 20241217.490 (#11213)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-19 16:13:23 +00:00
github-actions[bot] 2d6d4f7714 Updating readme file for macos-15 version 20241217.493 (#11214)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-19 14:32:24 +00:00
Shamil Mubarakshin 3373b502f7 [Windows] Introduce Windows Server 2025 beta image (#11227) 2024-12-19 15:04:27 +01:00
Shamil Mubarakshin c9d728fd25 [windows-2025] Install mongosh for ALLUSERS and enable test (#11224) 2024-12-19 11:16:24 +01:00
github-actions[bot] bcf2ea82ad Updating readme file for macos-14-arm64 version 20241216.651 (#11210)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-19 00:11:37 +00:00
github-actions[bot] 9dbed1b18a Updating readme file for macos-14 version 20241216.504 (#11209)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 22:59:28 +00:00
github-actions[bot] 70cee3d2bd Updating readme file for win19 version 20241215.1.1 (#11201)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 22:15:37 +00:00
github-actions[bot] f55af58f30 Updating readme file for win22 version 20241215.1.1 (#11202)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 22:01:34 +00:00
github-actions[bot] f983f3da95 Updating readme file for macos-13-arm64 version 20241216.537 (#11206)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 21:39:31 +00:00
github-actions[bot] 832c038b81 Updating readme file for macos-13 version 20241216.479 (#11207)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 20:31:03 +00:00
github-actions[bot] 39222c24c4 Updating readme file for ubuntu20 version 20241215.1.1 (#11205)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 17:10:33 +00:00
github-actions[bot] 7c2da160a2 Updating readme file for ubuntu24 version 20241215.1.1 (#11197)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 12:26:37 +00:00
github-actions[bot] ee68afd89e Updating readme file for ubuntu22 version 20241215.1.1 (#11198)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-18 11:51:24 +00:00
Lawrence Gripper ee59bae245 Update docs/dotnet-ubuntu.md 2024-12-17 13:15:53 +00:00
sureshe456 2899593d7a [macOS] Add Xcode 16.2 Release to macOS15 (#11179) 2024-12-16 09:52:11 -06:00
github-actions[bot] ad23bf9f93 Updating readme file for ubuntu24 version 20241208.1.1 (#11139)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-16 07:39:37 -07:00
github-actions[bot] 600fb502b3 Updating readme file for ubuntu22 version 20241211.1.1 (#11166)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-16 07:38:38 -07:00
sarathrajsrinivasan 5c8a14c94c [macOS] Add Symlink for tcl-tk8 (#11128)
* [macOS] Add Symlink for tcl-tk8

* [macOS] Add condition for tcl tk only for macOS13 and macOS14 Intel machines

* [macOS] Update test case for tcl/tk

* [macOS] Update test cases for tcl/tk for macOS15

* [macOS] Update tcl/tk test cases
2024-12-16 15:52:29 +05:30
Alexey-Ayupov 0e631a89e8 [Windows] Remove Windows\Installer\* folder cleanup for windows 2025 image (#11193) 2024-12-15 12:44:49 +01:00
Alexey-Ayupov cee689db9f [Windows] Update EdgeDriver signature (#11192) 2024-12-15 12:44:26 +01:00
github-actions[bot] 591df9aa44 Updating readme file for macos-15-arm64 version 20241211.459 (#11151)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-14 19:36:19 -06:00
github-actions[bot] 225dce0cbd Updating readme file for macos-15 version 20241211.462 (#11150)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-14 19:35:45 -06:00
github-actions[bot] b14867a5eb Updating readme file for macos-13-arm64 version 20241211.503 (#11153)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 23:56:52 +00:00
github-actions[bot] 4ef6e91929 Updating readme file for macos-14-arm64 version 20241211.616 (#11160)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 23:46:11 +00:00
github-actions[bot] 6b5e85899d Updating readme file for macos-14 version 20241211.477 (#11154)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 22:53:14 +00:00
github-actions[bot] d0a65206e5 Updating readme file for macos-13 version 20241211.456 (#11155)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 22:46:09 +00:00
Joost Voskuil 7cd7c6a18a Add Microsoft.Net.Component.4.7.2.SDK to Windows toolset 2022 (#11118) 2024-12-13 20:19:19 +01:00
github-actions[bot] 019a2c6edc Updating readme file for win22 version 20241211.1.1 (#11165)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 16:50:08 +00:00
github-actions[bot] cb92b7c5b2 Updating readme file for ubuntu20 version 20241209.1.1 (#11141)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 09:16:02 -07:00
github-actions[bot] 9e06b648c0 Updating readme file for win19 version 20241211.1.1 (#11175)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-13 14:32:17 +00:00
Shamil Mubarakshin 625a3cb7eb [windows] Update Visual Studio Software Report (#11171) 2024-12-13 11:54:30 +01:00
Shamil Mubarakshin 9a4df3f591 [windows] Update mongosh signature (#11181) 2024-12-13 11:54:00 +01:00
Alexey-Ayupov 87aba9f412 [Windows] Install "strawberryperl" right after "cmake" (#11158) 2024-12-12 12:06:41 +01:00
Shamil Mubarakshin 6bbddd20d7 [windows] Remove Windows\Installer\* folder cleanup (#11144) 2024-12-10 17:11:16 +01:00
Alexey-Ayupov ddfcef3f6a [Windows] Accept by default "Send Diagnostic data to Microsoft" consent (#11121) 2024-12-09 19:49:19 +01:00
Alexey-Ayupov 3dca722ddb [Ubuntu] Add systemd-coredump (#11120) 2024-12-09 19:47:06 +01:00
susmitamane cb088fbe48 [macOS] Add Xcode 16.2 Release Candidate to macOS15 (#11134) 2024-12-09 10:54:20 +01:00
Erik Bershel c2c0261ea4 [macOS] Add Android SDK 34 to macOS-15 images (#11103) 2024-12-06 11:25:23 +01:00
github-actions[bot] b74c33ad6e Updating readme file for macos-14-arm64 version 20241202.580 (#11083)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 16:35:55 +00:00
github-actions[bot] de16eefce8 Updating readme file for macos-15-arm64 version 20241202.430 (#11086)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 13:24:19 +00:00
github-actions[bot] 1346c98b00 Updating readme file for macos-13-arm64 version 20241202.469 (#11081)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 11:44:33 +00:00
github-actions[bot] 26a47c5357 Updating readme file for macos-14 version 20241202.444 (#11082)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 11:17:09 +00:00
Lawrence Gripper d7a4f1a864 Update docs/dotnet-ubuntu.md 2024-12-05 11:05:46 +00:00
github-actions[bot] 5ae5d85800 Updating readme file for macos-13 version 20241202.423 (#11084)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 10:32:22 +00:00
github-actions[bot] f839529975 Updating readme file for macos-15 version 20241202.430 (#11085)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-05 10:28:59 +00:00
github-actions[bot] d7901f6e93 Updating readme file for win19 version 20241201.2.1 (#11080)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-04 23:35:37 +00:00
github-actions[bot] d868709391 Updating readme file for win22 version 20241201.2.1 (#11078)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-04 21:00:26 +00:00
lawrencegripper 3362e8dadf [ubuntu] Add documentation on .NET core changes for 2404
This adds a short document detailing the changes .NET Core team have made related to Ubuntu.

It provides a brief overview of the implications and how to resolve issues caused by this change.
2024-12-04 17:17:20 +00:00
lawrencegripper 9f195304f1 Put the installer back to original order 2024-12-04 16:35:34 +00:00
Alexey-Ayupov e6d18766e6 [Windows] Refactor Install-NodeJS script (#11088) 2024-12-04 15:01:55 +01:00
github-actions[bot] 07869434fe Updating readme file for ubuntu20 version 20241201.1.1 (#11072)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-04 12:00:37 +00:00
lawrencegripper 0fae0a3b0b Fix getting output 2024-12-04 11:55:32 +00:00
github-actions[bot] 2d0360379c Updating readme file for ubuntu24 version 20241201.1.1 (#11073)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-04 11:46:11 +00:00
github-actions[bot] cc762854bd Updating readme file for ubuntu22 version 20241201.1.1 (#11076)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-12-04 11:28:11 +00:00
lawrencegripper 18efc23fe3 Quicker loop again 2024-12-04 11:07:49 +00:00
lawrencegripper 66ee991884 Missing recurse 2024-12-04 11:06:53 +00:00
Lawrence Gripper 1aad2d246d Update images/windows/scripts/build/Install-PostgreSQL.ps1 2024-12-03 20:33:13 +00:00
lawrencegripper 9d551e43bc Missing backtick 🤦‍♂️ 2024-12-03 13:48:31 +00:00
Alexey-Ayupov 4730894910 [Windows] Fix the value of the variable "image_os" for Windows 2025 (#11090) 2024-12-03 14:02:45 +01:00
Lawrence Gripper 692b6af2e9 Update images/windows/scripts/helpers/InstallHelpers.ps1 2024-12-03 09:45:08 +00:00
lawrencegripper 4e756696cb Hack: temp fix to improve debugging loop 2024-12-02 14:37:55 +00:00
lawrencegripper 0d3756a2ec Handle looking for installer log before exit 2024-12-02 14:36:15 +00:00
lawrencegripper a0fc3d11c5 debugging 2024-12-02 10:14:52 +00:00
sureshe456 c8985638bc fix to kotlinc-js instead of fix-kotlin-dce-js as deprecated (#11075) 2024-12-02 10:53:40 +01:00
Alexey-Ayupov 49a87ab9a3 [Windows] Exclude "installer" directory from deletion (#11068) 2024-12-01 22:22:13 +01:00
lawrencegripper 3f89591af5 Make install optional as probably not needed for next windows 2025 build 2024-11-29 11:01:49 +00:00
lawrencegripper 1acb48ed45 Directly install vs redist before installing postgres 2024-11-29 10:23:46 +00:00
Erik Bershel a0b19fa01b [Windows] Update Get-GithubReleasesByVersion function sorting (#11064) 2024-11-29 11:09:38 +01:00
Alexey-Ayupov e3ba729b37 [Windows] Add Windows 2025 code (#11037) 2024-11-29 11:08:29 +01:00
Alexey-Ayupov 6c768837be Add trigger to run Windows 2025 CI (#11063) 2024-11-28 20:09:12 +01:00
Lawrence Gripper ba0b242503 Update images/windows/scripts/helpers/InstallHelpers.ps1 2024-11-28 15:42:57 +00:00
lawrencegripper d3779e8ed4 Merge branch 'main' into lg/postgres-win-update 2024-11-28 15:41:57 +00:00
RaviAkshintala 004bb48b9e [Ubuntu] Updated the Kotlin pester test and Power shell version for Ubuntu24.04. (#11062)
* [Ubuntu] Uodated the script to install the powershell

* [Ubuntu] Fixing the powershell and kotlin

---------

Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-11-28 08:11:49 -07:00
Alexey-Ayupov 5a263020f5 [Windows] Reorganize temporary file storage and separate cleanup activities (#11054) 2024-11-28 13:30:26 +01:00
Alexey-Ayupov 9b0a6c08c9 [Windows] Update Kotlin Pester test (#11056) 2024-11-28 11:04:06 +01:00
lawrencegripper 157d0dd46b Allow postgres to install necessary MSVC redistributables
Newer postgres installes require MSVC 17 which isn't
on the box by default.

Previously this worked as they required MSVC 16
which was installed by Visual Studio

https://github.com/actions/runner-images/pull/11047#issuecomment-2504219995
2024-11-27 16:03:13 +00:00
kishorekumar-anchala 20d0451bdd Update visualstduio signature for windows 2022 (#11052) 2024-11-27 13:31:30 +01:00
lawrencegripper 181b98660d hack: get stdout and stderr for failing install 2024-11-27 10:57:26 +00:00
github-actions[bot] 6eccdcc56f Updating readme file for macos-14-arm64 version 20241125.556 (#11031)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 14:43:12 +00:00
github-actions[bot] 6d5e92cd22 Updating readme file for macos-15-arm64 version 20241125.405 (#11033)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 14:29:13 +00:00
github-actions[bot] 50bb5e8967 Updating readme file for macos-13-arm64 version 20241125.445 (#11032)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 14:28:39 +00:00
lawrencegripper 95b0a5551b re-add signitures
removed these by accident, postgres releases are
signed with same key so keeping this allows us
to validate it
2024-11-26 13:33:25 +00:00
github-actions[bot] a63a87f6a0 Updating readme file for macos-14 version 20241125.421 (#11043)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 13:30:50 +00:00
github-actions[bot] ced65c7a3c Updating readme file for macos-15 version 20241125.404 (#11042)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 13:12:54 +00:00
github-actions[bot] 153e15c52e Updating readme file for macos-13 version 20241125.399 (#11044)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 13:09:17 +00:00
github-actions[bot] a03f6d0ec3 Updating readme file for win22 version 20241125.1.1 (#11045)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 11:27:25 +00:00
github-actions[bot] f391328279 Updating readme file for win19 version 20241125.1.1 (#11046)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 11:20:28 +00:00
lawrencegripper d195f34aa8 [WIP] Unpin Postgres on Windows images allowing latest v14 version. 2024-11-26 10:29:31 +00:00
github-actions[bot] 00f102b4cc Updating readme file for ubuntu24 version 20241124.1.1 (#11038)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 04:03:16 +00:00
github-actions[bot] 1e3d72af6d Updating readme file for ubuntu20 version 20241124.1.1 (#11040)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-26 04:02:31 +00:00
github-actions[bot] aba30c31f0 Updating readme file for ubuntu22 version 20241124.1.1 (#11039)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-11-26 04:01:34 +00:00
Subir Ghosh b3342fe129 -S (#10979)
chore: Update gist url for release basdges
2024-11-25 12:34:53 -07:00
Erik Bershel fc643c2fc8 [macOS] Add Xcode 15.4 to macOS-15; update disk space test (#11023) 2024-11-25 14:59:18 +01:00
Prasanjit Sahoo a9d89fa563 [MacOS]Update php-8.3 to php-8.4 (#11035) 2024-11-25 19:07:58 +05:30
RaviAkshintala 75e2e796b8 [Windows] Updated the DACF thumprint signature (#11030) 2024-11-25 12:08:46 +01:00
Alexey-Ayupov ffd458e263 [Windows] Update Visual Studio signature (#11026) 2024-11-23 14:15:56 +01:00
github-actions[bot] 166ca4e9c2 Updating readme file for macos-14-arm64 version 20241119.509 (#11011)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-22 15:26:36 +00:00
susmitamane 6e8ddff8ff [macOS] Add Ruby toolcache on arm64 images. (#10768)
Co-authored-by: Erik Bershel <erik-bershel@github.com>
2024-11-22 15:35:31 +01:00
sarathrajsrinivasan 26b592de2b [macOS] Replace pkg-config with pkgconf in all macOS images (#11015) 2024-11-22 15:23:29 +01:00
aartis17 d22a5ec4c1 [macos] Removing python 3.9 and 3.10 from macos-14-arm64 (#11018) 2024-11-21 19:35:54 +05:30
Prasanjit Sahoo e6fd81684d [macOS] Update Xcode 16.2 Beta on macOS15 (#11019)
* [macOS] Add Xcode 16.2 Beta 3 to macOS14 and macOS15

* Remove Xcode 16 beta from macos-14

---------

Co-authored-by: Erik Bershel <erik-bershel@github.com>
2024-11-21 19:04:46 +05:30
github-actions[bot] 183bef9022 Updating readme file for ubuntu20 version 20241117.1.1 (#10999)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-21 11:41:37 +00:00
github-actions[bot] 53c3ba89fe Updating readme file for ubuntu22 version 20241117.1.1 (#10997)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-21 10:48:28 +00:00
github-actions[bot] 6c6545011c Updating readme file for ubuntu24 version 20241117.1.1 (#10998)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-21 10:21:18 +00:00
github-actions[bot] 2c013247b1 Updating readme file for macos-15-arm64 version 20241118.362 (#10991)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-21 03:33:00 +00:00
github-actions[bot] 7a40bc62eb Updating readme file for macos-14 version 20241118.366 (#10993)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-20 23:51:46 +00:00
kishorekumar-anchala cb9e36698d [Windows] Fix AzCli Signature and Install Azure CosmosDb Emulator thumbprint (#11004)
* Fix azcli,cosmosdb and remove vscomponent

* Update visual studio signature

* revert toolset-2022.json changes
2024-11-20 07:53:46 -07:00
sarathrajsrinivasan b20550951d [macOS] Pin version for Az powershell module (#11006) 2024-11-19 13:30:00 -06:00
Prabhatkumar59 c0b1588684 adding latest 3.2 version (#10988)
Co-authored-by: Prabhat kumar <prabhatkumar59@Prabhats-Laptop.local>
2024-11-19 08:03:49 -07:00
sarathrajsrinivasan fd9befaf96 [macOS] Reverting changes to python 3.9 and 3.10 for macOS14 (#10996) 2024-11-18 22:25:26 +01:00
Prasanjit Sahoo c2ef078c78 [MacOS]Upgrade cmake to 3.31.0 (#10983) 2024-11-18 16:07:17 +05:30
hemanthmanga 187f9f5904 [Windows] Adding Dotnet latest version 9.0 (#10976) 2024-11-18 10:47:42 +01:00
github-actions[bot] 277110d088 Updating readme file for macos-13 version 20241108.324 (#10939)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-16 11:51:19 +00:00
susmitamane 5934916ad9 [MacOS] Remove node 16 from macos13 as per support policy. (#10952)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2024-11-15 22:27:47 -06:00
susmitamane d0d851b2c2 [MacOS] Remove python 3.9/3.10 from macos13-ARM64 and macos14-ARM64 due to dependencies issue. (#10951)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2024-11-15 22:27:15 -06:00
github-actions[bot] 67857a41a1 Updating readme file for win22 version 20241113.3.1 (#10974)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-16 02:38:18 +00:00
github-actions[bot] c27b1a395f Updating readme file for win19 version 20241113.3.1 (#10972)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-15 15:41:47 +00:00
hemanthmanga 56187189cf [Ubuntu 20 and 22] Removing Node.js version 16* (#10975) 2024-11-15 07:48:25 -07:00
github-actions[bot] a56a1d3dc7 Updating readme file for ubuntu22 version 20241112.1.1 (#10961)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-15 07:47:32 -07:00
sarathrajsrinivasan 5cd2ef1b0a [macOS] Pin version for tcl/tk and pkg-config (#10971) 2024-11-15 17:15:48 +05:30
github-actions[bot] 9b55b80556 Updating readme file for ubuntu24 version 20241112.1.1 (#10956)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-15 04:07:20 +00:00
sarathrajsrinivasan d29e71f0c5 [macOS] Add Xcode16 back to macOS14 images (#10962) 2024-11-13 16:22:42 -06:00
kishorekumar-anchala 918263378c [Windows] Update WDK,SDK to latest version on windows 22 image and AzCli signature. (#10945)
* Update WDK and SDK to latest version

* update comment on bisual studio script

* Fix Azcli signature mismatch

* Removed VS Components
2024-11-13 13:09:50 -07:00
github-actions[bot] e96b8f37d5 Updating readme file for macos-14-arm64 version 20241108.442 (#10940)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-13 17:43:32 +00:00
github-actions[bot] ccbc0f9b26 Updating readme file for macos-13-arm64 version 20241108.368 (#10937)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-13 17:29:06 +00:00
github-actions[bot] d43ea5c42a Updating readme file for macos-14 version 20241108.322 (#10938)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-13 16:18:42 +00:00
github-actions[bot] 5d604b9dc5 Updating readme file for ubuntu20 version 20241110.1.1 (#10948)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-13 14:48:42 +00:00
vidyasagarnimmagaddi 126e725070 [Windows] -VS-Signature update in Windows2019 and 2022 (#10957) 2024-11-13 07:05:10 -07:00
kishorekumar-anchala 23478d3106 Update Az-cli signature thumbprint (#10946) 2024-11-11 06:59:26 -07:00
kishorekumar-anchala 445bbb0d61 Edhedriver signature update (#10944) 2024-11-10 12:36:23 -07:00
sarathrajsrinivasan 6b5924aa06 [macOS] Add openssl@1.1 using old homebrew commit (#10935) 2024-11-08 13:13:31 -06:00
RaviAkshintala a070c8516f [Windows-Go]Updated the latest Go version 1.23 (#10919)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-11-08 09:05:54 -07:00
hemanthmanga 06e844f299 Adding Node.js latest version 22 (#10922)
Co-authored-by: Hemanth Manga <hemanthmanga@Hemanths-MacBook-Pro.local>
2024-11-08 09:04:42 -07:00
sureshe456 2be7150808 Merge pull request #10931 from github-maccloud/macos-openssl1.1-issue
Macos openssl1.1 issue
2024-11-08 18:07:19 +05:30
susmitamane 07f291cacf [MacOS] Add openssl@1.1 back. 2024-11-08 17:51:52 +05:30
sarathrajsrinivasan 0819844238 [macOS] Add openssl 1.1 back 2024-11-07 23:12:29 -06:00
sarathrajsrinivasan 5a82897b98 [macOS] Add openssl 1.1 back 2024-11-07 19:05:15 -06:00
sarathrajsrinivasan 84c4b32b94 [macOS] Add openssl 1.1 back 2024-11-07 19:02:19 -06:00
github-actions[bot] b4c921107c Updating readme file for win19 version 20241104.2.1 (#10903)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-07 13:39:30 +00:00
Prasanjit Sahoo 909878ffc5 Merge pull request #10908 from github-maccloud/macos-unxip-issue-sarath
[macOS] Add unxip for macOS13
2024-11-07 11:47:37 +05:30
vidyasagarnimmagaddi d3f705c429 [Windows] adding .Net Version 8 to Windows-2022 (#10913) 2024-11-06 14:56:01 -07:00
sarathrajsrinivasan adf6d83ab9 [macOS] Add unxip for macOS13 2024-11-06 13:21:07 -06:00
github-actions[bot] e74605cd6d Updating readme file for ubuntu24 version 20241103.1.1 (#10900)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-06 12:06:03 +00:00
github-actions[bot] c53958b30e Updating readme file for ubuntu22 version 20241103.1.1 (#10899)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-06 11:34:06 +00:00
github-actions[bot] 10abbce9e6 Updating readme file for ubuntu20 version 20241103.1.1 (#10898)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-11-06 11:33:46 +00:00
aartis17 32f3b67f86 [macOS]Add Xcode 16.2_beta_2 to macos15 (#10906) 2024-11-05 13:54:47 -06:00
Shamil Mubarakshin bf6ac0db93 [Ubuntu24] Update apt sources (#10804) 2024-11-04 07:28:58 -07:00
kishorekumar-anchala 2d27578911 Update new edge signature for ubuntu (#10890) 2024-11-04 06:25:16 -07:00
Shamil Mubarakshin a29761eb60 [ubuntu-24] Add nvm and gcloud cli (#10881) 2024-11-01 11:16:08 +01:00
sarathrajsrinivasan 2111b3e225 [macOS] Add Xcode 16.1 and 16.2 Beta 1 to macOS15 (#10880) 2024-10-31 11:05:54 -05:00
Erik Bershel 640581936d [doc] Update Xcode support policy (#10876) 2024-10-30 11:32:23 -05:00
Alexey-Ayupov 4d7c677f1c [macOS] Update android commandlinetools for macOS 15 (#10875) 2024-10-30 17:25:20 +01:00
Shamil Mubarakshin a8d59b2440 [Ubuntu24] Update pipx installation method (#10872) 2024-10-30 07:57:53 -06:00
kishorekumar-anchala a531b96b21 modified edge sign (#10867) 2024-10-28 22:56:27 -06:00
aartis17 ec00dd1a31 [macOS] toolset-14-updated support policy changes (#10834) 2024-10-28 20:19:52 -05:00
RaviAkshintala 24b91c995e Adding Windows sdk ltest version 26100 (#10862)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-10-28 10:12:30 -06:00
github-actions[bot] a1633b0193 Updating readme file for macos-13 version 20241023.237 (#10850)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-26 14:12:41 +00:00
github-actions[bot] 02babd3573 Updating readme file for win22 version 20241021.1.1 (#10838)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-26 08:01:04 +00:00
sureshe456 422d7a028e Merge pull request #10832 from actions/releases/macos-13-arm64/20241021-docs
macOS 13 arm64 (20241021) Image Update
2024-10-25 19:53:04 +05:30
Actions service account e054e2bcdc Merge branch 'main' into releases/macos-13-arm64/20241021-docs 2024-10-25 13:08:40 +00:00
github-actions[bot] fbbb9d7303 Updating readme file for win19 version 20241021.1.1 (#10839)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-10-25 07:06:50 -06:00
Actions service account 83a93373e6 Merge branch 'main' into releases/macos-13-arm64/20241021-docs 2024-10-25 13:03:10 +00:00
Erik Bershel 1136c0f644 [macOS] Update disk space Pester test: current target - 30 GB (#10854) 2024-10-24 11:55:22 +02:00
sarathrajsrinivasan d4872d4c2e [macOS] Update openssl from 1.1 to 3 (#10851) 2024-10-24 11:44:06 +02:00
hemanthmanga 4c67970f91 [Ubuntu] Adding latest Node.js version 22* . (#10811) 2024-10-23 17:43:46 +02:00
Erik Bershel f1bf50f507 [actions] Use latest SYFT on macOS/Ubuntu; provide useful run-name (#10833) 2024-10-23 12:01:43 +02:00
sureshe456 e38398ad37 Merge pull request #10841 from actions/releases/macos-15-arm64/20241022-docs
macOS 15 arm64 (20241022) Image Update
2024-10-23 10:37:50 +05:30
sureshe456 25f1053fed Merge pull request #10842 from actions/releases/macos-15/20241022-docs
macOS 15 (20241022) Image Update
2024-10-23 10:33:56 +05:30
sureshe456 6a79f14748 Merge pull request #10845 from actions/releases/macos-14-arm64/20241022-docs
macOS 14 arm64 (20241022) Image Update
2024-10-23 10:29:39 +05:30
sureshe456 fb37f140d8 Merge pull request #10844 from actions/releases/macos-14/20241022-docs
macOS 14 (20241022) Image Update
2024-10-23 10:24:48 +05:30
Image generation service account. 7b927d9898 Updating readme file for macos-14-arm64 version 20241022.361 2024-10-23 01:03:26 +00:00
Image generation service account. c6a4b16561 Updating readme file for macos-14 version 20241022.254 2024-10-22 23:00:41 +00:00
Image generation service account. fc001c0493 Updating readme file for macos-15 version 20241022.244 2024-10-22 22:21:07 +00:00
Image generation service account. 949eeedc32 Updating readme file for macos-15-arm64 version 20241022.250 2024-10-22 22:19:30 +00:00
sureshe456 4a0b4ab1fb [macOS] Replace Xcode 16.1_beta_3 with Xcode 16.1 RC on macOS-14 and macOS-15 (#10836) 2024-10-22 09:14:47 -05:00
github-actions[bot] e2b01435e8 Updating readme file for macos-14 version 20241014.202 (#10779)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-22 11:19:30 +00:00
Image generation service account. b03e99b0d2 Updating readme file for macos-13-arm64 version 20241021.263 2024-10-22 00:47:23 +00:00
RaviAkshintala 0077a0756a [Windows] Signature thumbprint updated for the edgedriver (#10829)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-10-22 02:18:56 +05:30
github-actions[bot] 0136427b07 Updating readme file for win19 version 20241015.1.1 (#10799)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-21 14:01:05 +00:00
github-actions[bot] 954995809e Updating readme file for macos-14-arm64 version 20241014.301 (#10805)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-21 06:25:18 +00:00
github-actions[bot] fcc4cdb1d0 Updating readme file for win22 version 20241015.1.1 (#10803)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-20 12:05:53 +00:00
github-actions[bot] 2997ec866b Updating readme file for ubuntu24 version 20241016.1.1 (#10800)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-20 03:34:02 +00:00
github-actions[bot] a177c07699 Updating readme file for ubuntu22 version 20241015.1.1 (#10801)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-20 03:33:22 +00:00
Erik Bershel 3fbcce7888 [macOS] Add Node 22 to the toolcache (#10809) 2024-10-18 17:15:01 +02:00
hemanthmanga c152328e5a Removing Node version 16 (#10808)
Co-authored-by: Hemanth Manga <hemanthmanga@Hemanths-MacBook-Pro.local>
2024-10-18 01:38:42 +05:30
Larissa Fortuna e065c9ac28 [doc] Rollback ubuntu-latest label to ubuntu-22 (#10807) 2024-10-17 17:38:14 +02:00
github-actions[bot] 011a640c94 Updating readme file for macos-15-arm64 version 20241014.193 (#10776)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-16 17:07:50 +00:00
github-actions[bot] f08266d9d0 Updating readme file for macos-13-arm64 version 20241014.218 (#10775)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-16 17:01:50 +00:00
github-actions[bot] b3b23d5faa Updating readme file for macos-15 version 20241014.202 (#10777)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-16 15:29:21 +00:00
Subir Ghosh f3ad9cadef fix:Allow pip to install packages in default env (#10794) 2024-10-16 15:07:29 +05:30
Alexey-Ayupov 499aa8a821 [Ubuntu, Windows] Add RUNNER_TOOL_CACHE environment variable (#10780) 2024-10-15 12:18:57 +02:00
susmitamane c6ea5e3564 [macOS] Add-python-3.13 (#10766)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2024-10-11 12:04:45 -05:00
RaviAkshintala 9b4274cda9 Go version 1.23 Added and set as default version (#10763)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-10-11 18:14:17 +05:30
github-actions[bot] 6becb4037c Updating readme file for macos-13-arm64 version 20241008.189 (#10750)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-11 05:54:14 +00:00
github-actions[bot] 58e54334b0 Updating readme file for macos-13 version 20241008.186 (#10751)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-11 04:40:57 +00:00
RaviAkshintala dae0f77971 Removing Go version 1.20 (#10761)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-10-10 22:39:22 +05:30
sureshe456 1838f0f3dc [macOS] Add Xcode 16.1 Beta 3 to macOS14 and macOS15 (#10762) 2024-10-10 10:39:25 -05:00
github-actions[bot] 75f145b104 Updating readme file for macos-14-arm64 version 20241007.259 (#10740)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 20:49:32 +00:00
github-actions[bot] 09ff567de6 Updating readme file for win22 version 20241006.1.1 (#10744)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 19:59:02 +00:00
github-actions[bot] 7ca41de8b8 Updating readme file for macos-14 version 20241007.165 (#10741)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 19:51:29 +00:00
github-actions[bot] bd333c6236 Updating readme file for ubuntu24 version 20241006.1.1 (#10743)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 15:39:06 +00:00
github-actions[bot] dfca60f766 Updating readme file for ubuntu22 version 20241006.1.1 (#10742)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 15:07:22 +00:00
github-actions[bot] 948c9e2df6 Updating readme file for macos-15-arm64 version 20241007.159 (#10737)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 13:51:03 +00:00
github-actions[bot] 3e37de50ef Updating readme file for ubuntu20 version 20241006.1.1 (#10738)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 11:36:23 +00:00
vidyasagarnimmagaddi 2cb9b917c5 [Windows] Fix Visual Studio signature issue for windows 2022 (#10754) 2024-10-09 16:43:15 +05:30
Erik Bershel 52279a9048 [macOS] Add Xcode symlinks to the Software Report (#10736) 2024-10-09 12:54:34 +02:00
github-actions[bot] 20de906028 Updating readme file for win19 version 20241006.1.1 (#10745)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 10:46:52 +00:00
github-actions[bot] 1229dfcf19 Updating readme file for macos-15 version 20241007.173 (#10739)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-09 09:59:05 +00:00
sarathrajsrinivasan 2889cfe878 [macOS] Add tcl-tk to macOS13 and macOS14 (#10735) 2024-10-08 10:25:07 +02:00
Erik Bershel 59b3801509 [doc] Mark macOS-12 as deprecated (#10732) 2024-10-07 16:56:32 +02:00
susmitamane 6d85c4873e [macOS] Deprecating go 1.20 & NDK 24,25 from macos 13,14 images. (#10719)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2024-10-03 08:43:47 -05:00
github-actions[bot] 7bf4ada29d Updating readme file for macos-13-arm64 version 20240930.145 (#10706)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-03 06:42:12 +00:00
github-actions[bot] 768c456091 Updating readme file for macos-14 version 20240930.130 (#10708)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-03 05:55:59 +00:00
github-actions[bot] 7256777a6b Updating readme file for macos-13 version 20240930.147 (#10707)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-03 05:34:28 +00:00
github-actions[bot] 2e94c1de50 Updating readme file for win22 version 20240929.1.1 (#10704)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-02 17:20:51 +00:00
sarathrajsrinivasan fdbe51d78c [macOS] Fix automationmodetool and loginwindow issue for macOS14.7 (#10684) 2024-10-02 09:38:03 -05:00
github-actions[bot] 0a7abf330f Updating readme file for macos-15-arm64 version 20240930.135 (#10711)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-02 11:32:27 +00:00
github-actions[bot] f251d50781 Updating readme file for macos-15 version 20240930.153 (#10709)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-10-02 09:57:08 +00:00
vidyasagarnimmagaddi 22a8b4c4ac updated baseurl to get the mingw32 and mingw64 releases (#10713) 2024-10-01 21:26:59 +05:30
Erik Bershel 6fc0ca1a91 [macOS] [doc] Update macos-15-arm64 readme to the current version (#10710) 2024-10-01 13:58:47 +02:00
sarathrajsrinivasan 740ab068bc [macOS] Install packer using tap (#10696) 2024-09-30 12:36:39 +02:00
루밀LuMir 01d5873a78 [doc] Fix typo in README.md (#10689) 2024-09-30 10:30:36 +02:00
github-actions[bot] bd90e1a113 Updating readme file for macos-12 version 20240926.174 (#10695)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-30 07:02:15 +00:00
github-actions[bot] e7648fd6a7 Updating readme file for macos-13 version 20240923.120 (#10670)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-28 20:35:33 +00:00
Erik Bershel 8726158fca [macOS] Disable removing default Xcode CLT for macOS-15 (#10691) 2024-09-27 01:04:25 +02:00
Erik Bershel 2fea25d02d [macOS] Recommended version of brew shellenv usage (#10660)
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-09-27 01:02:50 +02:00
github-actions[bot] 2661cfaa93 Updating readme file for win22 version 20240922.1.1 (#10668)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-26 15:15:00 +00:00
github-actions[bot] e3b97844e5 Updating readme file for macos-14-arm64 version 20240922.1 (#10666)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-26 05:29:17 +00:00
sarathrajsrinivasan ce5aa1950d [macOS] Add compilable brew packages for macOS12 (#10681) 2024-09-25 16:45:18 -05:00
ijunaidm ae99c16b0c Updating ubuntu24.04 image as ubuntu-latest (#10687)
Co-authored-by: Mohammed Junaid <mohammedjunaid@Mohammeds-MacBook-Pro.local>
2024-09-25 21:53:59 +05:30
Erik Bershel 78796bc109 [macOS] [doc] Introduce macOS-15 images (#10685) 2024-09-25 17:50:29 +02:00
github-actions[bot] 4d4477e04e Updating readme file for macos-13-arm64 version 20240923.116 (#10669)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-25 15:45:44 +00:00
github-actions[bot] 907fcf388b Updating readme file for macos-14 version 20240923.101 (#10673)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-25 15:07:03 +00:00
github-actions[bot] a52bed1b1a Updating readme file for ubuntu20 version 20240922.1.1 (#10674)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-25 13:31:27 +00:00
github-actions[bot] 6ba53090b0 Updating readme file for ubuntu22 version 20240922.1.1 (#10667)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-25 13:06:24 +00:00
github-actions[bot] 541dd995c8 Updating readme file for win19 version 20240922.1.1 (#10676)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-25 12:49:40 +00:00
github-actions[bot] 87d136e308 Updating readme file for ubuntu24 version 20240922.1.1 (#10672)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-09-25 11:16:49 +00:00
Erik Bershel 8a1eeaf6ac [macOS] Remove deprecated versions of .NET 7 and Android NDK 25 (#10659) 2024-09-21 14:01:48 +02:00
Erik Bershel d1db39831d [macOS] visionOS platform tools temporary removed from macOS-14 (#10652) 2024-09-20 16:06:42 +02:00
Erik Bershel 6e8c37cf52 [macOS] Update base image generation to work with Sequoia updates (#10651)
Co-authored-by: sarathrajsrinivasan <159180023+sarathrajsrinivasan@users.noreply.github.com>
2024-09-20 16:06:10 +02:00
github-actions[bot] 8ffffdb49d Updating readme file for macos-14-arm64 version 20240918.8 (#10647)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-20 08:57:21 +00:00
github-actions[bot] 3fbc297071 Updating readme file for macos-14 version 20240918.7 (#10645)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-20 03:25:15 +00:00
Erik Bershel 79c735b9fc [doc] Change Ubuntu-24.04 status: beta -> GA (#10653) 2024-09-20 01:49:14 +05:30
github-actions[bot] 8813e2b6e9 Updating readme file for macos-12 version 20240916.115 (#10630)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-19 06:50:34 +00:00
github-actions[bot] 255206eaeb Updating readme file for ubuntu20 version 20240915.1.1 (#10628)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-19 02:55:51 +00:00
github-actions[bot] 5809cd0f4d Updating readme file for ubuntu22 version 20240915.1.1 (#10627)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-19 02:55:18 +00:00
github-actions[bot] 96520bb192 Updating readme file for macos-14-arm64 version 20240915.3 (#10622)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 22:49:52 +00:00
Erik Bershel 39297c5658 [macOS] Fix for Homebrew shellenv bug to unlock PATH (#10642)
* [macOS] Fix for Homebrew shellenv bug to unlock PATH
* Add Homebrew default PATH back to bashrc
2024-09-18 15:49:04 -05:00
github-actions[bot] 85fbeaef9b Updating readme file for macos-13-arm64 version 20240916.74 (#10620)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 19:01:11 +00:00
github-actions[bot] 495fd51951 Updating readme file for macos-14 version 20240915.2 (#10615)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 18:35:58 +00:00
github-actions[bot] f4ba5c5cbc Updating readme file for win22 version 20240915.1.1 (#10619)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 18:32:01 +00:00
github-actions[bot] feebb05e11 Updating readme file for ubuntu24 version 20240915.1.1 (#10626)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 18:28:04 +00:00
github-actions[bot] 8e0eb613ac Updating readme file for macos-13 version 20240916.98 (#10623)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 17:53:43 +00:00
Erik Bershel 29e053ac38 [macOS] Rm Python 3.9/3.10 from macOS-15-arm64 due to dependencies mismatch (#10639) 2024-09-18 17:30:42 +02:00
Erik Bershel 8bbd828014 [macOS] Update Xcode 16.1 to Beta 2 on macOS-14 and macOS-15 (#10638) 2024-09-18 17:30:07 +02:00
Shamil Mubarakshin fd6c45b8e8 [CI] Update job conditions for GitHub CI workflows (#10641) 2024-09-18 16:42:09 +02:00
github-actions[bot] 5d31cfb3b9 Updating readme file for win19 version 20240915.1.1 (#10618)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-18 14:37:41 +00:00
kishorekumar-anchala 75ba3f22d0 ubuntu20 swift failire (#10634) 2024-09-18 03:11:29 +05:30
sarathrajsrinivasan cd07f9077f [macOS] Replace Xcode 16 RC with Xcode 16.0 on macOS-14 and macOS-15 (#10635) 2024-09-17 21:40:51 +02:00
Erik Bershel 370d12f1b6 [macOS] Workaround issue with Xamarin Pester tests discovery (#10633) 2024-09-17 17:55:00 +02:00
github-actions[bot] ce2a3e8e67 Updating readme file for macos-14-arm64 version 20240911.3 (#10603)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-14 18:22:53 +00:00
github-actions[bot] 71f35314bc Updating readme file for win22 version 20240912.1.1 (#10608)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-14 09:29:24 +00:00
Erik Bershel ba7e034f05 [macOS] Update Xcode 16.0 to RC1 on macOS-15 (#10586) 2024-09-13 14:24:42 +02:00
github-actions[bot] 6774220762 Updating readme file for ubuntu22 version 20240908.1.1 (#10574)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-13 03:53:40 +00:00
github-actions[bot] 0d40609330 Updating readme file for macos-12 version 20240908.1 (#10588)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-13 01:21:23 +00:00
github-actions[bot] d805d2e921 Updating readme file for win19 version 20240908.1.1 (#10579)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-12 23:07:40 +00:00
github-actions[bot] a142edbae6 Updating readme file for win22 version 20240908.1.1 (#10572)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-12 22:27:54 +00:00
github-actions[bot] a68ad81fbe Updating readme file for ubuntu24 version 20240908.1.1 (#10570)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-12 22:16:52 +00:00
github-actions[bot] bfff5e5a70 Updating readme file for ubuntu20 version 20240908.1.1 (#10569)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-12 21:55:47 +00:00
sarathrajsrinivasan 5954f76a9b [macOS] Clean up Homebrew downloads folder (#10600) 2024-09-12 22:43:15 +02:00
hemanthmanga ea8a7a8f01 Adding MsEdge in ubuntu-24 (#10597) 2024-09-13 01:14:17 +05:30
github-actions[bot] 20fb902d6b Updating readme file for macos-13-arm64 version 20240909.59 (#10585)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-12 12:04:18 +00:00
github-actions[bot] 255fffd021 Updating readme file for macos-13 version 20240908.1 (#10581)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-11 21:58:25 +00:00
susmitamane d2f9756b6e Add NDK 27 (#10522)
Co-authored-by: Susmita Mane <susmitamane@Susmitas-MacBook-Pro.local>
2024-09-11 16:12:54 -05:00
susmitamane 46a8dee561 [macOS] Add Go 1.23 (#10526) 2024-09-11 23:03:59 +02:00
susmitamane 54e686be61 [macOS] Add Ruby versions 3.2, 3.3. (#10525) 2024-09-11 23:03:34 +02:00
ijunaidm b60b7ab30f Add firefox to Ubuntu24.04 image (#10589)
Co-authored-by: Mohammed Junaid <mohammedjunaid@Mohammeds-MacBook-Pro.local>
2024-09-12 01:43:36 +05:30
github-actions[bot] ff9acc6401 Updating readme file for macos-14 version 20240908.1 (#10576)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-11 14:29:02 +00:00
Erik Bershel 72f6dfe786 [macOS] Increase base disk size by 25 GB (#10594) 2024-09-11 16:17:52 +02:00
kishorekumar-anchala 5e9605c7dc Fix vs signature issue (#10593) 2024-09-11 17:50:40 +05:30
kishorekumar-anchala c7adf5d533 add swift version to ubuntu 24 (#10578) 2024-09-10 21:23:10 +05:30
Erik Bershel 27738cad72 [macOS] Update Xcode 16.0 to RC1 on macOS-14 (#10584) 2024-09-10 13:42:16 +02:00
RaviAkshintala e01c839141 go version 1.20 removed and 1.23 added (#10580)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-09-10 16:45:51 +05:30
github-actions[bot] 8cdc506384 Updating readme file for macos-14-arm64 version 20240903.5 (#10551)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-06 15:25:58 +00:00
github-actions[bot] 74ebd60101 Updating readme file for macos-12 version 20240901.2 (#10548)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-06 07:07:41 +00:00
github-actions[bot] 49d5ab6422 Updating readme file for macos-13-arm64 version 20240901.2 (#10542)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 21:04:18 +00:00
github-actions[bot] 31e868eebe Updating readme file for macos-14 version 20240902.6 (#10543)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 20:53:24 +00:00
github-actions[bot] 14915191c7 Updating readme file for macos-13 version 20240901.3 (#10541)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 20:16:55 +00:00
Erik Bershel a1f7f1a10a [macOS] Software report - Remove redundant info, fix bug with empty runtimes for Xcode (#10513) 2024-09-05 12:19:58 +02:00
github-actions[bot] 2c7fe0021a Updating readme file for win22 version 20240902.1.1 (#10537)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 08:32:52 +00:00
github-actions[bot] 2ff0f1047a Updating readme file for ubuntu22 version 20240901.1.1 (#10534)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 07:26:54 +00:00
github-actions[bot] 2bb8be665c Updating readme file for ubuntu20 version 20240901.1.1 (#10532)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 06:45:39 +00:00
github-actions[bot] b0c4ef1a6b Updating readme file for win19 version 20240902.1.1 (#10536)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-05 03:17:53 +00:00
Erik Bershel 07e13e5cc9 [macOS] Update initial macOS-15 Xcode setup (#10554) 2024-09-05 00:05:08 +02:00
RaviAkshintala 24a8fbaf58 signature updated for the azure-cli (#10549)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-09-04 21:12:01 +05:30
github-actions[bot] e85a3666bf Updating readme file for ubuntu24 version 20240901.1.1 (#10527)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-09-04 11:43:29 +00:00
Erik Bershel 3926b864c3 [macOS] Update free space test condition to 14 GB (#10546) 2024-09-03 22:58:36 +02:00
ijunaidm 89f5712cad Add Packer tool to Ubuntu24.04 image (#10545)
Co-authored-by: Mohammed Junaid <mohammedjunaid@Mohammeds-MacBook-Pro.local>
2024-09-04 01:10:52 +05:30
Erik Bershel ab15087979 [macOS] Introduce macOS-15 code (#10535)
Co-authored-by: Alexey-Ayupov <alexey-ayupov@github.com>
2024-09-03 18:45:06 +02:00
RaviAkshintala ff516bd145 signature updated for the azurecosmosdbemulator (#10521)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-09-02 16:39:46 +05:30
github-actions[bot] 12335f2cc4 Updating readme file for macos-14-arm64 version 20240827.4 (#10503)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-30 03:07:37 +00:00
github-actions[bot] d7c81d045c Updating readme file for macos-14 version 20240827.1 (#10502)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-30 02:36:34 +00:00
github-actions[bot] 891c2ed95c Updating readme file for win22 version 20240825.1.1 (#10490)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-29 16:35:52 +00:00
RaviAkshintala 16b7d80a46 signature updated for visual studio (#10507)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-08-29 20:44:03 +05:30
github-actions[bot] c9fc7f734c Updating readme file for ubuntu20 version 20240825.1.1 (#10494)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-29 05:26:34 +00:00
github-actions[bot] 0d632219e5 Updating readme file for ubuntu22 version 20240825.1.1 (#10492)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-29 05:20:29 +00:00
github-actions[bot] dda4a941d8 Updating readme file for macos-13-arm64 version 20240826.1 (#10496)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-29 01:47:33 +00:00
github-actions[bot] f778b762d5 Updating readme file for win19 version 20240825.1.1 (#10491)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-28 15:21:58 +00:00
github-actions[bot] 90ada9b0c4 Updating readme file for macos-12 version 20240825.1 (#10489)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-28 14:51:40 +00:00
github-actions[bot] a27aca91e5 Updating readme file for ubuntu24 version 20240825.1.1 (#10493)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-28 12:38:45 +00:00
github-actions[bot] 4e1b48a6c5 Updating readme file for macos-13 version 20240825.1 (#10488)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-28 11:45:44 +00:00
Prasanjit Sahoo dd3eec7374 [macOS] Update Xcode 16.0 to Beta 6 for macOS-14 (#10499) 2024-08-27 09:35:09 +02:00
Pavel Iakovenko d33c9005cc [macOS] Fix Chrome installer script which freezes VM (#10481) 2024-08-26 13:54:36 +02:00
Erik Bershel 23c98d86f0 [macOS] Remove stale code (#10430) 2024-08-26 13:54:01 +02:00
github-actions[bot] e5de19ba15 Updating readme file for macos-12 version 20240819.7 (#10473)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-25 09:17:23 +00:00
Prasanjit Sahoo d72a4523b1 [macOS] Adding Xcode 16.0 Beta 5 for macOS-14 back to the repository (#10467)
[macOS] Adding Xcode 16.0 Beta 5 back to macOS-14
2024-08-22 08:44:48 -05:00
github-actions[bot] 439ecfcfdb Updating readme file for macos-13 version 20240819.2 (#10462)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-22 06:15:34 +00:00
kishorekumar-anchala 12d52d247e wdk issu fix (#10475) 2024-08-22 01:30:50 +05:30
vidyasagarnimmagaddi f8049e323b adding_kotlin in ubuntu_24 (#10474) 2024-08-22 00:27:56 +05:30
github-actions[bot] 5ab121d559 Updating readme file for macos-14-arm64 version 20240818.4 (#10460)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 18:21:19 +00:00
github-actions[bot] cba7c41716 Updating readme file for macos-13-arm64 version 20240818.3 (#10457)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 18:15:04 +00:00
github-actions[bot] 564751b570 Updating readme file for macos-14 version 20240818.2 (#10459)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 18:00:07 +00:00
github-actions[bot] 192b5bd8ad Updating readme file for win19 version 20240818.1.1 (#10458)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 14:11:53 +00:00
github-actions[bot] 69f706a106 Updating readme file for ubuntu22 version 20240818.1.1 (#10456)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 12:16:47 +00:00
github-actions[bot] 17a8ea14ac Updating readme file for ubuntu20 version 20240818.1.1 (#10455)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 11:52:24 +00:00
github-actions[bot] 36cf63a735 Updating readme file for ubuntu24 version 20240818.1.1 (#10454)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-21 11:36:54 +00:00
Pavel Iakovenko 0a285c2031 [macOS] Use API PAT for downloading actions/cache (#10463) 2024-08-20 15:44:22 +02:00
Pavel Iakovenko 1eae5baec1 [macOS] Treat github-api-pat as sensitive variable (#10453) 2024-08-19 20:00:28 +02:00
sarathrajsrinivasan c634b8cd67 [macOS] Add parallels kernel extension to macOS13 and macOS14 (#10238)
[macOS] Add parallels kernel extension to macOS13 and macOS14
2024-08-19 08:57:44 -05:00
kishorekumar-anchala 59a0b3727b Toolcache Android NDK versions <=25 will be removed from images (#10440) 2024-08-16 16:06:47 +05:30
github-actions[bot] 4e6e715037 Updating readme file for macos-12 version 20240811.1 (#10429)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-15 06:41:17 +00:00
github-actions[bot] 197b995b2d Updating readme file for macos-14 version 20240811.3 (#10431)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-15 06:01:37 +00:00
sarathrajsrinivasan 9bf0388ef2 [macOS] Add Xcode 16.1 Beta for macOS14 (#10439) 2024-08-14 14:03:24 -05:00
github-actions[bot] b8153b8d01 Updating readme file for win19 version 20240811.1.1 (#10427)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 11:29:27 +00:00
github-actions[bot] db2a58f0e3 Updating readme file for win22 version 20240811.1.1 (#10425)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 11:05:02 +00:00
github-actions[bot] eec55f72c9 Updating readme file for ubuntu22 version 20240811.1.1 (#10424)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 10:59:08 +00:00
github-actions[bot] 1388aca8a3 Updating readme file for ubuntu20 version 20240811.1.1 (#10426)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 10:58:14 +00:00
github-actions[bot] cebb2a1884 Updating readme file for macos-14-arm64 version 20240811.1 (#10421)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 10:37:07 +00:00
github-actions[bot] 474b80c589 Updating readme file for macos-13-arm64 version 20240811.1 (#10420)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 09:00:20 +00:00
github-actions[bot] 85fb533e05 Updating readme file for macos-13 version 20240811.1 (#10422)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-14 08:11:35 +00:00
kishorekumar-anchala cc117fb31b fix gitversion.portable version to latest (#10435) 2024-08-13 21:48:19 +05:30
github-actions[bot] 30802498d6 Updating readme file for ubuntu24 version 20240811.1.1 (#10423)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-08-13 14:11:21 +00:00
github-actions[bot] 5e6cc3155d Updating readme file for win22 version 20240807.2.1 (#10412)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-10 12:05:54 +05:30
ijunaidm 07692c0033 Updated the AzPowershell module version Ubuntu images (#10418)
* Update toolset-2004.json

* Update toolset-2204.json

* Update toolset-2404.json
2024-08-10 12:05:31 +05:30
hemanthmanga 8795612730 Updating AzurecosmoDB checksum and Removing m2repositry in AndriodSDK (#10415) 2024-08-09 17:14:49 +05:30
Erik Bershel 22143c7c68 [macOS] Remove macOS-11 related code due to the deprecation (#10383) 2024-08-09 11:25:15 +02:00
sarathrajsrinivasan 88cb1bef47 Merge pull request #10404 from sarathrajsrinivasan/macos-remove-gcc11
[macOS] Remove gcc11 from all macOS images
2024-08-08 17:32:27 -07:00
Sarathraj Srinivasan d485ae12fe [macOS] Remove gcc11 from all macOS images
[macOS] Remove gcc11 from all macOS images

Update toolset-13.json
2024-08-08 09:54:00 -05:00
sarathrajsrinivasan e48c7949fd Merge pull request #10408 from prasanjitsahoo/prasanjit-macos-14-add-xcode-16-beta-5
[macOS] Update Xcode 16.0 to Beta 5 for macOS-14
2024-08-08 07:23:45 -07:00
Prasanjit Sahoo c49ee7347c Add Xcode 16.0 Beta 5 for macOS14
Update toolset-14.json

xcode 16.0 beta 5 updated

Update toolset-14.json

Update toolset-14.json

Update toolset-14.json
2024-08-08 08:53:25 -05:00
Erik Bershel 7992e24b69 [macOS] Unlock Cargo crate dependencies due to a bug (#10390) 2024-08-08 11:24:37 +02:00
github-actions[bot] 8aec741c90 Updating readme file for ubuntu22 version 20240804.1.1 (#10392)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-08 14:17:44 +05:30
github-actions[bot] 3a24d66b9e Updating readme file for macos-14-arm64 version 20240805.3 (#10397)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-08 06:56:56 +00:00
github-actions[bot] 551ccc0fb1 Updating readme file for macos-13 version 20240805.3 (#10400)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-08 06:05:08 +00:00
RaviAkshintala 7665ed4ef9 removing the docker composev1 (#10407)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-08-08 10:07:02 +05:30
github-actions[bot] c31eef93ac Updating readme file for macos-13-arm64 version 20240804.1 (#10389)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-07 15:32:11 +00:00
github-actions[bot] 37e8b599ee Updating readme file for macos-14 version 20240804.1 (#10388)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-07 15:02:51 +00:00
hemanthmanga f404404643 Updated Thumbprint for Az-cli and Geckodriver (#10405) 2024-08-07 18:55:29 +05:30
github-actions[bot] 4b55f4683f Updating readme file for ubuntu20 version 20240804.1.1 (#10391)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-07 12:29:32 +00:00
github-actions[bot] 3300770426 Updating readme file for ubuntu24 version 20240804.1.1 (#10393)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-07 12:01:30 +00:00
ijunaidm 7636fd53b9 Updated the AzPowershell module version (#10395)
Co-authored-by: Mohammed Junaid <mohammedjunaid@Mohammeds-MacBook-Pro.local>
2024-08-06 17:41:19 +05:30
github-actions[bot] 2a4bc14da4 Updating readme file for ubuntu22 version 20240730.2.1 (#10376)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-02 14:25:52 +00:00
github-actions[bot] 0f88c4231d Updating readme file for win19 version 20240730.1.1 (#10372)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-02 13:42:15 +00:00
github-actions[bot] a54473db52 Updating readme file for ubuntu20 version 20240730.2.1 (#10375)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-02 13:37:35 +00:00
github-actions[bot] d935940e99 Updating readme file for macos-14-arm64 version 20240728.1 (#10360)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-01 23:55:48 +00:00
github-actions[bot] d46f62f273 Updating readme file for win22 version 20240729.2.1 (#10367)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-01 21:23:00 +00:00
github-actions[bot] 9a08ad80ee Updating readme file for ubuntu24 version 20240730.3.1 (#10371)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-08-01 21:14:05 +00:00
sarathrajsrinivasan e15a279ed8 Merge pull request #10365 from actions/releases/macos-13-arm64/20240728-docs
macOS 13 arm64 (20240728) Image Update
2024-08-01 08:59:14 -07:00
Actions service account 869f895d83 Merge branch 'main' into releases/macos-13-arm64/20240728-docs 2024-08-01 15:53:47 +00:00
sarathrajsrinivasan 051836e832 Merge pull request #10364 from actions/releases/macos-13/20240728-docs
macOS 13 (20240728) Image Update
2024-08-01 08:23:00 -07:00
Actions service account 7fa790a939 Merge branch 'main' into releases/macos-13/20240728-docs 2024-08-01 15:20:44 +00:00
sarathrajsrinivasan e89c1a6d09 Merge pull request #10359 from actions/releases/macos-14/20240728-docs
macOS 14 (20240728) Image Update
2024-08-01 07:16:22 -07:00
Actions service account 295e649465 Merge branch 'main' into releases/macos-14/20240728-docs 2024-08-01 14:13:59 +00:00
Enes Çakır da684ca6d2 [Ubuntu] Make brew version check consistent (#10369)
`Tools.Tests.ps1` checks the version of `brew` with `--version` argument.

```powershell
    Describe "Homebrew" {
    It "homebrew" {
        "/home/linuxbrew/.linuxbrew/bin/brew --version" | Should -ReturnZeroExitCode
    }
}
```

`SoftwareReport.Common.psm1` checks it with `-v` argument.

```powershell
    function Get-HomebrewVersion {
        $result = Get-CommandResult "/home/linuxbrew/.linuxbrew/bin/brew -v"
        $result.Output -match "Homebrew (?<version>\d+\.\d+\.\d+)" | Out-Null
        return $Matches.version
    }
```

Generally, `--version` and `-v` are equivalent. But a recent bug in `brew` makes `-v` returns the output of `brew help`.

https://github.com/Homebrew/brew/pull/17903

It's best to maintain consistency in version checks and explicitly use `--version` in both places.
2024-07-30 22:41:12 +05:30
kishorekumar-anchala 582bbb9c15 [Ubuntu] Deprecating docker compose v1 from ubuntu images (#10368)
* Deprecating docker compose v1 from un=buntu images

* Pin sql version for win-19
2024-07-30 21:38:05 +05:30
kishorekumar-anchala 137d0ed83d Pin sql version for win-19 (#10366) 2024-07-30 16:03:15 +05:30
Shamil Mubarakshin 1850dfc713 Add AllowedInboundIpAddresses parameter to build-image.ps1 (#10362) 2024-07-30 11:19:59 +02:00
kishorekumar-anchala c110803508 Pinned the version of gitversion (#10363) 2024-07-30 14:05:45 +05:30
Image generation service account. 7a96efa872 Updating readme file for macos-13-arm64 version 20240728.2 2024-07-30 08:08:44 +00:00
Image generation service account. 3b1c7f3c1d Updating readme file for macos-13 version 20240728.2 2024-07-30 08:08:02 +00:00
kishorekumar-anchala 325094ef86 Revert "add warump script for az cli (#10126)" (#10361)
This reverts commit fcf7cd18d4.
2024-07-29 18:12:33 +05:30
Image generation service account. f4cc7331d9 Updating readme file for macos-14 version 20240728.1 2024-07-29 10:52:19 +00:00
kishorekumar-anchala fcf7cd18d4 add warump script for az cli (#10126) 2024-07-29 15:16:32 +05:30
kishorekumar-anchala cbea23f931 [Ubuntu,Windows] add Android NDK 27 version to images (#10343)
* add ndk 27 version to images

* add ndk 27 version to images1
2024-07-29 14:28:29 +05:30
github-actions[bot] c7276710b3 Updating readme file for macos-12 version 20240721.1 (#10322)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-27 00:25:51 +00:00
kishorekumar-anchala 24a5edcdc8 fix rust issue (#10354) 2024-07-27 01:04:26 +05:30
kishorekumar-anchala e72f29bfc8 Fix vs22 signature issue (#10351) 2024-07-26 17:24:23 +05:30
sarathrajsrinivasan fbd6c33be3 [macOS] Add Xcode 16.0 Beta 4 for macOS14 (#10345) 2024-07-26 10:45:45 +02:00
github-actions[bot] a89507e2af Updating readme file for macos-14-arm64 version 20240722.3 (#10334)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-25 16:54:38 +00:00
github-actions[bot] cea9d0e0d1 Updating readme file for macos-14 version 20240722.3 (#10330)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-25 13:49:17 +00:00
github-actions[bot] abe90c1619 Updating readme file for win22 version 20240721.1.1 (#10325)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 23:31:20 +00:00
github-actions[bot] a74e63c6b1 Updating readme file for macos-13-arm64 version 20240721.1 (#10316)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 20:12:28 +00:00
github-actions[bot] d7ed5cb7b0 Updating readme file for macos-13 version 20240721.3 (#10328)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 19:01:34 +00:00
github-actions[bot] 00959b266e Updating readme file for ubuntu22 version 20240721.1.1 (#10324)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 13:44:28 +00:00
github-actions[bot] 36ab778536 Updating readme file for ubuntu20 version 20240721.1.1 (#10323)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 11:52:58 +00:00
github-actions[bot] e088ddba06 Updating readme file for ubuntu24 version 20240721.1.1 (#10317)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 11:39:25 +00:00
github-actions[bot] 49f0b7160b Updating readme file for win19 version 20240721.1.1 (#10326)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-24 11:34:46 +00:00
sarathrajsrinivasan e9e763c49f [macOS] Add Xcode 16.0 Beta 3 for macOS14 (#10245) 2024-07-23 11:29:45 +02:00
github-actions[bot] ab8dfc0eb3 Updating readme file for win19 version 20240717.1.1 (#10310)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-20 05:31:06 +00:00
Pavel Iakovenko 27049a3aff Merge pull request #10308 from paveliak/fix-xcode-16-naming
[macOS] Fix Xcode-16 naming on macOS-14
2024-07-19 04:12:10 -07:00
github-actions[bot] 23da668261 Updating readme file for macos-12 version 20240714.2 (#10239)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-18 14:25:20 +00:00
sarathrajsrinivasan 0478e791c7 Merge pull request #10241 from sarathrajsrinivasan/macos-update-xcode-15.4
[macOS] Update Xcode default to 15.4 for macos-14
2024-07-18 07:03:13 -07:00
Pavel Iakovenko aa5ca17eac Revert debug changes 2024-07-18 08:12:10 -04:00
Pavel Iakovenko b3cdd45273 Align Xcode-16 naming with Apple download links 2024-07-18 08:10:55 -04:00
github-actions[bot] b4b64341d6 Updating readme file for macos-14-arm64 version 20240714.2 (#10234)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 16:40:23 +00:00
github-actions[bot] 8506dfcb6d Updating readme file for macos-13-arm64 version 20240714.1 (#10228)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 16:29:42 +00:00
github-actions[bot] 9f23838ebe Updating readme file for macos-14 version 20240714.2 (#10233)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 15:57:25 +00:00
github-actions[bot] 23541a17f0 Updating readme file for macos-13 version 20240714.1 (#10227)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 15:53:49 +00:00
sarathrajsrinivasan 11acc8af1b Merge branch 'actions:main' into macos-update-xcode-15.4 2024-07-17 08:15:24 -07:00
github-actions[bot] c2c7c501c8 Updating readme file for ubuntu22 version 20240714.1.1 (#10232)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 15:09:53 +00:00
github-actions[bot] 380b0afd7e Updating readme file for ubuntu24 version 20240714.1.1 (#10230)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 13:31:05 +00:00
github-actions[bot] 4ac220f584 Updating readme file for ubuntu20 version 20240714.1.1 (#10235)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 13:11:10 +00:00
github-actions[bot] eafe328b90 Updating readme file for win22 version 20240714.1.1 (#10229)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-17 12:14:43 +00:00
kishorekumar-anchala 95c66e026c update google chrome signature (#10243) 2024-07-17 15:44:43 +05:30
sarathrajsrinivasan adead29f3f Update xcode default to 15.4 from 15.0.1 for macos14 2024-07-16 22:28:46 -05:00
Pavel Iakovenko ba50a5b1ca Merge branch 'actions:main' into main 2024-07-16 14:34:53 -07:00
Pavel Iakovenko fb0ca679f1 Merge pull request #10220 from paveliak/ssh-key-file-var
Switch null builder to the SSH password auth
2024-07-16 05:39:58 -07:00
Pavel Iakovenko a58d7b932e Add diagnostics to the install-powershell script 2024-07-15 09:37:58 -04:00
Pavel Iakovenko 284ffaacd7 Deleted wrong code 2024-07-12 16:55:10 -04:00
Pavel Iakovenko 0dbf1cb8a7 Switch to the password auth 2024-07-12 16:53:31 -04:00
github-actions[bot] d8dce39e5f Updating readme file for macos-12 version 20240707.1 (#10196)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-12 17:13:06 +00:00
Pavel Iakovenko 475cf36415 Introducing vm_key_file variable for SSH 2024-07-11 21:52:47 -04:00
github-actions[bot] 32fcc6a5f4 Updating readme file for macos-14-arm64 version 20240707.1 (#10194)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-11 12:37:26 +00:00
github-actions[bot] 79ef2c9407 Updating readme file for macos-13-arm64 version 20240708.1 (#10197)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-11 12:22:58 +00:00
github-actions[bot] 3dcb189d30 Updating readme file for macos-14 version 20240708.1 (#10195)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-11 11:46:34 +00:00
github-actions[bot] 6f8e340c85 Updating readme file for macos-13 version 20240707.2 (#10193)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-11 11:29:57 +00:00
github-actions[bot] 1b535372a0 Updating readme file for ubuntu22 version 20240708.1.1 (#10190)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-10 15:06:38 +00:00
sarathrajsrinivasan 0b21a6a13a Update xcode default to 15.2 from 15.0.1 for macos13 (#10210) 2024-07-10 17:03:21 +02:00
github-actions[bot] 06652839a7 Updating readme file for win22 version 20240707.1.1 (#10189)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-10 14:02:04 +00:00
github-actions[bot] e329995e52 Updating readme file for ubuntu20 version 20240708.1.1 (#10191)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-10 13:57:51 +00:00
github-actions[bot] bd17a26b42 Updating readme file for win19 version 20240707.1.1 (#10187)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-10 13:01:18 +00:00
github-actions[bot] 960e86ba13 Updating readme file for ubuntu24 version 20240707.1.1 (#10188)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-10 12:02:30 +00:00
RaviAkshintala 221efcbdc3 fix visual studio signature (#10205)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-07-10 12:22:50 +02:00
Alexey-Ayupov 315fbf0fc8 [macOS] Update macOS 11 documentation (#10198) 2024-07-10 11:22:59 +02:00
vidyasagarnimmagaddi 8e6b0c0d6d updated azcli signature (#10199) 2024-07-09 13:08:21 +02:00
RaviAkshintala 567d4a0ea4 adding alpine latest version (#10180)
Co-authored-by: Ravi Akshintala <raviakshintalagithub.com@Ravis-Laptop.local>
2024-07-08 17:20:44 +05:30
github-actions[bot] e81c4806fe Updating readme file for macos-13 version 20240630.1 (#10157)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-05 18:18:51 +00:00
github-actions[bot] b6bcbdc786 Updating readme file for macos-14-arm64 version 20240701.9 (#10161)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-05 07:21:39 +00:00
github-actions[bot] c5a9fa6ec5 Updating readme file for win22 version 20240630.1.1 (#10150)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 19:52:55 +00:00
github-actions[bot] ef57088246 Updating readme file for macos-13-arm64 version 20240701.1 (#10160)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 14:22:17 +00:00
github-actions[bot] bf3a13fe2a Updating readme file for ubuntu20 version 20240701.1.1 (#10163)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 13:42:15 +00:00
vidyasagarnimmagaddi ce75d8dd91 updated 3.2 version ruby version to ubuntu-20,22 (#10173) 2024-07-04 17:55:52 +05:30
vidyasagarnimmagaddi ada0348ea2 added ruby 3.2 version windows (#10172) 2024-07-04 17:55:27 +05:30
github-actions[bot] 7863994db8 Updating readme file for ubuntu22 version 20240630.1.1 (#10149)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 11:49:37 +00:00
github-actions[bot] 4ac3f5b277 Updating readme file for ubuntu24 version 20240630.1.1 (#10152)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 11:48:08 +00:00
github-actions[bot] ebeb608ce1 Updating readme file for win19 version 20240630.1.1 (#10151)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 11:27:52 +00:00
github-actions[bot] a4c4b159f0 Updating readme file for macos-14 version 20240701.1 (#10162)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-07-04 11:09:32 +00:00
ijunaidm 0ad636b824 Update Image Rollout Badges (#10170) 2024-07-03 20:52:00 +02:00
github-actions[bot] af2f67d1ad Updating readme file for macos-12 version 20240630.1 (#10156)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-07-03 16:56:02 +00:00
kishorekumar-anchala 0176ca6d78 fix openshift cli issue (#10153) 2024-07-01 22:26:57 +05:30
Erik Bershel 5eda352fd4 [macOS] Update Xcode 16.0 to Beta 2 for macOS-14 (#10141) 2024-07-01 10:56:32 +02:00
github-actions[bot] 5afe2ac2dc Updating readme file for macos-14-arm64 version 20240625.2 (#10131)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-30 05:56:24 +00:00
github-actions[bot] 773246ccf7 Updating readme file for ubuntu24 version 20240624.1.1 (#10124)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-29 16:40:06 +00:00
github-actions[bot] 734699ef61 Updating readme file for win22 version 20240624.1.1 (#10127)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-28 18:19:37 +00:00
github-actions[bot] ce0b29d20c Updating readme file for win19 version 20240624.1.1 (#10119)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-28 16:32:38 +00:00
github-actions[bot] ed7da973ff Updating readme file for ubuntu22 version 20240624.1.1 (#10125)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-28 16:10:05 +00:00
github-actions[bot] 71142e7053 Updating readme file for ubuntu20 version 20240624.2.1 (#10123)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-28 15:33:51 +00:00
kishorekumar-anchala 2927b0be95 [windows] Fix Cloud-Foundry signature (#10135) 2024-06-28 11:14:37 +02:00
github-actions[bot] e63e9ad701 Updating readme file for macos-12 version 20240623.1 (#10112)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-27 19:54:14 +00:00
github-actions[bot] d7a4be0267 Updating readme file for macos-13-arm64 version 20240624.1 (#10115)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-27 00:47:07 +00:00
github-actions[bot] d728101ace Updating readme file for macos-13 version 20240623.1 (#10117)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-26 23:18:51 +00:00
github-actions[bot] d31e0a18cb Updating readme file for macos-14 version 20240624.1 (#10116)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-26 16:29:55 +00:00
sarathrajsrinivasan b268f563f6 [macOS] Add gcc 14 (#10043) 2024-06-25 13:57:27 +02:00
Shamil Mubarakshin 62c1943b63 [Ubuntu20] Pin public_suffix gem to 5.1.1 (#10111)
* [Ubuntu20] Pin public_suffix gem to 5.1.1
2024-06-24 21:55:05 +02:00
github-actions[bot] c5c9a7cd7b Updating readme file for macos-13 version 20240616.1 (#10076)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-21 14:14:30 +00:00
github-actions[bot] bcf346f13b Updating readme file for win22 version 20240618.1.1 (#10096)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-21 12:14:19 +00:00
Shamil Mubarakshin 2813ee66cb Update Image Rollout Badges (#10100) 2024-06-20 17:52:59 +02:00
github-actions[bot] d31241d2c8 Updating readme file for macos-14-arm64 version 20240616.1 (#10078)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 23:26:16 +00:00
github-actions[bot] 8c3d5d9d09 Updating readme file for macos-12 version 20240617.1 (#10086)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 18:51:18 +00:00
github-actions[bot] e7f54bfde8 Updating readme file for macos-13-arm64 version 20240617.2 (#10081)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 17:20:15 +00:00
github-actions[bot] d6a35ea98b Updating readme file for macos-14 version 20240616.1 (#10077)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 16:28:40 +00:00
github-actions[bot] b7a8e5ca52 Updating readme file for ubuntu24 version 20240617.1.1 (#10084)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 14:59:11 +00:00
github-actions[bot] 3464b06c4c Updating readme file for ubuntu22 version 20240616.1.1 (#10082)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 14:39:16 +00:00
kishorekumar-anchala 4edcdf297d [windows] Fix Google Cloud CLI signature (#10092) 2024-06-19 16:09:56 +02:00
github-actions[bot] d0b14aa29e Updating readme file for ubuntu20 version 20240617.1.1 (#10080)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-19 11:32:20 +00:00
Shamil Mubarakshin 89d72011e0 [windows] Remove Visual Studio 2019 AzCopy component and fix signature (#10083) 2024-06-18 11:51:57 +02:00
Mikhail Koliada 3793317199 [Ubuntu] always install gfrotran (#10069) 2024-06-16 17:56:46 +02:00
Mikhail Koliada e85f1e429d Revert "[Ubuntu] disable apparmor (#10024)" (#10070)
This reverts commit 145c80df8d.
2024-06-14 15:38:24 +02:00
Mikhail Koliada 145c80df8d [Ubuntu] disable apparmor (#10024) 2024-06-14 08:57:12 +02:00
github-actions[bot] fb41178b75 Updating readme file for macos-14 version 20240612.5 (#10058)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
2024-06-13 17:50:27 +00:00
Erik Bershel ab07d6cc32 [macOS] Install Xcode 16 on macOS-14 Intel-based image without runtimes (#10057) 2024-06-13 11:23:38 +02:00
github-actions[bot] 3e33d65ff9 Updating readme file for macos-14-arm64 version 20240611.1 (#10047)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-13 01:57:57 +00:00
github-actions[bot] e0fd3fea70 Updating readme file for macos-13-arm64 version 20240609.1 (#10034)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 19:18:39 +00:00
github-actions[bot] f610e46b01 Updating readme file for win22 version 20240610.1.1 (#10041)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 11:58:55 +00:00
github-actions[bot] e21232684f Updating readme file for ubuntu20 version 20240609.1.1 (#10042)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 11:26:00 +00:00
github-actions[bot] 619f9fd372 Updating readme file for ubuntu22 version 20240609.1.1 (#10039)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 11:20:56 +00:00
github-actions[bot] 42a61d742a Updating readme file for win19 version 20240610.1.1 (#10040)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 11:20:30 +00:00
github-actions[bot] 65d62e1688 Updating readme file for macos-13 version 20240609.1 (#10033)
Co-authored-by: Image generation service account. <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-12 10:37:04 +00:00
Erik Bershel 903f406ecb Merge pull request #10048 from shamil-mubarakshin/ubuntu24-add-github-CI-workflow
[ubuntu24] Add Actions build workflow
2024-06-12 12:07:57 +02:00
Shamil Mubarakshin 1bf1aea864 [ubuntu24] Add Actions build workflow 2024-06-12 11:59:30 +02:00
Erik Bershel b5ee676e1d [macOS-14] Add Xcode 16.0 Beta 1 (#10038) 2024-06-12 11:11:50 +02:00
ijunaidm bb433ff031 [Ubuntu] Update ubuntu-minimal.pkr.hcl (#10044) 2024-06-12 10:52:41 +02:00
Shamil Mubarakshin 2e3a8e1ccf [windows] Modify TortoiseSVN installation (#10010) 2024-06-10 08:45:22 +02:00
Shamil Mubarakshin 870d08d9cb [windows] Pin PostgreSQL and Update LLVM (#10014)
* [windows] Pin PostgreSQL version

* Fix if statement

* Fix PostgreSQL pester test

* Update LLVM to 18*
2024-06-08 11:02:11 +02:00
github-actions[bot] 7271f004d4 Updating readme file for macos-14-arm64 version 20240603.1 (#9991)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-07 11:46:14 +00:00
github-actions[bot] 71714d51d3 Updating readme file for macos-12 version 20240602.1 (#9994)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-07 11:05:31 +00:00
Mikhail Koliada 2a8403091c [Ubuntu] Display APT sources on 24 properly (#10006) 2024-06-07 11:28:25 +02:00
github-actions[bot] a615999e85 Updating readme file for win22 version 20240603.1.1 (#9990)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-07 05:54:53 +00:00
github-actions[bot] bbad000130 Updating readme file for ubuntu20 version 20240603.1.1 (#9987)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 15:53:04 +00:00
github-actions[bot] b3529d148e Updating readme file for ubuntu22 version 20240603.1.1 (#9988)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 13:55:15 +00:00
github-actions[bot] 8549372c4c Updating readme file for macos-14 version 20240603.1 (#9985)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 12:48:23 +00:00
github-actions[bot] c27adcfdba Updating readme file for win19 version 20240603.1.1 (#9989)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 11:54:45 +00:00
github-actions[bot] 45651fd866 Updating readme file for macos-13-arm64 version 20240603.1 (#9992)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 11:26:34 +00:00
github-actions[bot] 28bc3aff6d Updating readme file for macos-13 version 20240603.1 (#9993)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-06-06 10:44:46 +00:00
Erik Bershel 7992e7f1ba [Ubuntu, Windows] Update Docker tools versions (#9982)
Co-authored-by: Taleh Zaliyev <z.taleh007@ya.ru>
2024-06-05 12:27:31 +02:00
github-actions[bot] 3a10719283 Updating readme file for ubuntu24 version 20240604.1.1 (#9986)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-06-05 07:20:12 +00:00
Mikhail Koliada 52bcf848e5 [All OSes] Revert gitlfs changes (#9984)
* Revert "[Ubuntu] Add new git environment variable (#9899)"

This reverts commit ee7edb4f80.

* Revert "[Windows] Add new git environment variable (#9898)"

This reverts commit 5113d251a8.

* Revert "[macOS] Add new git environment variable (#9900)"

This reverts commit 5c60b0c2af.
2024-06-04 13:32:40 +02:00
Mikhail Koliada 5a99573420 [ubuntu] Install native azure-cli on noble (#9983) 2024-06-04 13:20:10 +02:00
Mikhail Koliada c9f2293acc [Ubuntu] do not restart provisioner on 24.04 automatically (#9979)
* [Ubuntu] does not restart provisioner on 24.04 automatically

* Update images/ubuntu/scripts/build/configure-system.sh

Co-authored-by: Kacper Michajłow <kasper93@gmail.com>

---------

Co-authored-by: Kacper Michajłow <kasper93@gmail.com>
2024-06-04 11:35:21 +02:00
Kenichi Kamiya a9f4b4f480 [Ubuntu] Add tree command (#9936) 2024-06-03 11:50:44 +02:00
github-actions[bot] 25c57a1bbf Updating readme file for macos-12 version 20240527.4 (#9955)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-31 15:22:30 +00:00
Alexey-Ayupov 293e955e3f [Windows] Update signature for SessionManagerPluginSetup.exe (#9969) 2024-05-31 16:43:37 +02:00
github-actions[bot] 9d5d1be482 Updating readme file for macos-14-arm64 version 20240526.2 (#9940)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-29 21:31:15 +00:00
github-actions[bot] 785629d8d8 Updating readme file for macos-13-arm64 version 20240524.2 (#9939)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-29 11:59:57 +00:00
Mikhail Koliada 899fcf9b16 [Ubuntu] unify apt install calls (#9953) 2024-05-29 13:43:07 +02:00
github-actions[bot] 448c998191 Updating readme file for macos-13 version 20240526.1 (#9943)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-29 11:29:00 +00:00
github-actions[bot] 0f916a843b Updating readme file for macos-14 version 20240526.1 (#9944)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-29 11:03:44 +00:00
Mikhail Koliada 4b94854902 [Ubuntu] exclude apt-fast from sw report on 24 (#9952) 2024-05-28 23:02:51 +02:00
github-actions[bot] c99c444ee9 Updating readme file for ubuntu22 version 20240526.1.1 (#9941)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-28 20:58:20 +00:00
Mikhail Koliada 24c7b7b9d8 [Ubuntu] move source scripts earlier (#9951) 2024-05-28 19:43:30 +02:00
Mikhail Koliada 903d127138 [Ubuntu] fix dotnet installation & scripts sorcing on 24.04 (#9950) 2024-05-28 17:43:09 +02:00
github-actions[bot] 8476a08273 Updating readme file for win19 version 20240526.1.1 (#9942)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-28 12:07:57 +00:00
github-actions[bot] 04166140e1 Updating readme file for ubuntu20 version 20240526.1.1 (#9938)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-28 10:19:05 +00:00
Alexey-Ayupov 3c26757b41 [Windows] Update script to install emulator separately (#9947) 2024-05-28 01:19:14 +02:00
Erik Bershel ed92ac6e3f [Ubuntu] Revert previously removed Docker tests (#9824) 2024-05-25 15:14:03 +02:00
Erik Bershel 36549632ce Update github/codeql-action and actions/checkout actions version (#9916) 2024-05-24 12:47:17 +02:00
Erik Bershel 562ad565fa Revert "[Ubuntu] Pin Helm 3.14.4 due to unusual release of 3.15.0 (#9867)" (#9919) 2024-05-24 12:43:37 +02:00
Ketil 3dcd2fa9b4 fix: update thumbprint of AzureCosmosDbEmulator (#9910) 2024-05-24 09:53:23 +02:00
Alexey-Ayupov 5c60b0c2af [macOS] Add new git environment variable (#9900) 2024-05-20 23:37:11 +02:00
Alexey-Ayupov 5113d251a8 [Windows] Add new git environment variable (#9898) 2024-05-20 16:44:16 +02:00
Alexey-Ayupov ee7edb4f80 [Ubuntu] Add new git environment variable (#9899) 2024-05-20 16:17:27 +02:00
MaksimZhukov a9fed55df6 [Ubuntu] Add libyaml-dev library (#9897) 2024-05-20 14:18:02 +02:00
Erik Bershel a38a062eee [Windows] Add more compatible VS2022 VC components (#9876)
* [Windows] Add more compatible VS2022 VC components

* Updated chocolatey installation to use new certificate thumbprint

* Azure CosmosDb Emulator SHA256 updated

---------

Co-authored-by: Jack Hennessey <jhennessey5225@gmail.com>
2024-05-20 10:03:57 +02:00
Erik Bershel e2a8bbc6e1 [Windows] Update signature for Azure CosmosDb Emulator (#9875)
* [Windows] Update signature for Azure CosmosDb Emulator

* Replace with SHA256
2024-05-17 22:33:04 +02:00
Erik Bershel 8a1afc1fe1 [macOS] Pin Swiftlint on macOS-12 due to Xcode 15.3 requirements (#9886) 2024-05-17 22:32:28 +02:00
Shamil Mubarakshin 845c5ee866 Fix macos-12 rollout badge (#9881) 2024-05-17 15:03:07 +02:00
Shamil Mubarakshin 7cec68c4a6 [macos] Fix URLs in configure-preimagedata.sh (#9880) 2024-05-17 14:58:40 +02:00
Erik Bershel ec4d691dad [Ubuntu] Add .NET SDKs 6 and 7 on Ubuntu 24.04 (#9878) 2024-05-17 14:39:38 +02:00
github-actions[bot] afb777d3f7 Updating readme file for ubuntu24 version 20240516.4.1 (#9871)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-17 09:16:30 +00:00
github-actions[bot] 532cfd5c07 Updating readme file for ubuntu22 version 20240516.1.1 (#9870)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-17 02:41:39 +00:00
github-actions[bot] cccb82874c Updating readme file for ubuntu20 version 20240516.1.1 (#9869)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-05-17 01:27:13 +00:00
Mikhail Koliada 4abf97ab13 Add ubuntu 24.04 to custom image scripts generator (#9868) 2024-05-16 19:12:29 +02:00
Congyi Wu 5ecfd27e8f VisualStudioHelpers.ps1 stop enabling 8.3 filename creation (#9862)
The bug that prompted enabling 8.3 filename creation was fixed 5 years ago, see https://github.com/xamarin/xamarin-android/issues/3407:
> Fix included in Xamarin.Android 10.1.0.30.
>
> Fix included on Windows in Visual Studio 2019 version 16.4.

We're on VS 2019 16.11: https://github.com/actions/runner-images/blob/98150396188d19c21a7d7c596cf4a4d7609bb12a/images/windows/Windows2019-Readme.md?plain=1#L233

8.3 filename creation is known to hurt file creation performance, especially when there are a large number of similarly named files in the same folder:
* https://learn.microsoft.com/en-us/archive/blogs/josebda/windows-server-2012-file-server-tip-disable-8-3-naming-and-strip-those-short-names-too
* https://www.linkedin.com/pulse/dont-forget-disable-short-filenames-83-servers-folders-wes-brown
* https://deep.data.blog/2013/06/19/debugging-story-slowness-due-to-ntfs-short-file-8-3-name-generation/

I created a new VM with the base Azure Marketplace Windows 2019 image and confirmed that 8.3 name generation is disabled by default for both the OS and temp disk:
```
fsutil 8dot3name query C:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).

Based on the above settings, 8dot3 name creation is disabled on C:

fsutil 8dot3name query D:
The volume state is: 1 (8dot3 name creation is disabled).
The registry state is: 2 (Per volume setting - the default).

Based on the above settings, 8dot3 name creation is disabled on D:
```

This might help a bit with https://github.com/actions/cache/issues/752, although I haven't tested it, and AFAICT it's unlikely make an order of magnitude difference.
2024-05-16 18:32:15 +02:00
github-actions[bot] e11ab1f9c6 Updating readme file for macos-14-arm64 version 20240514.3 (#9858)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-16 14:51:24 +00:00
Erik Bershel 4db7ac61ac [Ubuntu] Pin Helm 3.14.4 due to unusual release of 3.15.0 (#9867) 2024-05-16 13:51:04 +02:00
github-actions[bot] 6df3848fcd Updating readme file for win22 version 20240514.3.1 (#9853)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-16 13:28:02 +02:00
github-actions[bot] c9c09169e4 Updating readme file for macos-12 version 20240514.3 (#9861)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-05-16 13:24:01 +02:00
Erik Bershel 3edaf8a499 [Ubuntu] Patch azure-cli installer for Ubuntu 24.04 (#9863) 2024-05-16 12:23:51 +02:00
github-actions[bot] 80ea4b55c0 Updating readme file for macos-13-arm64 version 20240514.3 (#9859)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 21:18:01 +00:00
github-actions[bot] cfcc1c6a1b Updating readme file for ubuntu22 version 20240514.2.1 (#9854)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 20:28:30 +00:00
github-actions[bot] b98d6e44fa Updating readme file for win19 version 20240514.1.1 (#9856)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 18:39:54 +00:00
github-actions[bot] 9815039618 Updating readme file for ubuntu20 version 20240514.2.1 (#9855)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 17:07:55 +00:00
github-actions[bot] 384f5acb62 Updating readme file for macos-13 version 20240514.3 (#9860)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 15:44:01 +00:00
github-actions[bot] 7d377ee02b Updating readme file for macos-14 version 20240514.3 (#9857)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-15 13:48:27 +00:00
Erik Bershel 7172a7f1c5 [macOS] Add Xcode 15.4 Release (#9842) 2024-05-15 11:43:03 +02:00
Mikhail Koliada 4873b60b58 README: use the same tag for deprecated as for beta (#9852) 2024-05-15 09:58:15 +02:00
Mikhail Koliada e5b505aba0 README: mark ubuntu24 as beta (#9849) 2024-05-14 21:32:51 +02:00
Erik Bershel 2a7b21b9ba [Windows] Update VS2022 code signature (#9850) 2024-05-14 21:26:06 +02:00
Mikhail Koliada bca20e6921 [Ubuntu] Add 24.04 to templates (#9847) 2024-05-14 17:57:38 +02:00
github-actions[bot] ab72240867 Updating readme file for ubuntu24 version 20240510.1.1 (#9828)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-05-14 16:48:08 +02:00
Erik Bershel d279ef32ca [Windows] Add .NET SDK 8.0 to Windows-2019 (#9838) 2024-05-14 09:40:03 +02:00
sssharif dca8e74e47 [Ubuntu] Remove zip versions from Azuremodules (#9774) 2024-05-13 14:08:17 +02:00
github-actions[bot] 530454b772 Updating readme file for macos-13 version 20240506.1 (#9800)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-10 20:27:50 +00:00
Erik Bershel 1a952817be [macOS] Add Xcode 15.4 Release Candidate (#9822) 2024-05-10 18:40:40 +02:00
Erik Bershel 6625f8ac5f [Ubuntu] Revert Podman, buildah and skopeo for Ubuntu-24.04 (#9825) 2024-05-10 13:31:07 +02:00
Erik Bershel 441122013e Remove all non-latest VS VC components (#9819) 2024-05-09 21:02:07 +02:00
Erik Bershel 5a54cdbbf1 [Ubuntu] Add Python to the Ubuntu 24.04 toolcache (#9820) 2024-05-09 20:59:58 +02:00
Erik Bershel eb6f6cc734 [Ubuntu] Switch Clang to the 18 for the Ubuntu 24.04 (#9818) 2024-05-09 15:53:33 +02:00
github-actions[bot] 78ef24110a Updating readme file for macos-13-arm64 version 20240506.2 (#9801)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-09 13:32:34 +00:00
github-actions[bot] 7772fec117 Updating readme file for macos-14 version 20240507.2 (#9813)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-05-09 11:40:27 +00:00
Erik Bershel 35be26d2a9 [Ubuntu] Install Bazel and Bazelisk on Ubuntu 24.04 (#9810) 2024-05-09 13:16:22 +02:00
Erik Bershel 24a830de3c [Ubuntu] Add missing Java SDKs to Ubuntu 24.04 (#9808) 2024-05-09 13:16:00 +02:00
Erik Bershel 7781af869b [Ubuntu] Add Go and Node to the toolcache on 24.04 (#9806) 2024-05-08 11:33:11 +02:00
Shamil Mubarakshin 584c7c0fef [macos] Add python 3.9, 3.10 to toolcache (#9803) 2024-05-07 18:55:40 +02:00
sergei-pyshnoi 71da12569d change PIPX_HOME for arm64 (#9711) 2024-05-07 12:11:46 +02:00
Mikhail Koliada fba89949a3 [Ubuntu] do not wrap apt-fast in mock script (#9794) 2024-05-07 10:41:49 +02:00
Mikhail Koliada 79f002fc2a Update README.md (add 24.04 badge) (#9793) 2024-05-06 16:33:10 +02:00
Mikhail Koliada 7bb1d84f70 Add Ubuntu24 initial readme (#9776) 2024-05-02 11:50:55 +02:00
AM 9e048184f9 Azurecli Expected signature updated (#9772)
Co-authored-by: AMundewal <abhishek.mundewal@forcam.com>
2024-05-02 11:49:32 +02:00
Mikhail Koliada 6467c6dfc2 [Ubuntu] fix pester tests to include ubuntu22 back (#9775) 2024-05-01 22:11:11 +02:00
Mikhail Koliada 8778073702 [Ubuntu] remove toolchain test repo (#9763) 2024-04-29 16:10:45 +02:00
Mikhail Koliada c109ec4c0f Update README.md (#9764) 2024-04-29 15:51:16 +02:00
Mikhail Koliada 18e4b97a5f [Ubuntu] include Erlang only in ubuntu2004 (#9762) 2024-04-29 13:37:31 +02:00
Erik Bershel 3d2dd97aa7 [Ubuntu] Add Ubuntu-24.04 base image (#9754)
Co-authored-by: Alexey Ayupov <alexey-ayupov@github.com>
2024-04-26 23:18:26 +02:00
github-actions[bot] 54f59dcb98 Updating readme file for macos-13 version 20240421.1 (#9725)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-04-26 12:39:18 +02:00
Erik Bershel e63a194563 [CI] Update base test-generation pipeline to use AzureCLI task (#9745) 2024-04-25 12:21:49 +02:00
Mikhail Koliada c98eeb230d [Ubuntu] fix overwrite packer files on unpack (#9744) 2024-04-25 12:13:07 +02:00
github-actions[bot] c7efc0685d Updating readme file for macOS-12 version 20240418.1 (#9718)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-25 09:11:34 +00:00
sergei-pyshnoi cb3f1150db [Windows] Update google updater service name parser (#9738) 2024-04-24 22:49:24 +02:00
github-actions[bot] a420c2896e Updating readme file for win22 version 20240421.1.1 (#9721)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 17:01:10 +00:00
github-actions[bot] 565a8e540a Updating readme file for macos-14-arm64 version 20240422.3 (#9728)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 14:33:51 +00:00
github-actions[bot] 04c43a0f58 Updating readme file for macos-13-arm64 version 20240422.1 (#9729)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 14:11:22 +00:00
github-actions[bot] c5a4a6ff8c Updating readme file for macos-14 version 20240422.1 (#9726)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 12:57:03 +00:00
github-actions[bot] 67a74919b4 Updating readme file for win19 version 20240422.1.1 (#9727)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 12:02:49 +00:00
github-actions[bot] 771153c588 Updating readme file for ubuntu20 version 20240422.1.1 (#9724)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-24 10:59:02 +00:00
github-actions[bot] 9356e95351 Updating readme file for ubuntu22 version 20240422.1.1 (#9730)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-04-24 12:12:04 +02:00
MaksimZhukov 30f313be54 Fix the issue related to open windows (#9722) 2024-04-23 11:06:38 +02:00
Alexey-Ayupov 22940f4a86 [Ubuntu] Fix heroku installation (#9719) 2024-04-23 11:06:00 +02:00
MaksimZhukov a76eae469e Add xcode 15.4 to macOS 14 (#9710) 2024-04-19 12:39:42 +02:00
sssharif 3c3caaa5e9 [Windows] update nsis version in windows images (#9706) 2024-04-18 15:10:14 +02:00
github-actions[bot] 753a5bbaf4 Updating readme file for macOS-12 version 20240412.2 (#9699)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-18 09:08:40 +00:00
github-actions[bot] 7fefd9f03c Updating readme file for macos-14-arm64 version 20240415.6 (#9698)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 14:50:51 +00:00
github-actions[bot] 1a9753b738 Updating readme file for macos-13-arm64 version 20240415.2 (#9695)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 14:08:45 +00:00
Erik Bershel 5a21eb91dc Update Windows/Ubuntu image gen pipeline to use OIDC (#9704) 2024-04-17 15:01:12 +02:00
github-actions[bot] 0cd9c988c4 Updating readme file for win19 version 20240414.1.1 (#9687)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 12:33:42 +00:00
github-actions[bot] d0baa451b5 Updating readme file for win22 version 20240414.1.1 (#9688)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 14:08:12 +02:00
github-actions[bot] c8d9d73807 Updating readme file for macos-14 version 20240414.1 (#9696)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 12:01:08 +00:00
github-actions[bot] 7861e423d5 Updating readme file for ubuntu22 version 20240414.1.1 (#9685)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 11:48:09 +00:00
github-actions[bot] 8f8a09e01b Updating readme file for macos-13 version 20240415.1 (#9697)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 13:28:48 +02:00
github-actions[bot] b61fcf4040 Updating readme file for ubuntu20 version 20240414.1.1 (#9686)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-17 10:33:01 +00:00
Mikhail Koliada 7993ee5913 [Ubuntu] Add Numbat (24.04) helper functions (#9690) 2024-04-15 18:01:52 +02:00
Leon Zandman 3b976c7acb Filename fix. (#9689)
Co-authored-by: Leon Zandman <lzandman@rdw.nl>
2024-04-15 16:21:18 +02:00
github-actions[bot] 2530c697b5 Updating readme file for macOS-12 version 20240406.2 (#9649)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-12 10:11:22 +00:00
github-actions[bot] d8214c6eaa Updating readme file for macos-13-arm64 version 20240405.1 (#9650)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-11 20:45:30 +00:00
Erik Bershel 514d689e7c [Ubuntu] Fix Swift installer (#9677) 2024-04-11 14:28:25 +02:00
github-actions[bot] 91e422a825 Updating readme file for macos-14-arm64 version 20240405.1 (#9653)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-10 14:28:46 +00:00
github-actions[bot] a0af039ba1 Updating readme file for win22 version 20240407.1.1 (#9648)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-10 13:10:08 +00:00
github-actions[bot] 34c2a66db8 Updating readme file for macos-13 version 20240405.2 (#9651)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-10 12:49:45 +00:00
github-actions[bot] 3c356d1227 Updating readme file for macos-14 version 20240405.1 (#9652)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-10 12:24:58 +00:00
github-actions[bot] 616481d859 Updating readme file for win19 version 20240407.1.1 (#9655)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-10 12:03:41 +00:00
Erik Bershel 3afd153301 [Windows] Update Visual Studio 2022 signature (#9668) 2024-04-10 13:32:54 +02:00
Pavel Iakovenko a659eb9650 Configurable SSH port (#9660) 2024-04-09 11:50:21 +02:00
github-actions[bot] 27614dc1de Updating readme file for ubuntu22 version 20240407.1.1 (#9656)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-04-09 02:31:57 +02:00
github-actions[bot] 0e742d93bf Updating readme file for ubuntu20 version 20240407.1.1 (#9657)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-04-08 23:52:19 +02:00
github-actions[bot] 22d681c1e2 Updating readme file for win22 version 20240403.1.1 (#9637)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-05 15:56:16 +00:00
github-actions[bot] c5b46c5339 Updating readme file for win19 version 20240403.1.1 (#9636)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-05 13:41:57 +00:00
sergei-pyshnoi 0bf0d5d4fb [MacOS] Fix pipx vars for arm64 (#9609)
* fix pipx vars for arm64

* fix white space in path
2024-04-05 14:52:05 +02:00
Mikhail Koliada 84c158e8b8 Update README.md (OS14 latest migration) (#9642) 2024-04-05 13:43:20 +02:00
github-actions[bot] ac855491e1 Updating readme file for macos-13-arm64 version 20240402.2 (#9621)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-05 11:19:15 +00:00
Erik Bershel 00b6696f38 Revert "[macOS] Force curl to use IPv4 (#9586)" (#9631) 2024-04-04 12:32:34 +02:00
github-actions[bot] 84dd663dac Updating readme file for macos-13 version 20240402.2 (#9619)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-04 08:17:20 +00:00
github-actions[bot] b9a57e0f4c Updating readme file for macos-14-arm64 version 20240402.2 (#9620)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-03 21:23:39 +00:00
github-actions[bot] 996a7d36a7 Updating readme file for macos-14 version 20240402.2 (#9622)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-03 17:03:56 +00:00
github-actions[bot] 9d4816708f Updating readme file for macOS-12 version 20240329.1 (#9599)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-03 16:46:04 +00:00
Alexey-Ayupov cd4088d282 [Windows] Update docker-compose installation method (#9618) 2024-04-03 18:38:52 +02:00
Shamil Mubarakshin df41637c07 Revert "[Ubuntu] remove Docker Comose v1 (#9559)" (#9617) 2024-04-03 09:42:13 +02:00
Erik Bershel dafa292860 [Windows] Force Resolve-ChocoPackageVersion function to use CLI (#9605) 2024-04-02 23:37:28 +02:00
Steve-Glass da5ebb3622 Update README.md (#9601)
macOS 14 GA changes
2024-04-02 17:25:44 +02:00
Erik Bershel d9a35acaeb [Windows] Fix outdated Azure CLI installer signature (#9611) 2024-04-02 16:38:16 +02:00
github-actions[bot] 2fd9adccce Updating readme file for macos-14-arm64 version 20240325.1 (#9579)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-02 09:03:01 +00:00
Shamil Mubarakshin 41ad29f9c9 [ubuntu] Fix arch in Install-Toolset.ps1 (#9598) 2024-04-01 15:55:42 +02:00
github-actions[bot] 65e1bb9ff5 Updating readme file for macos-14 version 20240325.1 (#9578)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-04-01 10:15:22 +00:00
Erik Bershel 9ce28c1d12 Revert "[Windows] pin zstd to v1.5.5 (#9570)" (#9589)
This reverts commit f6950e8a95.
2024-03-29 22:17:15 +01:00
github-actions[bot] f1bb9d76e3 Updating readme file for win22 version 20240322.1.1 (#9555)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-29 11:54:43 +01:00
Erik Bershel 9690ca4c70 [Windows] Add WIX binaries folder to the PATH (#9582)
* [Windows] Add WIX binaries folder to the PATH

* Add Update-Environment, small prettifying

* Move tests from script to Pester

* Fix Wix tests to use Join-Path

---------

Co-authored-by: Leon Zandman <lzandman@github.com>
2024-03-29 11:51:52 +01:00
github-actions[bot] 98d2bcc93e Updating readme file for macos-13 version 20240327.2 (#9580)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-28 17:24:29 +00:00
Erik Bershel 22ff21d8bd [macOS] Force curl to use IPv4 (#9586) 2024-03-28 18:08:30 +01:00
Shamil Mubarakshin e11c4abc89 [macos] Fix composer version parser (#9585) 2024-03-28 17:26:46 +01:00
github-actions[bot] 07d23cf65f Updating readme file for ubuntu22 version 20240324.2.1 (#9560)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-27 18:49:13 +00:00
github-actions[bot] b3a91f7100 Updating readme file for ubuntu20 version 20240324.1.1 (#9561)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-27 18:25:06 +00:00
github-actions[bot] 1efd43a2c9 Updating readme file for win19 version 20240322.1.1 (#9556)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-27 18:00:38 +00:00
Mikhail Koliada f6950e8a95 [Windows] pin zstd to v1.5.5 (#9570) 2024-03-27 17:51:41 +01:00
Shamil Mubarakshin 4e42df172b [macos13] Remove Xcode 15.3 (#9575) 2024-03-27 16:05:36 +01:00
Mikhail Koliada 9ee0335bca [Windows] remove Docker Comose v1 (#9558) 2024-03-25 16:53:38 +01:00
Mikhail Koliada 2259d75568 [Ubuntu] remove Docker Comose v1 (#9559) 2024-03-25 15:52:52 +01:00
github-actions[bot] 9882429fb5 Updating readme file for macos-14-arm64 version 20240219.1 (#9380)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-03-23 16:42:35 +01:00
Mikhail Koliada a30db65b29 [DOCS] remove obsolete debug guide (#9548) 2024-03-22 17:04:46 +01:00
github-actions[bot] c0f1a024dc Updating readme file for macos-13-arm64 version 20240219.3 (#9374)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-22 00:11:51 +00:00
github-actions[bot] 88b4de5d65 Updating readme file for macos-13 version 20240219.1 (#9375)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-21 02:58:29 +00:00
github-actions[bot] bb7b256a9b Updating readme file for ubuntu20 version 20240317.1.1 (#9531)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-20 23:42:34 +00:00
Mikhail Koliada b3d50abbad Update README.md to inccude macOS-latest-xlarge (#9541) 2024-03-20 16:55:15 +01:00
github-actions[bot] 65efa8ca2d Updating readme file for win22 version 20240317.1.1 (#9528)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-20 13:09:46 +00:00
github-actions[bot] 243142386f Updating readme file for win19 version 20240317.1.1 (#9527)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-20 13:09:37 +00:00
github-actions[bot] 4224f365e0 Updating readme file for ubuntu22 version 20240317.1.1 (#9532)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-03-20 12:58:07 +00:00
sergei-pyshnoi 250c5145f6 [MacOS] Add install-python.sh to arm64 templates (#9474)
* add install-python.sh to arm64 templates

* add Pipx pester test

* Update Python.Tests.ps1

* bump python version
2024-03-18 18:34:52 +01:00
Erik Bershel f73cc2503f Unpin SYFT tool version for Windows images (#9522)
* Unpin SYFT tool version for Windows images

* Update upload-artifact action version to v4
2024-03-17 17:41:50 +01:00
MaksimZhukov 2eee3a2d6a Add Xamarin bundle (#9514) 2024-03-15 15:33:36 +01:00
Mikhail Koliada 9485052d98 [Ubuntu] Decrease vm.mmap_rnd_bit to prevent ASLR ASAN issues (#9513) 2024-03-15 11:06:43 +01:00
github-actions[bot] ee03fb0bdf Updating readme file for win22 version 20240310.1.1 (#9481)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-14 20:07:32 +00:00
Mikhail Koliada 8f3745bf87 [macOS] Delete more software from Big Sur (#9488) 2024-03-14 15:39:16 +01:00
Alexey-Ayupov 6751b1a8d6 [macOS] add xcode 15.3 to macOS 13, 14 (#9505) 2024-03-14 13:36:14 +01:00
Leon Zandman d6d95ff728 Fixed typos (#9509)
* Fixed some typos.

* Some more typos.

---------

Co-authored-by: Leon Zandman <lzandman@rdw.nl>
2024-03-14 10:53:11 +01:00
github-actions[bot] d67fa31aee Updating readme file for ubuntu22 version 20240310.1.1 (#9482)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-14 07:31:33 +00:00
github-actions[bot] 936416229a Updating readme file for win19 version 20240310.1.1 (#9485)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-13 21:50:44 +00:00
github-actions[bot] 8b2c86662b Updating readme file for ubuntu20 version 20240310.1.1 (#9483)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-13 16:56:56 +00:00
Mikhail Koliada 074e246081 [macOS] pin xcbeautify on OS12 (#9501) 2024-03-13 14:27:57 +01:00
Piotr Grabski-Gradziński 82a37d19fa Updating signature for Visual Studio Enterprise 2022.17. (#9502) 2024-03-13 12:54:42 +01:00
Alexey-Ayupov c910aa42d0 [macOS] Add PowerShell version of Configure-Xcode-Simulators script (#9496) 2024-03-13 11:18:49 +01:00
Mikhail Koliada aa58a23bf8 [windows] Update Az to 11.3.1 (#9489) 2024-03-11 20:51:28 +01:00
Mikhail Koliada 66c0961dc8 [Ubuntu] Update Az to 11.3.1 (#9490) 2024-03-11 20:51:13 +01:00
Mikhail Koliada c8b2706126 [macOS] remove blackhole 2ch (#9487)
* [macOS] remove blackhole-2ch

* Update System.Tests.ps1
2024-03-11 20:05:42 +01:00
Shamil Mubarakshin e442ffab3a Add Image Rollout Status badges (#9486) 2024-03-11 12:47:07 +01:00
Erik Bershel cb3fcb62b9 [macOS] Remove VCPKG from macOS-14 (#9465) 2024-03-07 21:02:41 +01:00
Erik Bershel 3d9bcaefb1 [Ubuntu] Update Kotlin installer hash check (#9468) 2024-03-07 21:01:25 +01:00
github-actions[bot] 3d6eedc86d Updating readme file for win22 version 20240304.2.1 (#9449)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-07 19:01:02 +00:00
Erik Bershel cde48c99e6 [Windows] Update Kotlin installer hash check (#9469) 2024-03-07 17:11:44 +01:00
github-actions[bot] 61df9288f9 Updating readme file for ubuntu20 version 20240304.1.1 (#9451)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-06 18:25:13 +00:00
github-actions[bot] 8a42507a08 Updating readme file for ubuntu22 version 20240304.1.1 (#9450)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-03-06 16:58:52 +00:00
github-actions[bot] e32a4a56ec Updating readme file for win19 version 20240304.2.1 (#9453)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-03-06 15:57:17 +00:00
sergei-pyshnoi 9d2d1a4c06 [macOS] update webservers pester test (#9444) 2024-03-05 00:10:31 +01:00
Shivam Mathur e27310f1e3 [Windows] Upgrade php version to 8.3 (#9439) 2024-03-04 17:10:45 +01:00
You-Sheng Yang 346a8b1a9d [Ubuntu] 22.04: install libssl1.1 via apt (#9432)
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
2024-03-04 13:39:13 +01:00
Shamil Mubarakshin 879626d9bd [ubuntu] Update libssl1.1 version (#9428)
* [ubuntu] Update libssl1.1 version

* [ubuntu] Fix hash
2024-02-29 17:05:16 +01:00
github-actions[bot] 5b3748924e Updating readme file for ubuntu22 version 20240225.1.1 (#9420)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-29 15:40:09 +00:00
github-actions[bot] 211da2488f Updating readme file for ubuntu20 version 20240225.1.1 (#9417)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-29 09:10:07 +00:00
github-actions[bot] 248063da08 Updating readme file for win22 version 20240225.2.1 (#9416)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-28 12:31:59 +00:00
github-actions[bot] 6c2dccad75 Updating readme file for win19 version 20240225.1.1 (#9421)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-28 12:14:47 +00:00
Shamil Mubarakshin c6fa7ece2e [windows] Update out-of-support VS 17.9 components (#9414) 2024-02-27 19:26:00 +01:00
Mikhail Koliada 81eb448ee0 Revert "Updating readme file for macOS-11 version 20240224.1 (#9411)" (#9415)
This reverts commit 0a6a7e0869.
2024-02-26 13:23:46 +01:00
Mikhail Koliada 208aa68b10 [update GitHub release yaml] switch to modern actions version (#9413) 2024-02-26 13:18:09 +01:00
github-actions[bot] 0a6a7e0869 Updating readme file for macOS-11 version 20240224.1 (#9411)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-26 12:12:56 +00:00
Mikhail Koliada 49be543fef [merge-pr yaml] update to modern actions version (#9412) 2024-02-26 13:05:31 +01:00
Mikhail Koliada ae4a4a5262 Update create_github_release.yml (#9410) 2024-02-26 12:21:59 +01:00
Mikhail Koliada a9200e9659 Update create_pull_request.yml (#9406) 2024-02-26 11:45:20 +01:00
Pavel Iakovenko df722a3cf8 [macOS] Support null builder for anka MacOS templates (#9385) 2024-02-23 21:05:36 +01:00
Alexey-Ayupov 083e89fd95 [macOS] Remove Ruby, Go old versions (#9393) 2024-02-23 12:58:08 +01:00
Alexey-Ayupov 2730b04222 [Ubuntu] Remove Ruby, Go old versions (#9392) 2024-02-23 11:14:06 +01:00
Alexey-Ayupov adb51dcf33 [Windows] Remove Ruby, Go old versions (#9391) 2024-02-23 01:59:16 +01:00
github-actions[bot] d4e0d19512 Updating readme file for macOS-12 version 20240218.1 (#9379)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-22 19:54:13 +00:00
Alexey-Ayupov 39b838e8fd [Windows] Add Wireless LAN feature (#9373)
* [Windows] Add Wireless LAN feature

* Change WLAN service startup type to manual

* Update template directly
2024-02-22 16:12:24 +01:00
github-actions[bot] 554135d9c6 Updating readme file for win22 version 20240218.2.1 (#9376)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-22 10:04:52 +00:00
github-actions[bot] 4fb315d636 Updating readme file for ubuntu22 version 20240218.1.1 (#9371)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-21 23:30:45 +00:00
github-actions[bot] 688fce6569 Updating readme file for ubuntu20 version 20240218.1.1 (#9372)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-21 21:17:15 +00:00
Mikhail Koliada 38928c989d [Ubuntu] update docker components to be >=24.0.9 (#9384) 2024-02-21 15:18:51 +01:00
github-actions[bot] c940226baf Updating readme file for win19 version 20240218.2.1 (#9370)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-21 12:44:23 +00:00
github-actions[bot] 4f368bbc5d Updating readme file for macos-14 version 20240219.1 (#9377)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-02-21 11:11:17 +00:00
Mikhail Koliada 9813840059 Update README.md (#9362) 2024-02-19 11:30:42 +01:00
Alexey-Ayupov 395174881d [Windows] Update downloadsPageUrl for mysql (#9359) 2024-02-17 17:59:40 +01:00
Shamil Mubarakshin ca82d0a325 [ubuntu] Fix error message redirection in install.sh (#9324) 2024-02-15 18:55:11 +01:00
Mikhail Koliada deba4d6cd5 README: recommend always using main for custom images (#8946) 2024-02-15 18:43:53 +01:00
Alexey-Ayupov 1812c0ce71 [macOS] Add libsodium to the macOS-14 (#9350) 2024-02-15 12:20:54 +01:00
sergei-pyshnoi 61a8703bd1 [Windows] update VS signature (#9348) 2024-02-15 12:13:24 +01:00
Alexey-Ayupov b9da7c8a76 [Ubuntu] update docker version (#9352) 2024-02-15 12:12:11 +01:00
Shamil Mubarakshin b33a106fb9 [ubuntu] Remove quoted PATH from /etc/environment (#9347)
* [ubuntu] Remove quoted PATH from /etc/environment

* Update quotes handling in replace_etc_environment_variable()
2024-02-14 12:09:49 +01:00
github-actions[bot] 8a4dc5b0f6 Updating readme file for win19 version 20240211.1.1 (#9340)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-14 08:41:32 +00:00
github-actions[bot] 7535fb59ff Updating readme file for macos-13 version 20240204.1 (#9292)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-14 01:18:08 +00:00
github-actions[bot] 0202f4b94c Updating readme file for ubuntu20 version 20240212.2.1 (#9339)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-13 14:13:03 +00:00
github-actions[bot] cda60174f7 Updating readme file for win22 version 20240211.1.1 (#9338)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-13 12:55:47 +00:00
github-actions[bot] e579fdb9e6 Updating readme file for ubuntu22 version 20240212.1.1 (#9337)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-02-13 12:47:12 +00:00
Shamil Mubarakshin 13d5100df5 Pin syft for SBOM report to v0.100.0 (#9334) 2024-02-12 10:57:50 +01:00
github-actions[bot] d84718d23e Updating readme file for macos-13-arm64 version 20240204.1 (#9291)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-09 21:11:36 +00:00
github-actions[bot] 0390d98adc Updating readme file for macOS-12 version 20240202.1 (#9297)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-09 15:31:51 +00:00
sergei-pyshnoi e844facbb9 [Ubuntu] add go 1.22 (#9319) 2024-02-08 22:39:59 +01:00
sergei-pyshnoi fb980e9751 [Windows] add go 1.22 (#9321) 2024-02-08 22:39:27 +01:00
sergei-pyshnoi 04da57c694 [macOS] add go 1.22 (#9320) 2024-02-08 22:38:51 +01:00
github-actions[bot] 68d16ce43c Updating readme file for win22 version 20240204.1.1 (#9293)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-08 19:09:28 +00:00
Mikhail Koliada 213dba8dd6 [macOS] remove unused go version from toolset (#9322) 2024-02-08 14:56:43 +01:00
github-actions[bot] bd5782ca77 Updating readme file for ubuntu22 version 20240204.1.1 (#9299)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-07 23:40:58 +00:00
MaksimZhukov 0b5f4562aa [Ubuntu] Update version of libssl (#9311) 2024-02-07 15:37:57 +01:00
github-actions[bot] b99ee7f44e Updating readme file for ubuntu20 version 20240204.1.1 (#9295)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-07 14:23:13 +00:00
github-actions[bot] 3151c92d25 Updating readme file for win19 version 20240204.1.1 (#9294)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-07 13:24:30 +00:00
Ikko Eltociear Ashimine 5d5f63b19a [ubuntu] Fix typo in install-bazel.sh (#9276)
instal -> install
2024-02-06 12:19:39 +01:00
Mikhail Koliada 82095c6197 [macOS] make naming schema & README granular (#9300) 2024-02-05 20:42:05 +01:00
Alexey-Ayupov 33261492c5 [macOS] Add toolcache to the macOS 14 (#9274) 2024-02-05 18:16:30 +01:00
github-actions[bot] 3387580469 Updating readme file for ubuntu22 version 20240201.1.1 (#9275)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-02-04 02:09:04 +00:00
github-actions[bot] b8d3d784e4 Updating readme file for ubuntu20 version 20240131.1.1 (#9271)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2024-02-02 02:49:53 +00:00
Erik Bershel a8d9540421 [macOS] Remove Xcode 15.3 Beta release due to the issues with simulators (#9270) 2024-02-01 14:03:59 +01:00
github-actions[bot] be3dd8b0dd macOS 11 (20240127) Image Update (#9248)
* Updating readme file for macOS-11 version 20240127.1

* Update images/macos/macos-11-Readme.md

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-01 12:46:24 +00:00
Erik Bershel ee179c70f2 [Ubuntu] Update Docker installer script (#9232) 2024-02-01 13:46:06 +01:00
github-actions[bot] 03c4d84bba Updating readme file for macOS-12 version 20240127.1 (#9246)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-01 11:10:15 +00:00
github-actions[bot] 36b3a6c458 Updating readme file for ubuntu20 version 20240126.1.1 (#9244)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-02-01 10:15:40 +00:00
github-actions[bot] 5a9870800d Updating readme file for ubuntu22 version 20240126.1.1 (#9245)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-31 22:58:21 +00:00
github-actions[bot] 218c157acc Updating readme file for win19 version 20240128.1.1 (#9247)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-31 15:54:28 +00:00
Erik Bershel 9547a10a19 [Windows] Visual Studio 2022 signature updated (#9261) 2024-01-31 14:44:38 +01:00
github-actions[bot] 6f1fa8953f Updating readme file for win22 version 20240128.1.1 (#9243)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-31 12:37:15 +00:00
Mikhail Koliada 37a171e44d [macOS] Add OS14 READMEs (#9253) 2024-01-30 16:21:29 +01:00
Steve-Glass 5418817c5f Update README.md (#9252) 2024-01-30 16:00:14 +01:00
Steve-Glass 2d19e2799a Update for OS 14 Public Beta (#9179) 2024-01-30 15:08:42 +01:00
Mikhail Koliada 52777b1081 Add macOS 14 and macOS 14 Arm64 labels (#9250) 2024-01-30 13:10:04 +01:00
Erik Bershel 14e41b1b5b [macOS] Remove Composer version from macOS 11 doc due to previous tool removal (#9249) 2024-01-30 13:06:25 +01:00
Mikhail Koliada 3243ea36ef [Ubuntu] reduce disks size in packer template (#9251) 2024-01-30 13:05:32 +01:00
github-actions[bot] 6308849b25 Updating readme file for macos-13-arm64 version 20240114.1 (#9170)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-27 14:54:20 +01:00
Shamil Mubarakshin 8f1339b65b [macos11] Remove php package (#9237) 2024-01-27 11:05:44 +01:00
Shamil Mubarakshin 47e2999afb [macos] Add Xcode 15.3 Beta (#9239) 2024-01-26 22:41:19 +01:00
Erik Bershel 74ed9d7d83 [macOS] Unpin AzCopy version to latest (#9234) 2024-01-26 17:19:27 +01:00
Mikhail Koliada 83c984cdd9 README: temp removal of rollout badges (#9240) 2024-01-26 14:25:50 +01:00
Erik Bershel 17b9f1e582 [Ubuntu] Unpin AzCopy version to latest (#9233) 2024-01-26 11:52:45 +01:00
Shamil Mubarakshin 237618d14f [macos11] Remove imagemagick package (#9229) 2024-01-26 10:33:21 +01:00
github-actions[bot] 8d5da63ac4 Updating readme file for ubuntu22 version 20240122.3.1 (#9214)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-25 14:34:43 +00:00
github-actions[bot] 0b56eac4f1 Updating readme file for win22 version 20240122.1.1 (#9213)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-25 14:12:32 +00:00
github-actions[bot] 022efa3751 Updating readme file for win19 version 20240122.1.1 (#9212)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-25 12:45:03 +00:00
github-actions[bot] 96659c7d44 Updating readme file for ubuntu20 version 20240122.3.1 (#9211)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-25 11:25:12 +00:00
github-actions[bot] 07fa737c4c Updating readme file for macOS-12 version 20240119.1 (#9206)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-25 10:57:40 +00:00
Shamil Mubarakshin 4637c23381 Add secondary MacOs image generation pipelines (#9218) 2024-01-25 10:51:07 +01:00
Shamil Mubarakshin a9c5653066 [macos] Update PowerShell Core to 7.4.x (#9224) 2024-01-25 10:23:55 +01:00
Shamil Mubarakshin a6643f8ce6 [windows] Update PowerShell Core to 7.4.x (#9223)
* [windows] Update PowerShell Core to 7.4.x

* Update CosmosDB Emulator signature
2024-01-25 10:22:30 +01:00
Shamil Mubarakshin 807eb76cfc [ubuntu] Update PowerShell Core to 7.4.x (#9222) 2024-01-24 19:01:47 +01:00
github-actions[bot] ba3718b5d8 Updating readme file for macOS-11 version 20240113.1 (#9168)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-24 09:48:57 +00:00
Shamil Mubarakshin d622d2bc2e [macos] Fix links in preimage data (#9204) 2024-01-23 18:17:44 +01:00
Erik Bershel cbc79f8a0c [Ubuntu] Pin Docker 24.0.7 to avoid bugs (#9205)
* [Ubuntu] Pin Docker 24.0.7 to avoid bugs

* Fix character escaping for jq

* Fix order of install
2024-01-23 14:44:07 +01:00
Erik Bershel 097e28c9d7 [Windows] Pin Docker 24.0.7 to avoid bugs (#9208)
* [Windows] Pin Docker 24.0.7 to avoid bugs

* Fix typos, avoid using special characters
2024-01-22 21:29:42 +01:00
github-actions[bot] 17d89dbd74 Updating readme file for macos-13 version 20240114.1 (#9169)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-19 01:31:47 +00:00
github-actions[bot] 299257c4bc Updating readme file for win22 version 20240116.1.1 (#9185)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-18 23:35:26 +00:00
Alexey-Ayupov 9eea2470fb [macOS] Get rid of unused software in macOS 14 (#9191) 2024-01-19 00:01:52 +01:00
github-actions[bot] 55a6d9d687 Updating readme file for win19 version 20240116.2.1 (#9186)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-18 16:47:12 +00:00
github-actions[bot] 6c52c5a744 Updating readme file for ubuntu20 version 20240116.2.1 (#9180)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-18 12:12:04 +00:00
github-actions[bot] 10cbb27509 Updating readme file for ubuntu22 version 20240116.3.1 (#9181)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-18 10:40:14 +00:00
sergei-pyshnoi 8943e98be1 fix vs signature for windows-2022 (#9189) 2024-01-18 10:48:42 +01:00
Alexey-Ayupov 76ad0eb3d6 [macOS] Get rid of unused software in macOS 13 (#9187) 2024-01-18 10:41:59 +01:00
Mikhail Koliada 192a94d178 Update LICENSE (Happy 2024!) (#9183) 2024-01-17 10:56:11 +01:00
sergei-pyshnoi f046bcaec3 [Windows] pin docker compose version (#9174) 2024-01-16 16:53:44 +01:00
sergei-pyshnoi c40e9d7d53 [Ubuntu] Pin docker compose 2.23.3 (#9173) 2024-01-16 15:39:13 +01:00
Shamil Mubarakshin 4d310f0a59 Cleanup json formatted packer template references (#9165) 2024-01-15 16:40:23 +01:00
github-actions[bot] 5ee9ae1e60 Updating readme file for macOS-12 version 20240105.3 (#9128)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-15 15:07:54 +00:00
Shamil Mubarakshin ba2e955e0b [macos] Add path variables to packer templates (#9155)
* Update macos-12.pkr.hcl template

* Update remaining macos templates

* Update Get-ToolsetContent and get_toolset_value functions

* Fix ~ symbol expansion issues

* Fix bad path in macOS-14.arm64.anka.pkr.hcl
2024-01-15 12:21:24 +01:00
Alexey-Ayupov 2a7ca2e6a2 [Ubuntu] Add predefined variable to skip test in the pipeline (#9153) 2024-01-15 11:57:43 +01:00
Shamil Mubarakshin ebef5f5fee [windows] Add dynamic path for Get-ToolsetContent (#9147)
* [windows] Add dynamic path for Get-ToolsetContent

* Add missing variable in win22 template
2024-01-12 12:31:21 +01:00
github-actions[bot] cb77fa2a64 Updating readme file for macos-13 version 20240106.8 (#9127)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-12 09:37:47 +00:00
Alexey-Ayupov b3ae9702f7 [Windows] Exclude KB5034439 from windows updates (#9149) 2024-01-11 19:25:36 +01:00
MaksimZhukov b6b0130a7d Add Xcode 15.2 (#9145) 2024-01-11 12:29:56 +01:00
github-actions[bot] b56952d51e Updating readme file for ubuntu22 version 20240107.1.1 (#9124) 2024-01-11 12:16:41 +01:00
github-actions[bot] 17d0f979ab Updating readme file for win22 version 20240108.1.1 (#9137) 2024-01-11 12:15:27 +01:00
sergei-pyshnoi b4635a0ab9 [windows] fix signature for vs and dacfx (#9143) 2024-01-11 10:55:56 +01:00
github-actions[bot] d5d2dd7704 Updating readme file for macos-13-arm64 version 20240107.1 (#9126)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-11 06:24:59 +00:00
Shamil Mubarakshin a89e382279 [ubuntu] Fix pwsh installation for ubuntu-minimal (#9144) 2024-01-10 13:59:08 +01:00
github-actions[bot] 10ddf030ed Updating readme file for win19 version 20240108.2.1 (#9135)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-10 12:28:32 +00:00
github-actions[bot] 4d5381bd21 Updating readme file for ubuntu20 version 20240107.1.0 (#9125)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2024-01-10 11:38:07 +00:00
Shamil Mubarakshin c40faf56bf [ubuntu] Fix static path in install.sh (#9138) 2024-01-10 10:41:11 +01:00
sergei-pyshnoi ec4e51233f [Windows] Fix signature for azure cli (#9134)
* fix signature for azure cli

* disable edge auto updates
2024-01-09 20:05:02 +01:00
Alexey-Ayupov 5a6e215859 [macOS] Refactor the rest of the scripts (#9113)
* [macOS] Refactor the rest of the scripts

* Return quotes to config tccdb script

* Return quotes to config tccdb script

* Revert some changes in ruby scripts

* Revert some changes in ruby scripts

* Revert some changes chrome script

* check errors

* check errors 01

* find errors in common-utils

* find errors in edge install

* find errors in edge install

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2024-01-09 14:47:31 +01:00
sergei-pyshnoi 5bdda2e8c2 [Windows] Update signature for Edge driver (#9123)
* update signature for Edge driver

* Update Install-EdgeDriver.ps1

* fix comment

* add signature for different versions
2024-01-09 11:44:03 +01:00
Alexey-Ayupov 4b8f0f965c [Ubuntu] Increase threshold in the Disk free space test (#9109) 2024-01-05 14:00:08 +01:00
Shamil Mubarakshin 4960fde8f7 [macos] Convert packer templates to HCL2 (#9098)
* [macos] Convert packer templates to HCL2

* Fix inline shell provisioner

* Fix folder name

* Fix bootstrap folder copy
2024-01-05 12:29:46 +01:00
Alexey-Ayupov 9da2ec6b06 [macOS] Update SoftwareReport scripts (#9092) 2024-01-04 10:46:00 +01:00
Alexey-Ayupov 83fbf5a752 [macOS] Remove old android SDK versions (#9096) 2024-01-04 10:36:19 +01:00
Alexey-Ayupov f36abbb92b [Windows] Remove old android SDK versions (#9095) 2024-01-04 10:35:37 +01:00
Alexey-Ayupov a9b737bac5 [Ubuntu] Remove old android SDK versions (#9094) 2024-01-03 21:21:02 +01:00
Alexey-Ayupov 20d2e9821f [Ubuntu] Remove buildpack-deps docker images (#9093) 2024-01-03 12:07:53 +01:00
Shamil Mubarakshin 266f9413d3 [ubuntu] Remove apt-key from build scripts (#9082) 2023-12-29 18:11:55 +01:00
Shamil Mubarakshin 1658c2e905 [ubuntu] Cleanup bash scripts (#9076)
* [ubuntu] Cleanup bash scripts

* Fix ms-repos lsb_release

* Fix install-bicep url

* Fix install-nvm
2023-12-29 12:36:27 +01:00
Mikhail Koliada e16b5524ff [macOS] distinguish Arm64/M1 in the template (#9075) 2023-12-28 11:19:26 +01:00
Mikhail Koliada 34b6b3172f [windows] pin pwsh in toolset (#9072) 2023-12-28 11:18:57 +01:00
Shamil Mubarakshin e9057a22fc [ubuntu] Refactor PowerShell build scripts (#9064)
* [ubuntu] Refactor PowerShell build scripts

* Add Module import

* Add Invoke-DownloadWithRetry function

* Fix temp download dir

* Update function to Add-GlobalEnvironmentVariable
2023-12-27 18:39:58 +01:00
Mikhail Koliada 62aeae3a20 [macOS] pin pwsh-core in toolset (#9070) 2023-12-27 16:00:04 +01:00
Alexey-Ayupov 62a46d0fd8 [Windows] Update the Packer version output (#9067) 2023-12-27 10:44:43 +01:00
Shamil Mubarakshin 503ae89818 [ubuntu] Refactor bash functions (#9055) 2023-12-26 12:50:52 +01:00
Erik Bershel d16bc5f120 Fix SBOM workflow first step name (#9065) 2023-12-26 11:26:20 +01:00
Shamil Mubarakshin 694536d87f [ubuntu] Refactor functions for GitHub assets and hashes (#9040) 2023-12-25 19:47:58 +01:00
github-actions[bot] 08d10be70d Updating readme file for macos-13-arm64 version 20231218.3 (#9048)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-12-22 16:30:48 +01:00
Shamil Mubarakshin 50c8126f76 [windows] Update signature for Edge Web Driver (#9056) 2023-12-22 10:12:43 +01:00
sergei-pyshnoi c46c9c7f7d [MacOS] Fix rules for screencapture (#9052)
* fix rule for screen capture

* Update configure-tccdb-macos.sh

* rollback changes
2023-12-21 19:57:37 +01:00
Erik Bershel e969572ffb [macOS] Add Xcode 15.2 Beta (#9050) 2023-12-21 19:43:31 +01:00
Alexey-Ayupov ed3d2204db [macOS] refactor utils.sh and related scripts (#8998)
* Update Software Report to support azcopy output

* Update util.sh and related scripts

* Remove rosetta test from the script

* Update mono script

* clean up

* remove condition from install pipx script

* Update scripts according to comments

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-21 14:48:28 +01:00
Erik Bershel 43e3d8bfc6 Revert "[Ubuntu] Force ruby gem to check gems (#9022)" (#9054)
This reverts commit 1f11cd7e17.
2023-12-20 22:51:25 +01:00
github-actions[bot] dec20a5272 Updating readme file for macos-13 version 20231218.2 (#9049)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 21:32:31 +00:00
github-actions[bot] 087fb382a8 Windows Server 2022 (20231217) Image Update (#9043)
* Updating readme file for win22 version 20231217.2.1

* Update Windows2022-Readme.md

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 16:00:30 +00:00
github-actions[bot] 6b0f6eb184 Updating readme file for ubuntu20 version 20231217.2.0 (#9045)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 15:58:31 +00:00
github-actions[bot] 28be760bba Updating readme file for ubuntu22 version 20231217.2.1 (#9044)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 15:51:32 +00:00
github-actions[bot] 522c8fb680 Windows Server 2019 (20231217) Image Update (#9046)
* Updating readme file for win19 version 20231217.2.1

* Update Windows2019-Readme.md

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 15:37:11 +00:00
github-actions[bot] 045b46c8c1 Updating readme file for macOS-12 version 20231216.1 (#9042)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 12:13:45 +00:00
github-actions[bot] 0298168e00 Updating readme file for macOS-11 version 20231216.1 (#9041)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-20 11:57:26 +00:00
Erik Bershel 1f11cd7e17 [Ubuntu] Force ruby gem to check gems (#9022)
* [Ubuntu] Force ruby gem to check gems

* High to Medium Security for unsigned gems
2023-12-19 12:14:39 +01:00
Shamil Mubarakshin 50f736491f [windows] Update signature for Edge Web Driver (#9036) 2023-12-16 20:00:54 +01:00
Alexey-Ayupov 5d6e226c1d [macOS] Fix Nunit version in the mono conf file (#9028)
* Update Software Report to support azcopy output

* [macOS] Fix nunit version in the mono conf file

* [macOS] temporary Nunit version fix

* Fix typo

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-15 19:29:17 +01:00
sergei-pyshnoi 7fe17c7614 [MacOS] Pin sha256 for xcode (#9007)
* pin sha256 for xcode

* add sha256 for xcode 15.1
2023-12-15 16:44:17 +01:00
github-actions[bot] 1cb43238b5 macOS 11 (20231211) Image Update (#9013)
* Updating readme file for macOS-11 version 20231211.2

* Update macos-11-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-15 15:43:26 +00:00
github-actions[bot] 2633fdfcc4 macOS 12 (20231211) Image Update (#9012)
* Updating readme file for macOS-12 version 20231211.1

* Update macos-12-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-15 14:55:37 +00:00
Erik Bershel 5e4039478f Fix macOS CI - clean images updates (#9032) 2023-12-15 12:16:58 +01:00
ilia-shipitsin 9e49d08492 [macos] add XCode-15.1 (#9002) 2023-12-15 11:28:43 +01:00
sergei-pyshnoi 62536f12ed pin sha for macos packages (#9001) 2023-12-15 11:28:17 +01:00
github-actions[bot] eed37c2c66 Windows Server 2022 (20231211) Image Update (#9000)
* Updating readme file for win22 version 20231211.1.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-15 01:34:17 +00:00
Erik Bershel cd286f70f7 [Windows] Force Chocolatey to check packages hashes (#9020) 2023-12-15 00:28:36 +01:00
ilia-shipitsin 1921245719 [windows] pin checksum where avaiable (#9005)
Related: https://github.com/actions/runner-images-internal/issues/5489
2023-12-14 20:57:47 +01:00
github-actions[bot] 3945d6e7dc Ubuntu 20.04 (20231211) Image Update (#8992)
* Updating readme file for ubuntu20 version 20231211.1.0

* Update Ubuntu2004-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-14 19:03:34 +00:00
Shamil Mubarakshin dbb10c67ba [ubuntu] Refactor pester tests (#9006)
* [ubuntu] Refactor pester tests

* Fix key name and add BeforeAll

* Fix ActionArchiveCache test
2023-12-14 17:33:34 +01:00
github-actions[bot] 2179765026 Windows Server 2019 (20231211) Image Update (#9004)
* Updating readme file for win19 version 20231211.1.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-14 12:02:37 +00:00
github-actions[bot] d631f76f8b Ubuntu 22.04 (20231211) Image Update (#8993)
* Updating readme file for ubuntu22 version 20231211.1.1

* Update Ubuntu2204-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-14 10:39:44 +00:00
Erik Bershel e6a69f4bd1 [macOS] Update AzCopy installer to install 10.21.2 version (#9003) 2023-12-14 11:06:59 +01:00
ilia-shipitsin 9f3cf00bb3 [windows] fix extracting checksum for Miniconda installer (#9025) 2023-12-14 11:05:36 +01:00
Shamil Mubarakshin 3f2b0e2afc Pin Azure plugin version for packer (#9019) 2023-12-14 09:19:20 +01:00
Shamil Mubarakshin a5519ebed0 [ubuntu] Change packer templates from json to hcl (#8991)
* [ubuntu] Change packer tempaltes from json to hcl

* Add packer init

* Fix variable types for Ubuntu20 template
2023-12-13 09:19:03 +01:00
Shamil Mubarakshin ea64263b41 [windows] Change packer templates from json to hcl (#8999) 2023-12-13 09:17:44 +01:00
Alexey-Ayupov 126c302e7a [macOS] Temporary pin the AzCopy version (#8979)
* Update Software Report to support azcopy output

* [macOS] Temporary pin the AzCopy version

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-11 22:26:33 +01:00
Alexey-Ayupov 63f2cea173 [Ubuntu] Update the Packer version output (#8994)
* Update Software Report to support azcopy output

* [Ubuntu] Update the Packer version output

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-11 22:25:06 +01:00
Vasilii Polikarpov 7fe65a2204 [Windows] Apply code style rules to Windows scripts (#8957)
* Apply code style rules to Windows scripts

* Fix typo

* Fix configure-toolset script

* Fix parameters in Msys2 installation script

* Improve log readability

* Remove broken exit code validation
2023-12-11 22:23:36 +01:00
Alexey-Ayupov 76d6f0f574 [Ubuntu] Temporary pin the AzCopy version (#8982)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-11 13:07:50 +01:00
Erik Bershel 0e46595f81 Update release variable to use ID instead of branch (#8990) 2023-12-11 12:52:28 +01:00
Erik Bershel f28573731f [Windows] Update Resolve-GithubReleaseAssetUrl function (#8981) 2023-12-11 11:59:52 +01:00
Erik Bershel 62fab6e78a Update SBOM generation workflow (#8975) 2023-12-11 11:58:55 +01:00
Shamil Mubarakshin 4d88245a29 [ubuntu] Refactor android sdk build script (#8980) 2023-12-11 11:58:37 +01:00
ilia-shipitsin d4f6993ac9 [macos] skip Sonoma updates for Monterey (#8985) 2023-12-10 21:12:26 +01:00
github-actions[bot] 6130ddb3c3 Windows Server 2022 (20231205) Image Update (#8962)
* Updating readme file for win22 version 20231205.1.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-08 14:49:49 +00:00
github-actions[bot] 3494b8c8b1 Windows Server 2019 (20231205) Image Update (#8964)
* Updating readme file for win19 version 20231205.1.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-08 14:43:44 +00:00
github-actions[bot] 83c87d632c Updating readme file for ubuntu20 version 20231204.1.1 (#8965)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-08 12:19:21 +00:00
github-actions[bot] e11b878116 Ubuntu 22.04 (20231205) Image Update (#8966)
* Updating readme file for ubuntu22 version 20231205.1.1

* Update images/ubuntu/Ubuntu2204-Readme.md

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-12-08 12:19:08 +00:00
Shamil Mubarakshin 8437ff3990 [ubuntu] Refactor GitHub package download URL function (#8947)
* [ubuntu] Refactor Github Package URL function

* Fix function and selenium version

* Remove beta/release candidate versions
2023-12-06 14:01:37 +01:00
Shamil Mubarakshin 0ade9f36d3 [ubuntu] Refactor Toolset functions (#8948) 2023-12-06 14:00:26 +01:00
Shamil Mubarakshin a9bc069a35 [ubuntu] Refactor Software Report helpers (#8954) 2023-12-06 13:58:03 +01:00
Vasilii Polikarpov b0fc01efc6 Add deprecation warning to GenerateResourcesAndImage helper (#8958) 2023-12-06 13:56:10 +01:00
Vasilii Polikarpov 5bd6a16cab Validate and update some documentation (#8959) 2023-12-06 13:53:57 +01:00
github-actions[bot] 3a0da34c48 Updating readme file for macOS-11 version 20231127.1 (#8929)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-12-06 10:27:33 +01:00
github-actions[bot] e108764509 Updating readme file for macOS-12 version 20231127.1 (#8921)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-12-05 12:54:10 +01:00
Alexey-Ayupov 69db5c6c63 [macOS] Refactor Common.Helpers (#8924)
* [macOS] Refactor Common.Helpers

* Update readme file

* Remove unnecessary double quotes

---------

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-12-04 12:13:08 +01:00
Shamil Mubarakshin ff1dc02cbc [ubuntu] Refactor test helpers (#8938)
* [ubuntu] Refactor test helpers

* [ubuntu] Adjust help comment
2023-12-04 12:05:25 +01:00
Vasilii Polikarpov 5ed2615017 [Windows] Cleanup various scripts (#8942)
* Use Resolve-GithubReleaseAssetUrl more widely

* Add the Get-ChecksumFromUrl function

* Sort exported functions and add docs

* Remove alias and fix typo

* Fix kind checksum url and syntax

* Fix checksums url for gh cli and msys2

* [Windows] Cleanup various scripts

* Add spaces after type specifications

* Rename the Take-Part function
2023-12-04 10:50:53 +01:00
Shamil Mubarakshin ed911223ab Remove ci-cleanup.yml (#8939) 2023-12-01 14:42:07 +01:00
Mikhail Koliada 3a6122bbaf [Ubuntu] add php-8.3 to 20.04 (#8930) 2023-12-01 11:37:51 +01:00
github-actions[bot] 458529a1c6 Updating readme file for ubuntu20 version 20231126.1.1 (#8896)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-30 22:09:32 +00:00
github-actions[bot] 2549aed0ee Windows Server 2022 (20231126) Image Update (#8894)
* Updating readme file for win22 version 20231126.1.1

* Update images/windows/Windows2022-Readme.md

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-30 18:12:18 +00:00
Stefano Di Nucci ae6af1b8db Add support to client secret containing hyphens (#8927) 2023-11-30 19:10:31 +01:00
Shamil Mubarakshin d919a375b3 Add PR_HEAD_REF env variable to ci-cleanup.yml (#8916)
* Add PR_HEAD_REF env variable to ci-cleanup.yml

* Fix quotes around env var
2023-11-30 17:37:37 +01:00
Vasilii Polikarpov d86c4900fa [Windows] Update functions that get urls and hashes from Github (#8917)
* [Windows] Update function to get hash from github

* Remove redundant function and add documentation

* Fix aws-sam-cli url
2023-11-30 17:12:17 +01:00
Vasilii Polikarpov eb0e4ff100 [Windows] Move Android and VS helpers to dedicated files (#8903) 2023-11-30 16:53:16 +01:00
github-actions[bot] 45a5b970b8 Windows Server 2019 (20231126) Image Update (#8898)
* Updating readme file for win19 version 20231126.1.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-30 12:50:54 +00:00
Vasilii Polikarpov 5f5ab19246 [Mac OS] Rewrite function download_with_retry (#8914)
* [Mac OS] Rewrite function download_with_retry

* Update powershell function DownloadWithRetry
2023-11-30 13:39:32 +01:00
github-actions[bot] bf202afb1e Updating readme file for ubuntu22 version 20231126.1.1 (#8897)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-30 10:44:49 +00:00
Shamil Mubarakshin 0c03739e50 [ubuntu] Refactor Common.Helpers (#8910)
* [ubuntu] Refactor Common.Helpers

* Move Get-AndroidPackages function from BeforeAll

* Fix ParameterBinding
2023-11-30 10:23:27 +01:00
Vasilii Polikarpov 92e22bd8c6 [Windows] Refactor helpers that verify hashsum and signature (#8886) 2023-11-30 09:22:14 +01:00
Vasilii Polikarpov abb81511d4 [Ubuntu] Rewrite function download_with_retry (#8912)
* [Ubuntu] Rewrite function download_with_retry

* Fix loop exit condition
2023-11-29 20:25:29 +01:00
Vasilii Polikarpov 7dba8776df [Windows] Rename and refactor downloading function (#8906) 2023-11-29 13:02:29 +01:00
Vasilii Polikarpov bfe32a2b12 [Windows] Refactor PATH helpers (#8885) 2023-11-29 13:00:16 +01:00
Vasilii Polikarpov c73276d3f6 [Windows] Rename the Invoke-SBWithRetry function (#8880) 2023-11-29 12:58:37 +01:00
Shamil Mubarakshin d2cbbb901b [ubuntu] Change echo to printf for escape sequences (#8905) 2023-11-28 15:22:35 +01:00
Shamil Mubarakshin 435ba67550 [ubuntu] Unify approach to /etc/environment (#8904)
* [ubuntu] Unify approach to /etc/environment

* [ubuntu] fix typo in XDG_CONFIG_HOME name
2023-11-28 15:19:44 +01:00
Vasilii Polikarpov da1c04b81a [Windows] Reimplement function resolving GH asset (#8899)
* [Windows] Reimplement function resolving GH asset

* Fix tests and software report

* Fix selenium-server version check
2023-11-28 15:08:03 +01:00
ilia-shipitsin e8f9c10965 [windows] update NSIS to 3.09 (#8901) 2023-11-28 09:38:00 +01:00
Shamil Mubarakshin c0ce57ffc8 Update report generator name in CONTRIBUTING.md (#8893) 2023-11-28 02:26:12 +01:00
Alexey-Ayupov 408bab6939 [macOS] Update PHP version to 8.3 (#8895)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-28 02:25:42 +01:00
Alexey-Ayupov 5e82420a74 [macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-28 02:25:03 +01:00
Vasilii Polikarpov e1e621e78c [Windows] Update helper function that returns Windows Update states (#8878) 2023-11-27 12:29:42 +01:00
Vasilii Polikarpov 12066050d0 [Windows] Refactor script installing Android SDK and packages (#8877) 2023-11-27 12:28:21 +01:00
Vasilii Polikarpov 9492109c62 [Windows] Refactor test helpers (#8889) 2023-11-27 11:37:49 +01:00
Vasilii Polikarpov 79c347765a [Windows] Unify services handling (#8871)
* [Windows] Unify services handling

* Fix Set-Service usage
2023-11-23 18:08:20 +01:00
Vasilii Polikarpov 6efbc46fc7 [Windows] Update helper name to Expand-7ZipArchive (#8875)
* [Windows] Update helper name to Expand-7ZipArchive

* Fix typo
2023-11-23 11:59:49 +01:00
Vasilii Polikarpov 64d5d2c1f4 [Windows] Rename ToolCache path helpers (#8874) 2023-11-23 11:59:08 +01:00
Vasilii Polikarpov 1254bc94a5 [Windows] Split VSIX installation helper into two (#8872) 2023-11-23 11:58:34 +01:00
Shamil Mubarakshin 1bd9214f41 [ubuntu] Rename build scripts (#8866)
* [ubuntu] Rename build scripts

* [ubuntu] Change reboot to inline shell

* [ubuntu] Move disk space validation to pester tests

* [ubuntu] Rename helper and tests files

* [ubuntu] Changes to cleanup, post-deployment and r scripts
2023-11-22 21:49:23 +01:00
Jesse Houwing 410fd620be Uses the correct env var on windows (#8800)
Based on the changes made to speed up az on ubuntu, we found that this is the correct env var to use.
2023-11-22 16:44:30 +01:00
Vasilii Polikarpov d3e630f774 [Windows] Implement installation helpers refactoring (#8865)
* [Windows] Refactor base Installer helper functions

* Fix helper name

* Fix name gen logic and improve error handling

* Fix hash checking logic

* Fix Install-VsixExtension invocation

* Fix variable name in Install-OpenSSL.ps1

* Fix type for git downloadUrl
2023-11-22 15:14:08 +01:00
github-actions[bot] 46f21c4413 Updating readme file for macOS-11 version 20231117.2 (#8854)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-22 14:11:08 +00:00
sergei-pyshnoi 222b798483 remove node14 from macos (#8860) 2023-11-22 00:56:17 +01:00
sergei-pyshnoi b6046999b6 remove node14 from windows (#8862) 2023-11-22 00:34:40 +01:00
Jesse Houwing a8f17e0207 Cleans telemetry and logs from (#8801)
Running the cleanup post-tests and software inventory, as these generate more logs and more telemetry
2023-11-21 20:16:32 +01:00
sergei-pyshnoi eb6e81b8f2 remove node14 from ubuntu (#8861) 2023-11-21 19:59:14 +01:00
sergei-pyshnoi 092513ca05 [Ubuntu] remove ubuntu 16 and 18 images (#8857) 2023-11-21 19:08:21 +01:00
github-actions[bot] 3875f479ac Updating readme file for macOS-12 version 20231115.2 (#8833)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-21 12:07:00 +00:00
Vasilii Polikarpov d7c36f2257 Fix issue where GetPackerTemplatePath fails in PS5 (#8852) 2023-11-21 10:38:18 +01:00
github-actions[bot] 66991d2b2c Windows Server 2022 (20231115) Image Update (#8826)
* Updating readme file for win22 version 20231115.2.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-21 09:27:15 +00:00
Erik Bershel 50625a842a Fix SBOM workflow logic (#8848)
* Fix SBOM workflow logic

* Revert SYFT pinning for Windows
2023-11-20 18:18:40 +01:00
Vasilii Polikarpov 3977803d81 [Windows] Fix signature for MS Edge webdriver (#8844) 2023-11-20 17:01:34 +01:00
github-actions[bot] 3275edff48 Windows Server 2019 (20231115) Image Update (#8825)
* Updating readme file for win19 version 20231115.10.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Alexey-Ayupov <116575425+Alexey-Ayupov@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-20 13:56:28 +00:00
Erik Bershel b3ddd57d49 [macOS] Add xcodes and xcbeautify to macOS images (#8835) 2023-11-20 14:47:33 +01:00
github-actions[bot] d5c955dfc7 Updating readme file for macos-13-arm64 version 20231115.2 (#8824)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-20 13:36:45 +00:00
github-actions[bot] 9c8a4aea90 Updating readme file for ubuntu22 version 20231115.7.1 (#8819)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-20 13:07:42 +00:00
github-actions[bot] 8bb825ba13 Updating readme file for ubuntu20 version 20231115.8.1 (#8820)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-20 12:48:32 +00:00
Shamil Mubarakshin 436da67f4b [macos] change provisioner script rights (#8840) 2023-11-17 22:21:45 +01:00
sergei-pyshnoi 50ae10289a [Ubuntu] Pin sha256 for docker-compose and Alibaba Cloud CLI (#8790)
* pin sha256 for docker-compose and Alibaba Cloud CLI

* fix syntax in condition
2023-11-17 16:31:49 +01:00
Vasilii Polikarpov 07e8da79f8 [Windows] Use common approach to set machine vars (#8830) 2023-11-17 13:52:52 +01:00
Alexey-Ayupov 045a0de8e2 [macOS] Exclude "Stack" from software report (#8822)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-17 13:30:03 +01:00
Mikhail Koliada 3bbc0dc753 [packer] fix install-powershell script name (#8834) 2023-11-17 13:26:45 +01:00
Erik Bershel 164eb6cdc2 [Ubuntu] Pin SHA256 for PhantomJS and libssl1.1 (#8799) 2023-11-17 11:36:37 +01:00
sergei-pyshnoi cd2cabc7ab [Ubuntu] Add findutils to images (#8823) 2023-11-16 15:00:56 +01:00
Vasilii Polikarpov 0263bdd53e [Windows] Rename image build scripts (#8808) 2023-11-16 11:20:11 +01:00
Shamil Mubarakshin f78a7baa80 [Ubuntu] Fix software report download directory (#8814) 2023-11-15 22:21:38 +01:00
Shamil Mubarakshin f2a3cad69a [ubuntu] Fix template names in GenerateResourcesAndImage.ps1 (#8815) 2023-11-15 19:58:19 +01:00
Alexey-Ayupov 3186c675da [Windows] Update Windows Driver Kit version (#8792) 2023-11-15 18:36:30 +01:00
Alexey-Ayupov 562b6b9e90 [MacOS] Add dotnet 8 (#8806) 2023-11-15 18:26:17 +01:00
Alexey-Ayupov 820f3ffd42 [Ubuntu] Add dotnet 8 (#8807) 2023-11-15 14:17:10 +01:00
Shamil Mubarakshin f9ce4b9de3 Update artifact path for nightly CI (#8810) 2023-11-15 13:55:37 +01:00
Shamil Mubarakshin 8d6a01b370 [macOS] Implement new directories hierarchy (#8741) 2023-11-15 12:12:28 +01:00
Shamil Mubarakshin 5d40b1e213 [Ubuntu] Implement new directories hierarchy (#8627) 2023-11-15 11:36:04 +01:00
Vasilii Polikarpov d1f2c9a3be [Windows] Implement new directories hierarchy (#8616) 2023-11-15 11:24:45 +01:00
Vasilii Polikarpov 84a7deae24 [Windows] Update Visual Studio and .NET (#8805)
* Update VS to 17.8

* Update signature for VS 2019

* Add dotnet 7 to toolset
2023-11-15 11:22:43 +01:00
Erik Bershel 6b001b5325 [macOS] Reconsider YQ installation on macOS 11 (#8793)
* [macOS] Reconsider YQ installation on macOS 11

* Revert previous YQ installation related changes
2023-11-15 10:31:31 +01:00
Alexey-Ayupov 81ef6f228d [macOS] Exclude macOS 13 and 14 from "Stack" test (#8787)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-14 11:58:29 +01:00
Mikhail Koliada 1478804fa2 utils.sh: make brew_smart_install verbose (#8780) 2023-11-13 11:26:00 +01:00
Shamil Mubarakshin e5b8919eeb [macos11] Unlink brew ghc and cabal-install (#8778) 2023-11-11 12:12:39 +01:00
Vasilii Polikarpov df292beac6 [Mac OS] Configure template for Mac OS 14 ARM64 image (#8769)
* Configure template for Mac OS 14 ARM64 image

* Change conditions for ruby
2023-11-10 18:53:24 +01:00
Alexey-Ayupov f685533110 [macOS] Remove Haskell and Cargo packages (#8775)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-10 18:05:14 +01:00
Peter Shepehrd 23e386d1c2 add runner install script for windows image (#8671) 2023-11-10 17:24:16 +01:00
Luke Fritts ded4e461b0 [Windows] Set user agent header to get mysql patch version (#8773) 2023-11-10 16:38:32 +01:00
Shamil Mubarakshin 495f740eda Adjust services handling in Finalize-VM and helpers (#8771) 2023-11-10 16:25:40 +01:00
Alexey-Ayupov 286fb24a63 [macOS] Add AWS cli to the macOS 13 arm64 (#8774)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-10 11:22:42 +01:00
Peter Shepehrd 25a3a04fb0 [Ubuntu] add runner-package to curated images (#8474) 2023-11-09 21:43:12 +01:00
Alexey-Ayupov 7a11d3fc98 Fix macOS 13 arm64 software update part (#8772)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-11-09 15:45:50 +01:00
Vasilii Polikarpov e2f77cd4de [Mac OS] Add newer versions of Go and Node.js (#8752) 2023-11-09 11:31:45 +01:00
Vasilii Polikarpov 01fe87da2e [Mac OS] Adapt code for Mac OS 14 image (#8760) 2023-11-09 11:29:07 +01:00
github-actions[bot] 433178adf5 Updating readme file for macos-13 version 20231025.2 (#8672)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-11-07 20:06:04 +01:00
sergei-pyshnoi afcc76b48a remove ndk23 from windows images (#8746) 2023-11-07 18:52:47 +01:00
Vasilii Polikarpov 8998a4c907 [Mac OS] Add missing macOS Sonoma selector (#8759) 2023-11-07 17:27:55 +01:00
Vasilii Polikarpov bbbda7bddf [Mac OS] Update Anka Helpers to build Mac OS 14 ARM image (#8757)
* Update Anka Helpers to build Mac OS 14 ARM image

* Drop Powershell 5 support
2023-11-07 16:05:11 +01:00
ilia-shipitsin be3fa4f3c3 [macos] add android SDK to SW report on Ventura ARM64 (#8715) 2023-11-07 09:20:25 +01:00
sergei-pyshnoi 9d94573ccd remove ndk 23 from ubuntu images (#8745) 2023-11-06 20:49:14 +01:00
ilia-shipitsin 030fc05665 [windows] split docker install into 3 scripts (#8688)
* [windows] split docker install into 3 scripts

the idea is to end with 1 script per 1 component for better
observability

* Update images/win/scripts/Installers/Install-Docker-Compose.ps1

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>

* Update images/win/scripts/Installers/Install-Docker-WinCred.ps1

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

* fix test

---------

Co-authored-by: Erik Bershel <110455084+erik-bershel@users.noreply.github.com>
Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>
2023-11-06 19:40:33 +01:00
Vasilii Polikarpov 98c6d29ec9 [Mac OS] Remove 'LTS' suffix from OpenJDK version (#8751) 2023-11-06 19:24:44 +01:00
sergei-pyshnoi da0af62e91 remove ndk 23 from macos images (#8747) 2023-11-06 19:09:03 +01:00
Erik Bershel 2caa346dc5 [Windows] Remove Android SDK Patch applier v4 (#8750) 2023-11-06 18:05:31 +01:00
github-actions[bot] 7b64e0503e Updating readme file for macOS-12 version 20231029.1 (#8695)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-06 13:02:40 +00:00
ilia-shipitsin a276d820b2 [ubuntu] split git and git-lfs into separate install scripts (#8711)
for better observability of integrity validation let us split install
script into two
2023-11-06 11:54:23 +01:00
Erik Bershel 0226f7ba02 Revert "[MacOS] Unpin Virtualbox" (#8731)
* Revert "[MacOS] Unpin Virtualbox (#8653)"

This reverts commit f3d011eec1.

* Add more info
2023-11-06 11:53:10 +01:00
Harmen Stoppels b4c925075c Add gfortran-13 (#8702) 2023-11-03 21:27:06 +01:00
Vasilii Polikarpov 972784c043 [Mac OS] Add template for Mac OS 14 image (#8733) 2023-11-03 16:46:38 +01:00
github-actions[bot] 5d6938f680 Updating readme file for macOS-11 version 20231030.1 (#8694)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-03 11:57:42 +00:00
github-actions[bot] 2824879238 Updating readme file for win22 version 20231029.1.1 (#8686)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-02 21:15:56 +00:00
Vasilii Polikarpov 586dfe6911 [Mac OS] Temporary disable VNC for Mac OS 14 (#8717) 2023-11-02 21:47:49 +01:00
Erik Bershel 50803a9ecd Revert "[Ubuntu] Pin bindgen cli version to avoid bug (#8714)" (#8720)
This reverts commit 3146c7010e.
2023-11-02 21:47:24 +01:00
Erik Bershel 318ec94985 Revert "[Windows] Pin bindgen cli version to avoid bug (#8713)" (#8719)
This reverts commit 1dac9b9f6b.
2023-11-02 21:46:42 +01:00
github-actions[bot] eee63d18fc Updating readme file for win19 version 20231029.1.1 (#8687)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-02 19:13:09 +00:00
github-actions[bot] 960f3f05f6 Updating readme file for ubuntu20 version 20231030.2.1 (#8690)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-02 16:01:11 +00:00
github-actions[bot] a8e7f69ab1 Updating readme file for ubuntu22 version 20231030.2.1 (#8691)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-11-02 15:58:10 +00:00
Erik Bershel 1dac9b9f6b [Windows] Pin bindgen cli version to avoid bug (#8713) 2023-11-02 15:56:35 +01:00
Erik Bershel 53416cd923 [Ubuntu] Add more checksum validations (#8660) 2023-11-02 15:40:32 +01:00
Erik Bershel 3146c7010e [Ubuntu] Pin bindgen cli version to avoid bug (#8714) 2023-11-02 13:52:24 +01:00
Luke Fritts cdbbd8a445 fix: checksum search for Kotlin (#8704)
* [Ubuntu] Fix checksum search for Kotlin

* [Windows] Fixed checksum search for Kotlin
2023-11-01 23:00:44 +01:00
Vasilii Polikarpov 2094c7eb2c Escape quotes when running in PowerShell 7.0-7.2 (#8705) 2023-11-01 20:19:37 +01:00
github-actions[bot] 2d1868a050 Updating readme file for macos-13-arm64 version 20231024.2 (#8673)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-31 20:54:36 +00:00
Mikhail Koliada e52e9c94e8 [macOS] increase timeout for the macOS ci (#8692) 2023-10-31 14:17:30 +01:00
Jakub Oskera 7cd555ab9e fix: bump libssl version to ubuntu2.20 (#8682)
Signed-off-by: Jakub Oskera <iam@jakuboskera.dev>
Co-authored-by: Jakub Oskera <jakub.oskera@rws.com>
2023-10-30 11:51:09 +01:00
Vasilii Polikarpov 441bf91f04 [Ubuntu] Update apt repos list in documentation (#8634) 2023-10-30 11:36:22 +01:00
Vasilii Polikarpov f3d011eec1 [MacOS] Unpin Virtualbox (#8653)
* [MacOS] Unpin Virtualbox

* Remove obsolete virtualbox kext pester test
2023-10-27 15:59:45 +02:00
Vasilii Polikarpov 804aabd786 [Windows] Remove out-of-support vs components (#8678) 2023-10-27 15:52:17 +02:00
sergei-pyshnoi 917c3930d4 [Ubuntu] Add PGP validation for swift (#8652) 2023-10-27 11:13:35 +02:00
Vasilii Polikarpov a84b44268a [Mac OS] Fix logic for retrying AppleScript execution (#8662) 2023-10-27 09:32:43 +02:00
github-actions[bot] a9d78d7787 Windows Server 2019 (20231025) Image Update (#8667)
* Updating readme file for win19 version 20231025.2.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 22:52:29 +00:00
github-actions[bot] bc078d1232 Updating readme file for win22 version 20231024.1.1 (#8668)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 22:39:05 +00:00
github-actions[bot] 49cf80684e Updating readme file for ubuntu20 version 20231025.1.1 (#8664)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 18:59:36 +00:00
github-actions[bot] 470e6967e6 Updating readme file for ubuntu22 version 20231025.1.1 (#8663)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 18:53:04 +00:00
ilia-shipitsin 883df0594b [macos] simplify "brew_smart_install" helper (#8639)
* [macos] homebrew: use hardcoded condition for jq installation

we cannot use "jq" if we are asked to install "jq"

* [macos] always use "brew install"

* [macos] add retries to "get_github_package_download_url" helper

* [macos] add retries to chrome install script

* [macos] add retries to OpenJDK install script

* [macos] add retries to miniconda installer

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

* fix copy-paste error

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

* Update images/macos/provision/core/openjdk.sh

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

---------

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>
2023-10-26 15:17:57 +02:00
github-actions[bot] 7ca7296ba5 Updating readme file for win22 version 20231023.1.1 (#8643)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 11:19:22 +00:00
github-actions[bot] 83cac0bd20 Updating readme file for win19 version 20231023.1.1 (#8644)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 11:00:00 +00:00
github-actions[bot] 388d55d0d7 Updating readme file for ubuntu22 version 20231022.1.1 (#8636)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-10-26 12:21:11 +02:00
github-actions[bot] ad34bed33e Updating readme file for ubuntu20 version 20231022.1.1 (#8637)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-10-26 12:20:49 +02:00
Vasilii Polikarpov 378c4d7511 [MacOS] improve errexit option handling (#8432)
* [MacOS] improve errexit option handling

* Prevent prompting for override when unzipping

* Explicitly allow failing when installing virtualbox

* Remove libtcl symlinks

* Add debug output
2023-10-26 11:28:45 +02:00
github-actions[bot] fc9431c2eb Updating readme file for macos-13-arm64 version 20231017.1 (#8586)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-10-26 10:55:05 +02:00
github-actions[bot] 1e73eaf182 Updating readme file for macos-13 version 20231018.14 (#8601)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-26 03:51:17 +00:00
sergei-pyshnoi 1687f31a3b [MacOS] Add xcode 15.0.1 (#8604) 2023-10-24 15:09:52 +02:00
sergei-pyshnoi 834cd084aa [macOS] add gcc 13 to macos images (#8563) 2023-10-23 21:59:31 +02:00
Alexey-Ayupov e4a68e6300 Revert "Remove Python 3.12 from the toolcache (#8510)" (#8638)
This reverts commit 929931f617.

Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-10-23 21:49:38 +02:00
Erik Bershel d818bf1a01 Add hash check for Kotlin, Minikube, AWS SAM CLI (#8596) 2023-10-23 14:36:13 +02:00
sergei-pyshnoi 567d74923a [Ubuntu] Fix kubernetes tools install (#8609) 2023-10-23 14:34:26 +02:00
ilia-shipitsin 254e66d02d unpin PyPy checksum (#8633) 2023-10-23 10:05:30 +02:00
ilia-shipitsin 58ccf6762a [macos] improve brew caching approach (#8630) 2023-10-23 09:17:15 +02:00
Erik Bershel 6a98903627 [Ubuntu] Add checksum validation for Aliyun CLI, CMake, Docker Compose v2 (#8612)
* Add checksums for Aliyun, CMake, Docker Compose v2

* After review changes

* Download Aliyun CLI from github release
2023-10-22 15:47:36 +02:00
Vasilii Polikarpov 62cd627ce7 [Windows] Rollback and pin Strawberry Perl (#8622) 2023-10-20 22:17:58 +02:00
ilia-shipitsin 09416daff2 [macos] add retries to "brew install" (#8608) 2023-10-20 15:56:54 +02:00
ilia-shipitsin 5780fe8143 [macos] enable android cmdtools on macos-13 arm64 (#8587) 2023-10-20 11:23:41 +02:00
ilia-shipitsin 34fa3471f8 [macos] introduce more flexible way of managind xcode runtimes (#8572) 2023-10-20 11:22:53 +02:00
ilia-shipitsin 16f681595d [windows] disable WindowsUpdate service (#8605) 2023-10-20 09:36:17 +02:00
ilia-shipitsin 8c66e96bea [macos] use brew_smart_install where appropriate (#8607) 2023-10-20 08:50:55 +02:00
ilia-shipitsin a1ef070e65 [macos] add retries to edge install script (#8592) 2023-10-20 08:50:04 +02:00
sergei-pyshnoi 4ea41b2f20 add filter for upcoming version in mongodb parser (#8589) 2023-10-19 17:57:16 +02:00
ilia-shipitsin b06da59aba [macos] add reties to CodeQL download step (#8582)
Co-authored-by: Henry Mercer <henry.mercer@me.com>
2023-10-19 15:47:41 +02:00
Alexey-Ayupov 9a9a185b1a [macOS] add node to software report macOS 13 arm64 (#8603)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-10-19 14:43:42 +02:00
Vasilii Polikarpov 10d8554b86 [Mac OS] Fix Edge Updater configuration steps (#8569) 2023-10-19 11:49:01 +02:00
Vasilii Polikarpov 3e7beab7fa [Windows] Fix Java 21 location (#8585) 2023-10-19 11:38:41 +02:00
ilia-shipitsin 6449d50ffd [macos] add retries to yarn install script (#8593) 2023-10-19 09:38:19 +02:00
github-actions[bot] 87d3221730 Updating readme file for win22 version 20231016.1.1 (#8579)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-18 18:01:34 +00:00
github-actions[bot] faac8776f4 Updating readme file for ubuntu22 version 20231016.1.1 (#8577)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-18 17:35:11 +00:00
github-actions[bot] 13db670118 Updating readme file for win19 version 20231016.1.1 (#8580)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-18 17:25:35 +00:00
Shamil Mubarakshin e9fc71683f Remove Storage Account and VHD refs (#8581) 2023-10-18 19:11:46 +02:00
ilia-shipitsin e78225c349 [macos] add retries to PyPy installation (#8578) 2023-10-18 16:49:00 +02:00
Vasilii Polikarpov 691345d5ba [MacOS] Install latest version of stack with ghcup (#8525) 2023-10-18 15:48:23 +02:00
Alexey-Ayupov 29ce1c3a2b [Ubuntu] fix VersionPattern for Clang v15 (#8575)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2023-10-18 15:46:20 +02:00
github-actions[bot] aaa37dfbbd Updating readme file for ubuntu20 version 20231016.1.1 (#8576)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-18 12:46:58 +00:00
ilia-shipitsin e113e2f6b8 [macos] introduce toolset possibility to install Android SDK Tools (#8573) 2023-10-18 10:17:43 +02:00
ilia-shipitsin 59fd426420 [macos] retry powershell meta download (#8571) 2023-10-18 09:55:17 +02:00
Vasilii Polikarpov 0253f21ea5 [Ubuntu] Add Java 21 (#8560) 2023-10-18 09:51:22 +02:00
Henry Mercer f2d892281b macOS: Cache only the latest version of CodeQL (#8420)
Previously, we cached two versions since we prioritized hitting the
toolcache over landing new releases quicker. However after
experimenting with this, we have decided to prioritize getting new
releases into customers' hands more quickly.
2023-10-17 22:18:48 +02:00
Erik Bershel 5c4b424bf6 [Ubuntu] Add helpers to work with checksums (#8552) 2023-10-17 12:27:13 +02:00
ilia-shipitsin 0050697619 [macos] move android "cmdline-tools" to toolset (#8565) 2023-10-17 11:23:09 +02:00
Vasilii Polikarpov c598da4d84 [macOS] Add Chrome to arm64 image (#8526) 2023-10-17 09:35:03 +02:00
sergei-pyshnoi 9e6658b0b2 add gcc-13 to ubuntu22 (#8562) 2023-10-17 09:32:26 +02:00
sergei-pyshnoi 1a9f44f7be update heroku cli installation script (#8566) 2023-10-17 09:31:49 +02:00
sergei-pyshnoi 9d1c61329a Update and refactor SQLOLEDBDriver installer (#8553) 2023-10-16 17:03:27 +02:00
Vasilii Polikarpov 3aa3daa4f9 [Ubuntu] Add Mozilla PPA manually (#8561) 2023-10-16 15:19:04 +02:00
Alexey-Ayupov 2051564688 Set static UUID to the clean image (#8564) 2023-10-16 15:18:23 +02:00
Shamil Mubarakshin de1f529882 [macos] Add nvm 20 to toolset (#8559) 2023-10-16 09:59:56 +02:00
Erik Bershel 486298a566 [Windows] Add checksum verification for Aliyun CLI (#8512) 2023-10-16 09:45:23 +02:00
Shamil Mubarakshin b3b303d294 [macos] Remove python2 UnixTools and adjust brew symlinks (#8452) 2023-10-15 20:34:15 +02:00
Vasilii Polikarpov 060ad1383a [macOS] Install Java 21 on MacOS 13 arm64 (#8545) 2023-10-13 16:00:45 +02:00
Vasilii Polikarpov efb9babb4b [macOS] Install Java 21 on MacOS x64 (#8535) 2023-10-13 15:48:17 +02:00
Vasilii Polikarpov 8bc2448fe1 [Windows] Add Java 21 (#8534) 2023-10-13 15:45:18 +02:00
Alexey-Ayupov 36165e08cd [Windows] revert Az CLI to the latest version (#8549) 2023-10-13 14:35:56 +02:00
ilia-shipitsin 2fd64bb024 [macos] add retries when installing DotNETSDK (#8550) 2023-10-13 14:29:01 +02:00
Alexey-Ayupov 53d0847239 [Anka] Exclude upgrade to Sonoma (#8551) 2023-10-13 14:20:43 +02:00
Alexey-Ayupov c138066e21 [Ubuntu] revert azcli to the latest version (#8548) 2023-10-13 14:05:09 +02:00
Alexey-Ayupov 15a60352c0 [macOS] Fix Gradle test (#8543) 2023-10-12 20:38:12 +02:00
Shamil Mubarakshin 229285b76d [macos] Adjust activesupport ruby gem version pinning (#8541) 2023-10-12 19:06:03 +02:00
Vasilii Polikarpov acbe023579 [macOS] Add XCode 15.0.1 RC1 (#8532) 2023-10-12 18:55:52 +02:00
Vasilii Polikarpov ddfdbbac21 [macOS] Fix java info in toolsets (#8538) 2023-10-12 17:47:45 +02:00
Alexey-Ayupov cde475b36b Update anka clean script (#8537) 2023-10-12 15:06:30 +02:00
sergei-pyshnoi eff24a90c9 [MacOS] Add closing System Preference window for arm64 (#8470) 2023-10-12 11:31:35 +02:00
Tingluo Huang d77bb13e97 [macOS] cache most used GitHub actions
* Download actions/action_versions latest release on macOS and set ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE.

* Feedback.
2023-10-12 10:54:39 +02:00
Tingluo Huang c7517abd08 [Windows] cache most used GitHub actions
* Download actions/action_versions latest release on Windows and set ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE.

* feedback

* fix get latest package on Windows.

* invoke test
2023-10-12 10:43:41 +02:00
Tingluo Huang a80012b48e [Ubuntu] cache most used GitHub actions 2023-10-11 19:31:13 +02:00
sergei-pyshnoi 32f2e8a812 [Windows] update signature for VS studio installer (#8524) 2023-10-11 18:43:25 +02:00
Alexey-Ayupov a2cf90ce21 Revert "[Ubuntu] Pin Terraform 1.5.7 (#8504)" (#8522)
This reverts commit 4d6ce38166.
2023-10-11 13:01:19 +02:00
Erik Bershel be42f35015 [Windows] Add checksum verification for Firefox browser (#8411) 2023-10-11 11:06:47 +02:00
sergei-pyshnoi 6315b7ed2c [Windows] Add signature validation (#8390) 2023-10-11 11:02:59 +02:00
ilia-shipitsin 47a634e28b [windows] implement checksum validation for Miniconda (#8506) 2023-10-11 11:01:06 +02:00
Alexey-Ayupov 929931f617 Remove Python 3.12 from the toolcache (#8510) 2023-10-10 16:14:09 +02:00
ilia-shipitsin f35025b90e [windows] ignore error on copying user profile warmup (#8493) 2023-10-10 15:27:13 +02:00
ilia-shipitsin a50d7b432d [windows] reverting SQL LocalDB warmup (#8505) 2023-10-10 15:26:22 +02:00
Vasilii Polikarpov 4d6ce38166 [Ubuntu] Pin Terraform 1.5.7 (#8504) 2023-10-10 13:52:01 +02:00
ilia-shipitsin 92111d1caa [windows] create powershell modules cache permanently (#8495) 2023-10-10 13:48:18 +02:00
Shamil Mubarakshin cb397d0be9 [windows] Fix code style in Install-VCRedist.ps1 (#8496) 2023-10-10 09:02:52 +02:00
Vasilii Polikarpov 2ac4c5a6fd [Ubuntu] Change destination for toolcache assets (#8485) 2023-10-09 15:47:15 +02:00
Shamil Mubarakshin 99642f1c19 [macos] Add activesupport gem workaround for cocoapods (#8497) 2023-10-09 15:39:39 +02:00
Shamil Mubarakshin 804736733e [macos13] Fix preimagedata for arm64 (#8488) 2023-10-09 15:34:51 +02:00
ilia-shipitsin d71a0fe1a5 [windows] actually suppress output of "az devops login" (#8492) 2023-10-09 11:47:56 +02:00
Vasilii Polikarpov ddebd05257 [Windows] Use function to get selenium asset url (#8448) 2023-10-09 10:55:12 +02:00
Shamil Mubarakshin 23ff0d7468 Add GitHub ci workflows (#8464) 2023-10-06 15:51:08 +02:00
ilia-shipitsin c6820d1a5b [windows] add SQL LocalDB warmup (#8435) 2023-10-06 12:22:00 +02:00
ilia-shipitsin 2925b3ae95 [windows] introduce dedicated PowerShell configuration step (#8453)
* windows: implement separate step for configuring Powershell

* windows: refactor PyPy checksum validation

PyPy checksum validation uses PowerHTML module which is now available
as a part of powershell profile

* reformat

* Update images/win/scripts/Installers/Configure-PowerShell.ps1

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>

---------

Co-authored-by: Vasilii Polikarpov <126792224+vpolikarpov-akvelon@users.noreply.github.com>
2023-10-06 12:03:28 +02:00
Vasilii Polikarpov cbe9acb6bc Fix code style in Install-AzureCli.ps1 (#8480)
Following https://github.com/actions/runner-images/commit/0795b9ed8be55c2c08f33647e103f70dd18d9df6
2023-10-06 11:54:51 +02:00
Alexey-Ayupov 6d730133bf [windows] Pin Azure CLI to 2.52.0 (#8478) 2023-10-06 11:53:28 +02:00
Vasilii Polikarpov e2c5aaf70a [Windows] Exit on Docker installation failure (#8473) 2023-10-06 11:31:36 +02:00
Mikhail Koliada dfc4f9c7af [Ubuntu] pin az-cli to v2.52.0 (#8479) 2023-10-06 11:28:54 +02:00
ilia-shipitsin f6b2dd2ddd [windows] disable Windows Update Medic Service (#8431)
Related: https://github.com/actions/runner-images-internal/issues/5463
2023-10-06 02:14:06 +02:00
ilia-shipitsin 0795b9ed8b [windows] warmup Azure CLI (#8427)
* [windows] warmup Azure CLI

Improve Azure CLI first run timing.
Follow up: https://github.com/actions/runner-images/pull/8294

Co-authored-by: Jesse Houwing <jesse.houwing@gmail.com>

* expose AZURE_EXTENSION_DIR to image generation

* suppress az warmup output

* refresh PATH before warmup

---------

Co-authored-by: Jesse Houwing <jesse.houwing@gmail.com>
2023-10-05 15:03:58 +02:00
Vasilii Polikarpov fbaf4c67c6 [Windows] Simplify ghcup installation (#8454) 2023-10-05 15:02:18 +02:00
Alexey-Ayupov 60963fb52e [macOS] Add java to the macOS 13 arm64 (#8395) 2023-10-05 12:42:16 +02:00
github-actions[bot] 8d1fc7309c Updating readme file for win22 version 20231002.1.0 (#8444)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-05 10:41:47 +00:00
github-actions[bot] 2ffd260f96 Updating readme file for win19 version 20231002.2.0 (#8443)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-05 10:40:50 +00:00
github-actions[bot] 7e34d94616 Updating readme file for ubuntu20 version 20231002.1.0 (#8438)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-05 08:52:06 +00:00
github-actions[bot] 3a8f506d58 Updating readme file for ubuntu22 version 20231001.1.0 (#8437)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-05 08:36:51 +00:00
ilia-shipitsin 2e47a88733 [windows] implement Android SDK cmdtools checksum (#8357) 2023-10-05 09:31:22 +02:00
github-actions[bot] 31a055838e Updating readme file for macos-13 version 20231002.1 (#8446)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-04 18:18:23 +00:00
Shamil Mubarakshin 543e7cbf49 [macos] Add python 3.12 to toolcache (#8449) 2023-10-04 17:23:04 +02:00
Vasilii Polikarpov 2fea4ebd8d [Windows] Verify hash sum for cobertura (#8447) 2023-10-04 17:20:54 +02:00
Henry Mercer 5669edde75 [Windows] Cache only the latest version of CodeQL (#8421)
* Windows: Cache only the latest version of CodeQL

Previously, we cached two versions since we prioritized hitting the toolcache over landing new releases quicker. However after experimenting with this, we have decided to prioritize getting new releases into customers' hands more quickly.

* Break Windows tests down into separate assertions

* List contents of bundle after extracting
2023-10-04 16:31:00 +02:00
Alexey-Ayupov 59805f59ab [macOS] Exclude virtualbox from macOS 13 arm64 (#8469) 2023-10-04 15:44:28 +02:00
Erik Bershel e1bcc61827 [Windows] Add checksum validation for JDKs (#8404) 2023-10-04 14:59:44 +02:00
Erik Bershel ae487529f3 [Windows] Add checksum validation for Stack (#8403) 2023-10-04 14:58:45 +02:00
Erik Bershel 8b23f693e9 [Windows] Install NSIS package from Chocolatey (#8394) 2023-10-04 14:44:05 +02:00
Alexey-Ayupov 038cb56f85 [Windows] Exclude KB5001148 from windows update (#8456) 2023-10-04 09:21:16 +02:00
Shamil Mubarakshin f444d7b666 [windows] Add python 3.12 to toolcache (#8451) 2023-10-03 21:20:02 +02:00
github-actions[bot] 44b47c7bae Updating readme file for macOS-12 version 20230921.4 (#8376)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-10-03 16:08:22 +00:00
Shamil Mubarakshin fe838dd11f [ubuntu] Add python 3.12 to toolcache (#8450) 2023-10-03 17:47:21 +02:00
Shamil Mubarakshin 82de56d5d6 [macos] Adjust Xcode storage Uri (#8445) 2023-10-03 11:40:35 +02:00
Vasilii Polikarpov 72bdf7ea7c [Windows] Install mingw binaries manually (#8418) 2023-10-03 09:48:40 +02:00
Erik Bershel 375e9a1c27 [Windows] PyPy3.9-7.3.13 SHA missing on pypy.org (#8429) 2023-10-02 17:41:15 +02:00
Vasilii Polikarpov b3c54ca36b [Ubuntu] Improve errexit option handling (#8352) 2023-10-02 15:52:49 +02:00
Alexey-Ayupov 953177d098 [macOS] Update software report for macOS 13 arm64 (#8433) 2023-10-02 15:18:08 +02:00
sergei-pyshnoi d8373eebdb add 20 node to toolsets (#8408) 2023-10-02 10:45:53 +02:00
Henry Mercer fa18860071 Linux: Cache only the latest version of CodeQL (#8419)
Previously, we cached two versions since we prioritized hitting the
toolcache over landing new releases quicker. However after
experimenting with this, we have decided to prioritize getting new
releases into customers' hands more quickly.
2023-10-02 10:45:16 +02:00
sergei-pyshnoi b3852fe5b9 [windows] add node v20 (#8406) 2023-09-30 09:04:14 +02:00
ilia-shipitsin 6f2f889b0a [windows] warmup "az devops" for the first run (#8410) 2023-09-29 17:02:51 +02:00
sergei-pyshnoi 5bb622f98c add 20 node to toolsets (#8407) 2023-09-29 12:36:01 +02:00
sergei-pyshnoi febcdc62d3 [Windows] Rework MySQL installation script (#8398) 2023-09-29 12:35:23 +02:00
Erik Bershel 0b7b4144a2 [Windows] Add checksum validation for Kind (#8384) 2023-09-29 12:20:16 +02:00
Mikhail Koliada 361127db51 [macOS] add README file for M1 runner (#8414) 2023-09-29 12:18:57 +02:00
ilia-shipitsin fca7da3969 [windows] implement PyPy checksum validation (#8338) 2023-09-29 12:14:12 +02:00
github-actions[bot] b427c0b2b3 Updating readme file for macOS-11 version 20230921.4 (#8377)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-29 09:26:59 +00:00
github-actions[bot] a4234d46c7 Updating readme file for ubuntu22 version 20230924.1.0 (#8382)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-28 12:35:08 +00:00
Alexey-Ayupov db8e758cb7 [macOS] remove python 3.10 from arm64 toolcache (#8405) 2023-09-28 14:10:08 +02:00
github-actions[bot] 4d9ce81db6 Updating readme file for win22 version 20230924.1.0 (#8379)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-28 10:41:59 +00:00
github-actions[bot] f3d376e191 Updating readme file for win19 version 20230924.1.0 (#8378)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-28 10:29:41 +00:00
ilia-shipitsin 8de4497f77 [windows] implement DotNETSDK checksum validation (#8355) 2023-09-28 11:57:30 +02:00
ilia-shipitsin 620e2c26b2 [windows] disable StorSvc for runners (#8388) 2023-09-28 11:33:59 +02:00
ilia-shipitsin 74242a4687 [windows] disable TSVNCache.exe (#8374)
TortoiseSVN scans all drives for SVN repos. it eats disk IO,
let us add registry setting which disables that activity
2023-09-28 10:03:09 +02:00
Vasilii Polikarpov 62e9da75e7 [Windows] Fix mingw related lines in software report (#8389) 2023-09-28 09:56:05 +02:00
github-actions[bot] 5e9e8cd16d Updating readme file for ubuntu20 version 20230924.1.0 (#8381)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-28 06:48:30 +00:00
Alexey-Ayupov ab3cfaf685 Remove not used variable group (#8396) 2023-09-27 21:52:46 +02:00
Erik Bershel 978a92f44c [Windows] Add checksum validation for MSYS2 (#8385) 2023-09-27 13:01:51 +02:00
Erik Bershel 77724a9672 [Windows] Add checksum verification for AWS SAM CLI (#8316) 2023-09-27 13:00:54 +02:00
Mikhail Koliada 64f732022d [macOS] remove macOS 11 anka packer template (#8391) 2023-09-27 13:00:07 +02:00
Erik Bershel a1206f1a5c [Windows] Add checksum verification for GitHub CLI (#8360) 2023-09-26 13:08:31 +02:00
ilia-shipitsin 9eabbcd8d0 [windows] missing openssl pester tests (#8351)
add tests for

(*) OpenSSL location

(*) OpenSSL package type ("full" is required)
2023-09-26 09:35:12 +02:00
Vasilii Polikarpov 2cbf4a7f93 [Mac OS] Remove hub utility (#8364) 2023-09-26 09:32:02 +02:00
Vasilii Polikarpov 8cb738bb54 [Ubuntu] Remove hub utility (#8363) 2023-09-26 09:31:34 +02:00
Vasilii Polikarpov 9f764f7429 [Windows] Remove hub utility (#8365) 2023-09-26 09:30:27 +02:00
github-actions[bot] f05152105f Updating readme file for macos-13 version 20230924.1 (#8375)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-25 12:38:13 +00:00
Erik Bershel fe051ba2ba [Windows] Add checksum verification for Git (#8317) 2023-09-25 11:58:47 +02:00
ilia-shipitsin ac365421b0 [windows] implement checksum validation for rustup (#8314) 2023-09-25 11:51:41 +02:00
Mikhail Koliada 37b6325815 [macOS] do not list Xcode-install in sw report on OS13 (#8370) 2023-09-24 13:11:11 +02:00
github-actions[bot] e72f9755c3 Updating readme file for macOS-12 version 20230916.1 (#8322)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-23 14:34:51 +00:00
Mikhail Koliada 0ac9d155ab [macOS] do not install xcode-install gem on Ventura (#8366) 2023-09-22 16:29:25 +02:00
Vasilii Polikarpov 19c23d1208 Add mono to mac OS 13 image (#8342) 2023-09-22 12:33:37 +02:00
Vasilii Polikarpov fb634ef652 Update manual to clarify helper script purpose (#8356)
* Update manual to clarify helper script purpose

* Update structure and add table of contents
2023-09-22 11:36:22 +02:00
ilia-shipitsin 73b4a8a4f2 helpers/GenerateResourcesAndImage.ps1: check for interactive mode (#8326)
* helpers/GenerateResourcesAndImage.ps1: check for interactive mode

when RG already exists, we asked user whether to delete it, however it
is only possible in interactive mode

* mention -ReuseResourceGroup as an option, add back new line
2023-09-22 11:34:04 +02:00
Erik Bershel e1ac652396 [Windows] Add checksum verification for Kotlin (#8318) 2023-09-22 11:26:00 +02:00
github-actions[bot] 6cc56bac93 Updating readme file for macOS-11 version 20230915.2 (#8309)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-22 09:04:21 +00:00
sergei-pyshnoi 55ce401f7f [Windows] Add signature validator for MongoDB (#8304) 2023-09-22 10:52:16 +02:00
Alexey-Ayupov c0a84fc9dd Switch to the new Azure Function (#8359) 2023-09-22 10:26:55 +02:00
github-actions[bot] 632035024c Updating readme file for ubuntu22 version 20230917.1.0 (#8307)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-21 16:28:02 +00:00
Mikhail Koliada ed105d016e [macOS] improve openssl@1.1 installation on arm64 (#8353) 2023-09-21 13:57:24 +02:00
github-actions[bot] a0f082f47b Updating readme file for win22 version 20230918.1.0 (#8323)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-21 10:51:53 +00:00
github-actions[bot] 055b86c09f Updating readme file for ubuntu20 version 20230917.1.0 (#8308)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-21 10:45:58 +00:00
github-actions[bot] 4669a5d34f Updating readme file for win19 version 20230918.1.0 (#8334)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-21 10:38:54 +00:00
ilia-shipitsin e3723b394a [windows] fix openssl package condition (#8347)
we intend to install full package, not light.
accidently condition was incorrect
2023-09-21 11:46:14 +02:00
Vasilii Polikarpov 1a5e1b25a2 Update vscode configuration (#8346) 2023-09-20 18:58:26 +02:00
garfthoffman e145f2fa36 add boolean to control when to run anka push during clean generation (#8305) 2023-09-20 18:06:52 +02:00
Vasilii Polikarpov 7c2097edab [Windows] Fix typo in function name (#8345) 2023-09-20 17:21:04 +02:00
Vasilii Polikarpov 601b21b1a6 Rename Google Cloud SDK to CLI (#8335) 2023-09-20 16:32:41 +02:00
Erik Bershel efb0feba5e [macOS] Add Android NDK 26 (#8331) 2023-09-20 09:38:40 +02:00
Erik Bershel ede9c210d8 [Windows] Add Android NDK 26 (#8332) 2023-09-20 09:38:22 +02:00
Erik Bershel 1040b412a7 [macOS] Update Xcode 15.0 to 15A240d (#8324) 2023-09-20 09:38:03 +02:00
Mikhail Koliada 869433e6b2 [Ubuntu] move clang 12 from 22.04 (#8329) 2023-09-19 19:25:14 +02:00
Erik Bershel 89c7ff156e [Ubuntu] Add Android NDK 26 (#8330) 2023-09-19 19:22:57 +02:00
Mikhail Koliada e3032a9bc3 [macOS] do not install intel related symlinks on arm64 openssl (#8328) 2023-09-19 14:46:33 +02:00
Mikhail Koliada 1e0ff7bfd7 [macOS] pin openssl@1.1.1 in arm64 image (#8315) 2023-09-19 00:34:08 +02:00
ilia-shipitsin 609078e377 [windows] clarify Install-AzureModules description (#8273) 2023-09-18 18:37:14 +02:00
ilia-shipitsin cd9413ee05 [windows] fix openssl installation (#8313) 2023-09-18 18:11:13 +02:00
Mikhail Koliada 3b6bcd7dca [macOS] drop spaceship env variables from Xcode.ps1 (#8310) 2023-09-18 18:02:56 +02:00
Alexey-Ayupov 55c68fc638 Move the conversion step after the software report (#8312) 2023-09-18 16:28:37 +02:00
Alexey-Ayupov 2633136009 [Windows] Update VM and Disk sizes in packer (#8311) 2023-09-18 16:01:58 +02:00
Erik Bershel 68e600ace0 [Windows] Add some helpers to work with checksums (#8262) 2023-09-18 12:00:27 +02:00
Shamil Mubarakshin 824743a429 [windows] Remove Go 1.18x (#8301) 2023-09-15 21:06:16 +02:00
Shamil Mubarakshin b19da9c52d [macos] Remove Go 1.18x (#8300) 2023-09-15 21:03:27 +02:00
Shamil Mubarakshin 7704a85e7f [ubuntu] Remove Go 1.18.x (#8302) 2023-09-15 15:58:25 +02:00
Shamil Mubarakshin 329ed9bb08 Adjust MacOs13 arm64 base image generation script (#8303) 2023-09-15 14:32:34 +02:00
sergei-pyshnoi fa9f2bc4a3 [windows] update version mingw => 12.2.0.03042023 (#8287) 2023-09-15 12:17:27 +02:00
Shamil Mubarakshin 79ed5c1ac1 [windows2019] Remove Ruby 2.4 (#8290) 2023-09-15 09:51:32 +02:00
ilia-shipitsin 27777e9f10 [windows] disabling windows defender scheduled task (#8285)
it turned out that windows defender creates deleted tasks.
proper way of disabling is

Set-MpPreference -ScanScheduleDay 8
2023-09-14 22:17:45 +02:00
Shamil Mubarakshin f23546c953 [macos] Add Xcode15 rc1 (#8288) 2023-09-14 22:05:24 +02:00
Shamil Mubarakshin 14094ed9ed [macos11] Remove Ruby 2.4 from toolcache (#8289) 2023-09-14 21:48:49 +02:00
Shamil Mubarakshin 9a07550a9e [ubuntu20.04] Remove Python 3.6 (#8292) 2023-09-14 21:46:26 +02:00
Shamil Mubarakshin 734a8c8e9d [windows2019] Remove Python 3.6 (#8291) 2023-09-14 21:25:24 +02:00
github-actions[bot] e7ff445c60 Updating readme file for win19 version 20230912.1.0 (#8278)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-14 18:32:39 +00:00
github-actions[bot] ffab35113c Updating readme file for ubuntu22 version 20230911.1.0 (#8270)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-14 16:27:52 +00:00
github-actions[bot] 2dcfa5d065 Updating readme file for win22 version 20230910.1.0 (#8272)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-14 15:06:29 +00:00
Alexey-Ayupov 276efb2a89 Remove OS selection condition (#8284) 2023-09-14 16:24:16 +02:00
Alexey-Ayupov 32d213064f [macos] remove vagrant from macos 13 (#8283) 2023-09-14 15:04:30 +02:00
github-actions[bot] 462858ccf9 Updating readme file for ubuntu20 version 20230911.1.0 (#8271)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-14 11:09:57 +00:00
Alexey-Ayupov 50f1c72a18 [macos] Add exclusion for macOS 13 to the Xamarin test (#8274) 2023-09-14 11:21:42 +02:00
ilia-shipitsin 5ffd15d845 [macos] suppress xcodebuild output (#8276) 2023-09-13 11:45:19 +02:00
github-actions[bot] fc8f6d479d Updating readme file for macOS-11 version 20230901.1 (#8228)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-12 15:55:33 +00:00
ilia-shipitsin 117712f38f [windows] implement checksum validation for OpenSSL (#8257) 2023-09-12 12:57:25 +02:00
ilia-shipitsin f5bbdcbe4f [windows] implement checksum validation for docker-wincred (#8256) 2023-09-12 10:05:26 +02:00
ilia-shipitsin 9a4861b4ee [windows] switch to Powershell Gallery when preparing Azure modules (#8264) 2023-09-12 10:04:14 +02:00
github-actions[bot] 878fa3c8d6 Updating readme file for macOS-12 version 20230901.1 (#8226)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-11 12:17:14 +00:00
ilia-shipitsin 1410e7c1f1 [macos] introduce additional runtimes for XCode (#8254) 2023-09-11 13:39:00 +02:00
sergei-pyshnoi 6a44d736b4 add clang-15 to ubuntu-22 (#8255) 2023-09-11 11:30:31 +02:00
sergei-pyshnoi 30104e6c13 [windows] change source for mongodb version parser (#8248) 2023-09-08 17:06:33 +02:00
Alexey-Ayupov 05d3e0c5a1 [macOS] Update Xamarin.Android version to 13.2.1.2 (#8250) 2023-09-08 12:39:21 +02:00
ilia-shipitsin acd00737c6 [windows] implement checksum validation for Powershell Core (#8247) 2023-09-08 10:48:51 +02:00
github-actions[bot] 08f6a05904 Updating readme file for ubuntu20 version 20230903.1.0 (#8230)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-07 11:49:34 +00:00
github-actions[bot] 75c3a75a80 Updating readme file for ubuntu22 version 20230903.1.0 (#8231)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-07 11:34:19 +00:00
github-actions[bot] 4a0c3808de Updating readme file for win22 version 20230903.2.0 (#8232)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-07 11:28:26 +00:00
github-actions[bot] 76ab7d5c96 Updating readme file for win19 version 20230903.1.0 (#8233)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-07 11:26:24 +00:00
Alexey-Ayupov 452c8ec89f Fix CI for runners with powershell 7 (#8245) 2023-09-07 12:51:50 +02:00
Mikhail Koliada b59fd09847 README: update environment version screenshot (#8243) 2023-09-06 14:52:52 +02:00
Mikhail Koliada 63a3a7646f [macOS 13] cleanup yarn cache (#8240) 2023-09-06 13:45:11 +02:00
ilia-shipitsin bd1f57a2d3 [windows] introduce user warmup (#8225)
some User warmup may be transferred to C:\Users\Default to speedup
provisioning. Especially, this is important for large runners
2023-09-05 14:34:09 +02:00
ilia-shipitsin 0f35a386c1 [macos] disable VS Tests on macos-13 (#8227) 2023-09-05 10:19:03 +02:00
github-actions[bot] 48ee94f882 Updating readme file for macOS-12 version 20230825.1 (#8188)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-04 15:29:49 +00:00
github-actions[bot] da4a5336a2 Updating readme file for macos-13 version 20230903.1 (#8223)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-09-04 13:17:08 +00:00
ilia-shipitsin d500bc8758 [macos] macos 13: retire VS Mac (#8213)
due to official retirement of Visual Studio for Mac, let us drop it
from macos-13
2023-09-04 14:02:01 +02:00
ilia-shipitsin 1a30e20713 [ubuntu] pin podmanm, add testcase for podman networking (#7763)
Related: https://github.com/actions/runner-images/issues/7753
2023-09-04 10:50:30 +02:00
Vasilii Polikarpov 1e590b77aa [Windows] Add VC components for VS 17.7 (#8151)
* [Windows] Add VC components for VS 17.7

* Try to debug VS installation

* Add more components for VS

* Use response file

* Remove 14.36.17.6 build tools components

* Fix issue where config is bad for VS2019 installer
2023-09-02 12:25:52 +02:00
ilia-shipitsin 0a6c637b3f macos: drop Hardware_Accelerated_Execution_Manager (#8216) 2023-09-01 22:06:41 +02:00
ilia-shipitsin 587a8c8e6f [windows] cleanup DotNETSdk install script (#8200)
* [win] some cleanup of DonetSDK installer

FixPublish workaround not needed anymore, we do not install 3.1
C:\Temp not needed as well
2023-09-01 11:44:00 +02:00
Vasilii Polikarpov 8077d7b42b Switch to build managed image instead of VHD (#8167) (#8208) 2023-08-31 16:21:15 +02:00
Vasilii Polikarpov d09a712b71 [Ubuntu] Install pigz utility (#8209) 2023-08-31 14:25:51 +02:00
Shamil Mubarakshin 74d698d40f [ubuntu] Change docker group ID (#8201) 2023-08-31 13:07:34 +02:00
github-actions[bot] 4679a8bf0a Updating readme file for macOS-12 version 20230818.2 (#8133)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-30 16:09:18 +00:00
ilia-shipitsin e7ad9c5de4 [macos] update XCode 15 to Beta 8 (#8194) 2023-08-30 17:57:24 +02:00
Mikhail Koliada c9608d744f [macOS] do not iterate over npm packages on Ventura (#8175) 2023-08-30 15:07:36 +02:00
sergei-pyshnoi 6315e88f65 [macOS] Fix open file limits (#8187) 2023-08-30 12:51:14 +02:00
Alexey-Ayupov 36ddc88274 Revert "Try installing Google Chrome for Testing (#7997)" (#8190)
This reverts commit d9169bba1e.
2023-08-29 21:42:30 +02:00
ilia-shipitsin 49ea494d52 [macos] cleanup Homebrew cache after image generation (#8182) 2023-08-29 15:21:37 +02:00
github-actions[bot] 46489c2818 Updating readme file for macOS-11 version 20230818.1 (#8122)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-29 09:35:07 +00:00
github-actions[bot] d5d4c565df Updating readme file for win22 version 20230820.1.0 (#8126)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-28 12:12:47 +00:00
Mikhail Koliada 71e9516cb7 [macOS] remove Xcode 14.3, default to 14.3.1 (#8173) 2023-08-27 22:28:39 +02:00
ilia-shipitsin a4f3c433b4 [macos] check exit code in Invoke-SSHPassCommand (#8156) 2023-08-25 11:29:01 +02:00
Vasilii Polikarpov b21ec054ff Fix powershell code format configuration (#8155) 2023-08-25 10:46:18 +02:00
ilia-shipitsin a689812865 [macos] update XCode 15 to Beta 7 (#8165) 2023-08-25 09:27:10 +02:00
Mikhail Koliada 37b9221f4d report Tool nodes with null or empty versions (#8154) 2023-08-24 18:40:20 +02:00
ilia-shipitsin 5ff59cadc4 [macos] use mist-cli for downloading OS distribution when generating anka clean vm (#8141) 2023-08-24 15:15:31 +02:00
github-actions[bot] 862df58673 Updating readme file for win19 version 20230820.1.0 (#8129)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-24 12:34:51 +00:00
github-actions[bot] 874cab7496 Updating readme file for ubuntu22 version 20230821.1.0 (#8124)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-24 11:06:39 +00:00
github-actions[bot] 960b38329f Updating readme file for ubuntu20 version 20230821.1.0 (#8123)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-24 11:06:16 +00:00
Alexey-Ayupov 02eb087db0 [Windows] Update LLVM version to 16 (#8134) 2023-08-24 09:52:26 +02:00
Alexey-Ayupov fa54b5b0dc [Windows] Update software report (ant version) (#8139) 2023-08-23 20:32:49 +02:00
github-actions[bot] cb978fdbcb Updating readme file for macos-13 version 20230821.3 (#8130)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-23 13:20:19 +00:00
Vasilii Polikarpov ac8bbd9fc2 Configure formatting and extensions for vscode (#8136) 2023-08-23 12:55:49 +02:00
github-actions[bot] 1ac680fb5f Updating readme file for macOS-12 version 20230812.3 (#8088)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-22 08:59:46 +00:00
Mikhail Koliada 3f3600e029 Remove images GitHub Actions CI from repo (#8131) 2023-08-22 10:35:20 +02:00
ilia-shipitsin 6bf51e6351 [macos] move license accept out of parallel ForEach (#8120) 2023-08-22 10:01:24 +02:00
github-actions[bot] 0d6cb0cc83 Updating readme file for ubuntu22 version 20230814.1.0 (#8092)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-21 16:38:53 +00:00
Erik Bershel b2b0e8f4d6 Revert "[macOS] Remove sensitive data from a download log (#7934)" (#8121)
This reverts commit c9e6a45f28.
2023-08-21 17:51:16 +02:00
github-actions[bot] 587d1e4435 Updating readme file for macOS-11 version 20230812.3 (#8087)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-21 15:46:44 +00:00
github-actions[bot] 14fa2c5ff1 Updating readme file for win19 version 20230814.1.0 (#8095)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-21 12:35:25 +00:00
github-actions[bot] 01a2ae2ba8 Updating readme file for ubuntu20 version 20230814.1.0 (#8091)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-21 10:59:27 +00:00
Shamil Mubarakshin d44b8a46e2 [ubuntu] Change docker to install from official repository (#8107) 2023-08-18 23:41:11 +02:00
Mikhail Koliada 392aa0ebd4 [Ubuntu] do not source os-release during mysql installation (#8108) 2023-08-18 12:45:38 +02:00
Vasilii Polikarpov 6adb752638 [Ubuntu] Make k8s tools tests consistent across OS (#8112) 2023-08-18 12:44:06 +02:00
Vasilii Polikarpov d9169bba1e Try installing Google Chrome for Testing (#7997) 2023-08-18 12:43:00 +02:00
Shamil Mubarakshin 0c0af47317 [ubuntu20] Pin aliyun to 3.0.174 (#8109) 2023-08-17 19:06:48 +02:00
Vasilii Polikarpov 5368cb6a69 [Windows] Remove deprecated kubectl flag (#8099) 2023-08-17 10:26:46 +02:00
Mikhail Koliada a951af97cd [Windows] use VsixInstaller from the installer (#8103) 2023-08-17 10:12:47 +02:00
Shamil Mubarakshin e6705a3f9c [ubuntu] Adjust kubectl version handling (#8098) 2023-08-16 18:25:29 +02:00
Shamil Mubarakshin c64e2f53f1 [windows] Change Az Cli to x64 (#8096) 2023-08-16 18:22:39 +02:00
Alexey-Ayupov ff79794377 [Windows] Add Hyper-V PowerShell module (#8079) 2023-08-16 09:49:28 +02:00
github-actions[bot] 33f3ffd099 Updating readme file for macos-13 version 20230814.1 (#8085)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-15 15:42:11 +00:00
ilia-shipitsin 5487dbaad9 use "license accept timeout" only on MacOS-13 (#8084) 2023-08-15 15:23:02 +02:00
ilia-shipitsin 9f81916bc7 macos-13: update XCode-15 to Beta 6 (#8076) 2023-08-11 17:29:06 +02:00
github-actions[bot] 982d4ab3ab Updating readme file for macOS-12 version 20230803.1 (#8052)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-11 12:58:29 +00:00
Vasilii Polikarpov 5fca0f3f62 Rewrite helper script for image generation (#8065) 2023-08-11 14:31:07 +02:00
Shamil Mubarakshin 7fa63e2b95 [ubuntu] Update apt sources (#8075) 2023-08-11 14:30:33 +02:00
github-actions[bot] d2c69950ce Updating readme file for win22 version 20230804.1.1 (#8048)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-11 12:26:54 +00:00
github-actions[bot] 556ef3eb63 Updating readme file for macOS-11 version 20230803.1 (#8051)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-11 12:19:54 +00:00
sergei-pyshnoi 48103268c5 add go 1.21 to toolset (#8064) 2023-08-11 11:51:11 +02:00
sergei-pyshnoi 18c1c43509 add go 1.21 to toolset (#8063) 2023-08-11 11:50:47 +02:00
sergei-pyshnoi a25fd359ca add go 1.21 to toolset (#8062) 2023-08-11 11:48:01 +02:00
Erik Bershel 50ff20755c [macOS] Install Google Chrome cask with default method (#8070)
Reverting pretty old rework: https://github.com/actions/runner-images/pull/1861.
2023-08-11 11:47:08 +02:00
github-actions[bot] b0fc3ecdd4 Updating readme file for ubuntu22 version 20230806.1.1 (#8049)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-10 09:28:11 +00:00
github-actions[bot] 3217accdcd Updating readme file for ubuntu20 version 20230806.1.1 (#8050)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-10 09:20:44 +00:00
github-actions[bot] 895b9c79c7 Updating readme file for win19 version 20230806.1.1 (#8054)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-10 09:09:48 +00:00
sergei-pyshnoi ba97109526 [Windows] Change mongodb installation from choco to .msi download (#8032) 2023-08-09 14:28:33 +02:00
ilia-shipitsin 4780184e3d Unpin veertu packer (#8061) 2023-08-09 14:17:01 +02:00
ilia-shipitsin 8b4ff6aec2 [macos] suppress swiftc warnings regarding deprecated API (#7989)
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:21:5: warning: 'SecKeychainSetPreferenceDomain' was deprecated in macOS 10.10: SecKeychain is deprecated
==> veertu-anka-vm-clone.template:     SecKeychainSetPreferenceDomain(SecPreferencesDomain.system)
==> veertu-anka-vm-clone.template:     ^
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:22:5: warning: result of call to 'deleteCertificateFromKeyChain' is unused
==> veertu-anka-vm-clone.template:     deleteCertificateFromKeyChain(certificateLabel)
==> veertu-anka-vm-clone.template:     ^                            ~~~~~~~~~~~~~~~~~~
==> veertu-anka-vm-clone.template: /Users/<sensitive>/image-generation/add-certificate.swift:36:9: warning: initialization of variable 'status' was never used; consider replacing with assignment to '_' or removing it
==> veertu-anka-vm-clone.template:     var status = SecTrustSettingsSetTrustSettings(certificate, SecTrustSettingsDomain.admin, nil)
==> veertu-anka-vm-clone.template:     ~~~~^~~~~~
==> veertu-anka-vm-clone.template:     _
2023-08-09 12:09:34 +02:00
Vasilii Polikarpov 9c598da9cb [Ubuntu] Add PyPy 3.10 (#8038) 2023-08-09 12:08:45 +02:00
Vasilii Polikarpov 8c81cda4bb [Windows] Add PyPy 3.10 (#8039) 2023-08-09 12:08:16 +02:00
Vasilii Polikarpov 8ee2d5203a [mac OS] Add PyPy 3.10 (#8040) 2023-08-09 12:07:49 +02:00
Vasilii Polikarpov 6ed173f0ad Fix issue where tags json is wrong in PS5 (#8058) 2023-08-09 11:50:49 +02:00
ilia-shipitsin 4ec9fdae13 [macos] use unxip if available for XCode unpacking (#7992) 2023-08-07 11:53:07 +02:00
Vasilii Polikarpov c493b069d2 [Windows] Update miniconda download link (#8041) 2023-08-06 10:57:38 +02:00
ilia-shipitsin 55a4c8c33c Macos 13 xcode 15 beta5 (#8037) 2023-08-04 19:39:13 +02:00
Vasilii Polikarpov 0bb547e62c [mac OS] Update miniconda download link (#8042) 2023-08-04 19:38:18 +02:00
Vasilii Polikarpov 08794b3341 [Linux] Update miniconda download link (#8043) 2023-08-04 19:37:29 +02:00
Vasilii Polikarpov 38a9b4344f [Ubuntu] Remove duplicated line with Python version from report (#8035) 2023-08-04 12:29:31 +02:00
Shamil Mubarakshin ff6a3d4b29 [macos] Utilise arch helper function (#8036) 2023-08-03 18:20:16 +02:00
github-actions[bot] b762375cfc Updating readme file for win22 version 20230730.1.1 (#8011)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-03 12:07:32 +00:00
github-actions[bot] 49e424dc8c Updating readme file for win19 version 20230731.1.1 (#8012)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-03 11:54:30 +00:00
github-actions[bot] ba7e646304 Updating readme file for ubuntu22 version 20230728.3.1 (#8003)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-03 10:38:04 +00:00
github-actions[bot] a93b17cc72 Updating readme file for ubuntu20 version 20230728.3.1 (#8005)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-03 10:34:33 +00:00
Vasilii Polikarpov 89acd994b2 [mac OS] Remove AdoptOpenJDK (#8025) 2023-08-03 10:42:41 +02:00
Vasilii Polikarpov 974c7589b9 [Windows] Remove AdoptOpenJDK (#8026) 2023-08-03 10:32:48 +02:00
ilia-shipitsin e1d1163c15 [win] specify accept header when downloading mysql meta (#8009)
as reported in https://github.com/actions/runner-images/issues/8004
dev.mysql.com behaviour has changed, it requires "Accept: text/html"
for download page

Co-authored-by: Miguel Nieto <m.nieto@kevull.com>
2023-08-03 10:19:29 +02:00
Vasilii Polikarpov 2a1b5d19a3 [Ubuntu] Remove AdoptOpenJDK (#8022) 2023-08-02 11:56:11 +02:00
github-actions[bot] da18545f2f Updating readme file for macos-13 version 20230801.2 (#8021)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-01 23:54:04 +00:00
Sam Tran ffa7bfff66 Merge pull request #8020 from jeffreyguerra-testing/patch-1
Update create-image-and-azure-resources.md
2023-08-01 15:51:14 -05:00
jeffreyguerra-testing eb354eb95a Update create-image-and-azure-resources.md
Update file. This is a test. Please DM Jeffreyguerra with any questions.
2023-08-01 13:29:00 -07:00
Alexey-Ayupov 910dbd4230 [macOS] Pin OpenSSL version for macOS 13 (#8019) 2023-08-01 21:22:34 +02:00
github-actions[bot] 67b63b6c4e Updating readme file for macos-13 version 20230731.2 (#8013)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-08-01 15:01:12 +00:00
Vasilii Polikarpov 463cbf01cf [mac OS] Set flags for curl invocations (#8008) 2023-08-01 15:42:44 +02:00
ilia-shipitsin 67f9c37eee [macos] enable simulators for XCode-15 (#8001)
test on simulators is really weird, after deep investigation we
deviced to disable it for a while
2023-08-01 10:01:30 +02:00
Erik Bershel c545cacd84 [Windows] Update Edge installer (#8006) 2023-08-01 09:24:55 +02:00
Vasilii Polikarpov 739db6e683 [Ubuntu] Pin Android cmdline-tools version (#8002) 2023-07-31 15:49:39 +02:00
Vasilii Polikarpov ae5b1c7dff Install chrome for testing in mac OS (#7990) 2023-07-28 21:09:52 +02:00
Vasilii Polikarpov 7e863227d7 [Ubuntu] Set flags for curl (#7993) 2023-07-28 20:18:41 +02:00
Mikhail Koliada 3c7978b116 [macOS] update dotnet core version json path (#7995) 2023-07-28 16:12:54 +02:00
Vasilii Polikarpov 51de0dda19 Get revision for chromium from new source (#7988) 2023-07-28 14:23:39 +02:00
Alexey-Ayupov 1190d2f46f Revert "[WinLin] Remove schedules from Azure pipe" (#7996) 2023-07-28 13:53:13 +02:00
Shamil Mubarakshin fc2f35d593 [macos] Add toolcache for arm (#7974) 2023-07-28 12:37:00 +02:00
github-actions[bot] 9a403df7bd Updating readme file for win22 version 20230724.1.1 (#7973)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-27 10:38:54 +00:00
github-actions[bot] 52e6774737 Updating readme file for win19 version 20230724.1.1 (#7972)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-27 10:15:09 +00:00
Vasilii Polikarpov 1865ac151c Fix chromium revision (#7984) 2023-07-27 09:55:51 +02:00
ilia-shipitsin 52b92ff310 [macos] supress nonsignificant powershell warning (#7985)
veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-07-26 17:41:57 +02:00
Alexey-Ayupov 27d2a9eb47 Remove pull_request_target trigger and condition (#7983) 2023-07-26 16:04:32 +02:00
github-actions[bot] 79252fad3a Updating readme file for ubuntu22 version 20230724.1.1 (#7967)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-26 13:08:46 +00:00
ilia-shipitsin f7d3e12c85 second attempt to switch to run_id for release number generation (#7981) 2023-07-26 13:37:10 +02:00
Mike McQuaid 35b2bdbc78 macOS bashrc: don't cleanup Homebrew on installation. (#7975)
This is unnecessary in ephemeral environments like GitHub Actions. `HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS` avoided the longer periodic cleanup but this is a better fix for speeding up Homebrew a bit in GitHub Actions.
2023-07-26 11:45:08 +02:00
Erik Bershel e62d609811 [macOS] Remove ankarund signatures from TCC.db (#7979) 2023-07-26 11:43:20 +02:00
github-actions[bot] 291627a3e3 Updating readme file for ubuntu20 version 20230724.1.1 (#7968)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-26 07:36:40 +00:00
Alexey-Ayupov c0ed5f679e Remove cron job from CI (#7977) 2023-07-25 18:16:30 +02:00
Vasilii Polikarpov 2733b9fa28 [macOS] Install swiftlint from Homebrew (#7912) 2023-07-25 15:16:35 +02:00
Tom Burgess 9215ea61f8 specify min tls for supporting stg acct - to support MS policy (#7920) 2023-07-24 10:48:38 +02:00
Ray Xu a2250d38f5 Enable nf_conntrack_tcp_be_liberal for Ubuntu 22.04 until kernel update (#7860) 2023-07-24 09:44:55 +02:00
Vasilii Polikarpov 654d8a6688 [Windows] Fix chromedriver download process (#7942) 2023-07-24 09:28:34 +02:00
Shamil Mubarakshin a5632eb5f2 [windows] Temporarily pin syft version for SBOM report (#7953) 2023-07-21 16:26:19 +02:00
Vasilii Polikarpov 54cc4924c5 [Ubuntu] Install latest chromedriver for current build (#7946) 2023-07-21 16:03:18 +02:00
ilia-shipitsin 089b401607 temporarily revert PR7941 (#7952) 2023-07-21 14:39:00 +02:00
ilia-shipitsin d63b6a7793 [ubuntu, windows] cast "run_id" to 32 bit unsigned to match BuildId (#7950)
* [ubuntu, windows] cast "run_id" to 32 bit unsigned to match BuildId
restriction

  ./images.CI/linux-and-win/create-release.ps1 `
    -BuildId 5621210575 `
    -Organization *** `
    -DefinitionId *** `
    -Project *** `
    -ImageName ubuntu2204 `
    -AccessToken ***
  shell: /usr/bin/pwsh -command ". '{0}'"
  env:
    CHECKOUT_TYPE: pull_request
    TemplatePath: /home/vsts/Agents/image-generation/_work/runner-images/runner-images/images/linux/ubuntu2204.pkr.hcl
    TemplateDirectoryPath: /home/vsts/Agents/image-generation/_work/runner-images/runner-images/images/linux
    ImageType: ubuntu2204
create-release.ps1: /home/vsts/Agents/image-generation/_work/_temp/ee00e9c3-e508-4c8d-b369-ffe3e2afcbc9.ps1:3
Line |
   3 |    -BuildId 5621210575 `
     |             ~~~~~~~~~~
     | Cannot process argument transformation on parameter 'BuildId'. Cannot
     | convert value "5621210575" to type "System.UInt32". Error: "Value was
     | either too large or too small for a UInt32."

* cast another occurence to UInt32 MaxValue
2023-07-21 14:01:03 +02:00
Vasilii Polikarpov e486e6c0c7 Temporarily hardcode chromium revision (#7948) 2023-07-21 13:54:40 +02:00
Vasilii Polikarpov fe199ce232 Stop processing when release list download fails (#7932) 2023-07-21 10:03:46 +02:00
ilia-shipitsin 64d9f90220 use unique run_id instead of repeative run_number for VM releases (#7941) 2023-07-21 10:02:53 +02:00
github-actions[bot] be30fbc543 Updating readme file for ubuntu22 version 20230716.1.1 (#7924)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-20 16:34:52 +00:00
Vasilii Polikarpov f2de28ac7d Fix chromedriver download process (#7940) 2023-07-20 16:15:00 +02:00
Erik Bershel 26354abedf [macOS] Access for TestCafe to the ScreenCapture (#7893) 2023-07-20 15:24:23 +02:00
github-actions[bot] 434c6431b4 Updating readme file for win22 version 20230716.1.1 (#7928)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-20 13:23:08 +00:00
github-actions[bot] c3ba48f4d8 Updating readme file for win19 version 20230716.1.1 (#7927)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-20 13:07:47 +00:00
github-actions[bot] 0c0055cb9d Updating readme file for ubuntu20 version 20230716.1.1 (#7925)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-20 10:47:52 +00:00
UncertainBadg3r e2d7e61adf Fix minor typo in workflow file (#7931) 2023-07-20 12:22:09 +02:00
Erik Bershel c9e6a45f28 [macOS] Remove sensitive data from a download log (#7934) 2023-07-19 18:01:40 +02:00
ilia-shipitsin f0ea46b3ff [windows] add SQL Server Integration Services Projects 2022 (#7930) 2023-07-19 15:41:03 +02:00
github-actions[bot] 07b561b31a Updating readme file for macOS-12 version 20230709.1 (#7904)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-19 07:36:56 +00:00
ilia-shipitsin 0f7d7a82ca [macos] download XCode installer with retries (#7898) 2023-07-18 17:47:39 +02:00
github-actions[bot] 21597cf4f4 Updating readme file for macOS-11 version 20230709.1 (#7910)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-18 10:29:46 +00:00
Erik Bershel c49cbf8408 [Ubuntu] Remove old Alpine Docker images (#7926) 2023-07-17 14:59:28 +02:00
Erik Bershel 30e6965a6d Revert "[Ubuntu] do not check ssl cert for hhvm (#7817)" (#7922)
This reverts commit aab84abc02.
2023-07-17 12:39:09 +02:00
Alexey-Ayupov 48e0cd3828 Add trailing newline to bash_profile (#7909) 2023-07-14 11:36:56 +02:00
github-actions[bot] 28fb48a4e9 Updating readme file for win22 version 20230706.1.1 (#7891)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-14 11:35:31 +02:00
github-actions[bot] 8871622efc Updating readme file for win19 version 20230707.1.1 (#7892)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-14 11:34:53 +02:00
Shamil Mubarakshin dc38839721 [macos] Cleanup xcversion leftovers (#7911) 2023-07-14 09:39:01 +02:00
github-actions[bot] 48a11cfadd Updating readme file for ubuntu20 version 20230710.1.1 (#7905)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-13 11:37:03 +00:00
github-actions[bot] c145d7897c Updating readme file for ubuntu22 version 20230710.1.1 (#7906)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-13 11:21:57 +00:00
David Dauer ad3c78a4fc [ubuntu] include apt vital pkgs in software report (#7845) 2023-07-12 17:41:56 +02:00
sergei-pyshnoi 38e96ca31a [Mac OS] Add permissions for provisioner to Terminal and Screen recording (#7803)
* give permissions for provisioner

* add additional permissions
2023-07-11 12:49:06 +02:00
Alexey-Ayupov ae15096a06 Merge pull request #7870 from mbean-epc/patch-1
Typo fix in create-image-and-azure-resources.md
2023-07-11 12:40:25 +02:00
Shamil Mubarakshin a5619dace1 [Windows] Disable Edge auto-updates (#7868)
* [win] Disable Edge auto-updates

* [win] Edge auto-updates: add terminating condition
2023-07-11 12:21:46 +02:00
Alexey-Ayupov 4290af9e08 Merge pull request #7852 from vpolikarpov-akvelon/macos-dont-copy-test-results
[mac OS] Don't try to copy test results to artifacts directory
2023-07-11 12:05:53 +02:00
Alexey-Ayupov ce7d8cef9f Merge pull request #7895 from sergei-pyshnoi/macos13-permission-fix
[MacOS] Change directory owner root => runner for .cache and .config in arm64
2023-07-11 11:52:23 +02:00
sergei-pyshnoi d4a497eaab add comment 2023-07-11 11:41:45 +02:00
sergei-pyshnoi 1bf18b5a8a add chown for .cache and .config for arm64 2023-07-10 16:24:32 +02:00
ilia-shipitsin c5579bd0e9 [macos] temporarily disable simulators on XCode-15 (#7880) 2023-07-07 22:46:36 +02:00
ilia-shipitsin 2ccef4f100 [macos] fix XCode simulator install behaviour (#7878)
* [macos] fix XCode simulator install behaviour

in https://github.com/actions/runner-images/commit/3929bc9f6e249a4731ad86b7b11793af9fec2d03
was introduced regression: simulators were installed only for latest
XCode-14 instance. However, they should be installed for all XCode-14
instances.

let us revert that behaviour

* improve code readability by moving version comparison outside loop

* rework brew installation for ARM64
2023-07-07 16:24:33 +02:00
Michael B f44460e76b Typo fix in create-image-and-azure-resources.md
`subsctiption` -> `subscription`
2023-07-06 12:54:34 -06:00
github-actions[bot] b84c1bed0d Updating readme file for ubuntu22 version 20230702.1.1 (#7842)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-06 16:16:00 +00:00
ilia-shipitsin 2b8425307d [macos] add workaround for homebrew/core, homebrew/cask (#7866)
it was found that "git clone --depth 1 .." followed by "brew tap.."
actually works even if some git index accidently broken
2023-07-06 16:36:33 +02:00
ilia-shipitsin 073c513015 [macos] propagate XCode install variables to github image generation (#7865) 2023-07-06 14:23:25 +02:00
github-actions[bot] 712e7c378a Updating readme file for win22 version 20230630.1.1 (#7843)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-06 12:15:38 +00:00
github-actions[bot] f1f2de712a Updating readme file for win19 version 20230630.1.1 (#7844)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-06 12:06:25 +00:00
ilia-shipitsin 63b7bc4bde [macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
2023-07-06 11:36:08 +02:00
github-actions[bot] 406a7844ab Updating readme file for ubuntu20 version 20230702.1.1 (#7841)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-07-06 06:46:48 +00:00
Vasilii Polikarpov 2f4b2192f3 Don't try to copy test results
Test results generation was removed here:
https://github.com/actions/runner-images/pull/2261
2023-07-04 17:57:53 +02:00
Erik Bershel a0745542ad [Windows] Rm "-stable" part from rustfmt version (#7847) 2023-07-04 14:09:29 +02:00
Vasilii Polikarpov 9f98ea4461 Fix XCode simulators installation (#7769) 2023-06-30 17:14:01 +02:00
Piotr Kiełkowicz 5ebe1af489 [Ubuntu] Add alpine 3.18 docker image (#7810) 2023-06-30 13:58:12 +02:00
Vasilii Polikarpov 508ad6524a Add CI job to remove skipped CI runs (#7736) 2023-06-30 12:23:01 +02:00
Erik Bershel 470ea9355e [macOS] Remove .Net 3.1 as its EOL (#7811) 2023-06-30 12:17:03 +02:00
github-actions[bot] 0a6e640250 Updating readme file for macOS-12 version 20230623.2 (#7787)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-06-29 20:01:49 +02:00
Erik Bershel 8f4a6df4b2 [Ubuntu] Remove .Net 3.1 as its EOL (#7812) 2023-06-29 18:40:46 +02:00
Erik Bershel cdac016c21 [Windows] Remove .Net 3.1 as its EOL (#7813) 2023-06-29 16:46:25 +02:00
Mikhail Koliada aab84abc02 [Ubuntu] do not check ssl cert for hhvm (#7817) 2023-06-29 15:50:45 +02:00
github-actions[bot] 527823bc50 Windows Server 2019 (20230625) Image Update (#7799)
* Updating readme file for win19 version 20230625.1.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-29 13:03:54 +00:00
github-actions[bot] dcf2bd2870 Windows Server 2022 (20230625) Image Update (#7798)
* Updating readme file for win22 version 20230625.1.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-29 12:57:07 +00:00
github-actions[bot] bd6b3eaafb Updating readme file for ubuntu22 version 20230625.1.1 (#7786)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-29 09:08:35 +00:00
github-actions[bot] 5fe5278e60 Updating readme file for ubuntu20 version 20230623.1.1 (#7789)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-29 09:04:26 +00:00
Erik Bershel 32bb7d9e99 [Windows] Rework common tools software report script (#7801) 2023-06-29 10:18:16 +02:00
github-actions[bot] f0c7d3c5b1 Updating readme file for macOS-11 version 20230623.1 (#7785)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-29 08:06:20 +00:00
Shamil Mubarakshin 3ede1f95a7 Fix software and release URLs for windows and ubuntu (#7790) 2023-06-26 19:45:09 +02:00
Shamil Mubarakshin 7d99ce2cad Update SBOM report workflow's version-check job (#7793) 2023-06-26 19:44:27 +02:00
github-actions[bot] 635b6468df Windows Server 2022 (20230620) Image Update (#7761)
* Updating readme file for win22 version 20230620.1.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-26 10:51:33 +00:00
github-actions[bot] ae86786dc2 Windows Server 2019 (20230620) Image Update (#7760)
* Updating readme file for win19 version 20230620.1.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-26 10:49:08 +00:00
github-actions[bot] 35643274da Updating readme file for macOS-12 version 20230618.1 (#7750)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-24 10:42:24 +00:00
github-actions[bot] 8712f83649 Updating readme file for macOS-11 version 20230618.1 (#7752)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-24 10:38:27 +00:00
Shamil Mubarakshin 3f4d4c968c [ubuntu] Add additional repos to cloud-init template (#7768) 2023-06-22 19:44:03 +02:00
Alexey-Ayupov 13cd650de2 [macOS] Add pkg-config to the software report (#7751) 2023-06-22 15:34:35 +02:00
github-actions[bot] 59f713795a Updating readme file for ubuntu22 version 20230619.1.1 (#7748)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-22 10:54:09 +00:00
github-actions[bot] 18017c6497 Updating readme file for ubuntu20 version 20230619.1.1 (#7747)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-22 10:50:29 +00:00
Vasilii Polikarpov 5c0b2574b3 Restore version 14.35 for VisualStudio build tools (#7756) 2023-06-21 17:22:41 +02:00
github-actions[bot] 96f1383301 Updating readme file for macos-13 version 20230611.2 (#7707)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-06-21 15:51:14 +02:00
Shamil Mubarakshin 2fdd5e58c2 [macos] Add sudo to SBOM generation (#7759) 2023-06-21 10:16:01 +02:00
ilia-shipitsin a9bb38099f [macos] add pkg-config to macos-13 image (#7719) 2023-06-20 13:43:50 +02:00
github-actions[bot] 83c04bde69 Updating readme file for macOS-11 version 20230612.1 (#7728)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-20 09:52:59 +00:00
github-actions[bot] c9e74cbf8c Updating readme file for macOS-12 version 20230612.1 (#7727)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-20 09:26:05 +00:00
Vasilii Polikarpov c262581688 Revert "[Windows] download MySQL from SA (#6769)" (#7732) 2023-06-18 20:21:53 +02:00
Vasilii Polikarpov d0d97cd5f8 Cache Android SDK packages list (#7709) 2023-06-16 18:34:04 +02:00
Shamil Mubarakshin f83e411035 Update GenerateResourcesAndImage related documentation (#7738) 2023-06-16 16:57:49 +02:00
github-actions[bot] fea6530e4c Updating readme file for ubuntu20 version 20230611.1 (#7702)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-15 10:52:02 +00:00
github-actions[bot] 1d9251b881 Updating readme file for ubuntu22 version 20230611.1 (#7701)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-15 10:48:57 +00:00
github-actions[bot] cced6d98e2 Updating readme file for win22 version 20230612.1 (#7712)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-15 07:56:55 +00:00
github-actions[bot] 893c95aeb5 Updating readme file for win19 version 20230612.1 (#7711)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-15 07:56:40 +00:00
Henry Mercer e2066c4d68 [Linux] CodeQL: Simplify the toolcache version number for bundles tagged using semver (#7716) 2023-06-14 19:00:16 +02:00
Henry Mercer 33e68d3dc3 [Windows] CodeQL: Simplify the toolcache version number for bundles tagged using semver (#7718) 2023-06-14 18:59:32 +02:00
Henry Mercer 6cc825e8d6 [macOS] CodeQL: Simplify the toolcache version number for bundles tagged using semver (#7717) 2023-06-14 18:58:50 +02:00
Alexey-Ayupov 6d66d249ac [Ubuntu] update curl command to work with https (#7723) 2023-06-14 13:22:02 +02:00
Vasilii Polikarpov d6aaf8d481 Update conditions for CI jobs (#7714) 2023-06-14 10:17:42 +02:00
Vasilii Polikarpov 500995c0ad Set checkout options in inage generation pipeline (#7708) 2023-06-12 17:07:30 +02:00
github-actions[bot] c07c474998 Updating readme file for win22 version 20230606.1 (#7679)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-12 13:00:49 +00:00
github-actions[bot] 277de3148a Updating readme file for win19 version 20230606.1 (#7680)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-12 12:35:48 +00:00
Vasilii Polikarpov a00d9c23dc Update Visual Studio VC Component versions (#7694) 2023-06-09 20:11:34 +02:00
ilia-shipitsin 40fd970a62 [macos] add XCode 15 to MacOS 13 images (#7693) 2023-06-09 17:17:49 +02:00
Grant Hutchins e8fdf030d5 Fix typo (#7689) 2023-06-08 23:54:30 +02:00
github-actions[bot] b34097f2db Updating readme file for ubuntu22 version 20230604.1 (#7674)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-08 16:54:10 +00:00
Shamil Mubarakshin 8504aa35f2 [macos] Adjust hcl2 packer templates with decoding (#7685) 2023-06-08 17:26:50 +02:00
github-actions[bot] eaa8e36a67 Updating readme file for ubuntu20 version 20230604.1 (#7673)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-08 11:09:44 +00:00
ilia-shipitsin 84a71166b8 [windows] warmup VisualStudio for vdproj (#7649)
it takes up to several minutes to run devenv for the first time on
vdproj.
2023-06-08 12:48:45 +02:00
github-actions[bot] 05818be3f9 Updating readme file for macos-13 version 20230524.1 (#7652)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-06-07 17:15:03 +00:00
Sam Fox e0371b1f6f set $IsLatest to false when specifying exact version (#7677) 2023-06-07 11:42:05 +02:00
github-actions[bot] dfdd2daf84 Updating readme file for macOS-12 version 20230516.1 (#7641)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-06 08:01:36 +00:00
github-actions[bot] 1670043207 Updating readme file for macOS-11 version 20230516.1 (#7642)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-05 14:23:06 +00:00
Shamil Mubarakshin afd68edefb [macos] add cookie based installation for Xcode (#7666) 2023-06-03 18:15:48 +02:00
github-actions[bot] be83ef6796 Updating readme file for win19 version 20230517.1 (#7646)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-06-02 19:42:34 +02:00
github-actions[bot] 12d8785954 Updating readme file for win22 version 20230517.1 (#7647)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-06-02 19:42:10 +02:00
github-actions[bot] ccd0f31bab Updating readme file for ubuntu22 version 20230517.1 (#7645)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-02 08:55:20 +00:00
github-actions[bot] f4f53c7e6c Updating readme file for ubuntu20 version 20230517.1 (#7644)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-06-02 08:54:31 +00:00
Alexey-Ayupov 1b5e9f95d0 [Windows] fix software report for innosetup (#7658) 2023-06-01 21:14:51 +02:00
Alexey-Ayupov 9eaafb739e [Windows] fix choco installation (#7657) 2023-06-01 17:55:44 +02:00
Mikhail Koliada d5f4ac3924 [Ubuntu] Update libssl package version (#7655) 2023-06-01 11:50:44 +02:00
sergei-pyshnoi 035dc70f77 [Ubuntu] Add archive.ubuntu.com to sources.list (#7616) 2023-05-29 13:32:19 +02:00
Alexey-Ayupov b892aebfe8 Update azure function name (#7636) 2023-05-25 19:06:11 +02:00
Mikhail Koliada 156ad8a318 README: explain -latest migration process (#7634) 2023-05-24 21:09:38 +02:00
Erik Bershel 74433f1ca8 [macOS] Update condition for automation mode (#7626) 2023-05-24 15:34:44 +02:00
Vasilii Polikarpov 7042fdacbc [macOS] Add XCode 14.3.1 for macOS 13 (#7631) 2023-05-24 15:28:29 +02:00
Jongwoo Han 5ec1b18115 Correct typo from 'Delimeter' to 'Delimiter' (#7625) 2023-05-24 10:14:46 +02:00
Alexey-Ayupov abfa6d4644 [Ubuntu] dearmor gpg key for google-cloud-sdk (#7627) 2023-05-24 10:07:06 +02:00
Vasilii Polikarpov 730c1e6bc4 Fix url for the Ubuntu 20 libcontainers repo key (#7629) 2023-05-23 17:13:16 +02:00
Erik Bershel e1366c9a6f [macOS] Fix Python2 installer condition (#7624) 2023-05-22 21:52:24 +02:00
ilia-shipitsin 9d9b3a110d [macos] add reties for dotnet download (#7601) 2023-05-18 17:08:04 +02:00
Tamerlan Bimzhanov 92893feef2 Fix incorrect Homebrew link in README.md (#7544) 2023-05-18 13:31:39 +02:00
Mikhail Koliada 775c64f21c [macOS] fix preimage data for Ventura (#7594) 2023-05-18 12:53:10 +02:00
Alexey-Ayupov dbd131cc88 Update actions labels (#7614) 2023-05-18 12:17:34 +02:00
Shamil Mubarakshin 7e295782c3 Add double quote escaping and update documentation (#7613) 2023-05-18 09:26:10 +02:00
ilia-shipitsin f2b1fa1399 [macos] enable python3 (and pipx) on macOS13 (#7599) 2023-05-18 09:21:55 +02:00
Vasilii Polikarpov 4ca86478ee Separate VM resizing and moving into two different scripts (#7584) 2023-05-17 16:42:02 +02:00
Alexey-Ayupov eb53372646 [macOS] update scripts to fix image generation (#7608) 2023-05-17 11:39:37 +02:00
Shamil Mubarakshin 111d6ae5cf [macos] add architecture references (#7593) 2023-05-16 16:39:03 +02:00
Alexey-Ayupov cc2b556e65 [ubuntu] fix the condition in docker-moby.sh (#7595) 2023-05-15 19:33:52 +02:00
Alexey-Ayupov 69acda60ec Update labels for CI pipelines (GH actions) (#7598) 2023-05-15 15:20:01 +02:00
ilia-shipitsin efe07e28c1 [macos] systeminfo.txt: remove debug leftover (#7592) 2023-05-15 12:24:20 +02:00
Alexey-Ayupov fe2a4862ad [Windows] Remove Python 2.7 from toolcache (#7583) 2023-05-12 17:26:27 +02:00
Alexey-Ayupov 7503cd841a [ubuntu] Remove Python 2.7 from toolcache (#7582) 2023-05-12 14:01:36 +02:00
Alexey-Ayupov 8b099099d9 [macos] prepare repository for ARM64 arch (#7396) 2023-05-12 13:30:13 +02:00
Vasilii Polikarpov b6c7afbb26 Fix variable references in Ubuntu 22 template (#7580) 2023-05-12 11:50:17 +02:00
Vasilii Polikarpov 0997df9069 Keep imagegeneration scripts in macOS and Ubuntu (#7572) 2023-05-12 09:35:09 +02:00
github-actions[bot] 91f9205adb Updating readme file for macos-13 version 20230509.4 (#7569)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 20:38:07 +00:00
Vasilii Polikarpov e62bcae84b Add template for minimal image and update tutorial (#7461) 2023-05-11 19:58:03 +02:00
github-actions[bot] 8ff6083faf Updating readme file for macOS-12 version 20230505.1 (#7563)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 17:46:45 +00:00
Shamil Mubarakshin 648fecab61 Update vctools v143 to 14.35 (#7558) 2023-05-11 18:59:40 +02:00
Alexey-Ayupov db1ea288ef [WinLin] Remove schedules from Azure pipelines (#7576) 2023-05-11 17:52:01 +02:00
github-actions[bot] 8a3922ad30 Updating readme file for win22 version 20230508.3 (#7557)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 14:05:00 +00:00
github-actions[bot] d4b9dcfb15 Updating readme file for win19 version 20230508.1 (#7562)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 14:03:39 +00:00
github-actions[bot] 4b678ffee8 Updating readme file for macOS-11 version 20230504.1 (#7552)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 10:31:03 +00:00
Vasilii Polikarpov 3ae81a0835 [Ubuntu] Test firefox without sudo (#7571) 2023-05-11 10:21:01 +02:00
github-actions[bot] 4fe7f6bc86 Updating readme file for ubuntu22 version 20230507.1 (#7551)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 06:29:58 +00:00
github-actions[bot] ffa4d6a829 Updating readme file for ubuntu20 version 20230507.1 (#7550)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-11 06:28:26 +00:00
Mikhail Koliada 0d51bb3f73 README: distinguish announcements section (#7568) 2023-05-10 18:29:23 +02:00
sergei-pyshnoi 8bac0d5de1 [macOS] fix edge installation (#7553) 2023-05-09 19:41:47 +02:00
Vasilii Polikarpov e2166f086d Fix issue where json encoding is wrong in PS5 (#7538) 2023-05-09 17:15:03 +02:00
github-actions[bot] 8f4a9974b1 Updating readme file for macOS-12 version 20230430.1 (#7530)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-09 09:06:11 +00:00
github-actions[bot] e93f8920c1 Updating readme file for win19 version 20230502.2 (#7537)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-05-08 21:34:37 +00:00
github-actions[bot] 0021a7fb65 Updating readme file for macOS-11 version 20230429.1 (#7532)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-05-08 12:19:11 +02:00
Alexey-Ayupov eec1e84e72 [macOS] add RunAll-Tests.ps1 to the macOS-13 (#7524) 2023-05-05 12:13:47 +02:00
Shamil Mubarakshin fddf50db2a Add Ruby and Python to toolcache (#7529) 2023-05-05 08:38:29 +02:00
github-actions[bot] 8cf8e32bb4 Updating readme file for win22 version 20230502.2 (#7528)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-05-04 15:01:35 +00:00
Alexey-Ayupov f4bbf91a08 [macOS] Delete macOS 10.15 readme file (#7520) 2023-05-02 16:28:19 +02:00
ilia-shipitsin 0b558a470e [macos] add macOS-13 to issue template (#7515) 2023-04-29 09:21:12 +02:00
github-actions[bot] 816adb335a Updating readme file for macOS-12 version 20230425.1 (#7501)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-28 14:03:43 +00:00
Alexey-Ayupov a67e67d42e Add exclusion for macOS-12 for Action: restart (#7511) 2023-04-28 10:35:14 +02:00
Alexey-Ayupov 9f5b4b2fd3 [macOS] Fix software report for macos 13 (#7510) 2023-04-28 10:07:08 +02:00
github-actions[bot] a32a87c346 Updating readme file for macOS-11 version 20230425.1 (#7499)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-28 06:57:57 +00:00
Erik Bershel 7be76e40f4 [Ubuntu] Update libssl1.1 link for SQL installer (#7500) 2023-04-27 17:43:18 +02:00
github-actions[bot] 0a7aae6aaf Windows Server 2019 (20230425) Image Update (#7494)
* Updating readme file for win19 version 20230425.1

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-27 14:25:53 +00:00
Steve-Glass 6a893d200c Update REAME with OS 13 and remove 10.15 (#7481) 2023-04-27 15:37:05 +02:00
github-actions[bot] e651c58384 Windows Server 2022 (20230425) Image Update (#7493)
* Updating readme file for win22 version 20230425.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-27 12:46:01 +00:00
Delphine Roux 0636feb5aa updates for MacOS M1/arm64 runners (#7453) 2023-04-27 09:21:48 +02:00
Delphine Roux 276bcfd0bb Add ca cert to the command line to use TLS in DVT racks (#7489) 2023-04-27 09:20:13 +02:00
github-actions[bot] 3d09ba536c Updating readme file for ubuntu20 version 20230426.1 (#7496)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-26 18:18:07 +00:00
github-actions[bot] a454664a1d Updating readme file for ubuntu22 version 20230426.1 (#7497)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-26 17:33:11 +00:00
Mikhail Koliada b9ca7b686b fix software report output for packer (#7495) 2023-04-26 17:22:01 +02:00
Jonghyun Kim 763969f965 Update macos-13-Readme.md (#7485) 2023-04-25 11:58:05 +02:00
Steve-Glass df617bee5e Merge pull request #7484 from actions/Steve-Glass-patch-1
Create macos-13-Readme.md
2023-04-24 17:19:20 -04:00
Steve-Glass 159de7fd68 Create macos-13-Readme.md 2023-04-24 17:14:01 -04:00
github-actions[bot] cc369a2b40 Windows Server 2022 (20230417) Image Update (#7454)
* Updating readme file for win22 version 20230417.1

* Update Windows2022-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-21 20:51:12 +00:00
github-actions[bot] d8d4d924ad Windows Server 2019 (20230417) Image Update (#7456)
* Updating readme file for win19 version 20230417.2

* Update Windows2019-Readme.md

---------

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-21 20:10:51 +00:00
github-actions[bot] 1330d64b22 Updating readme file for macOS-11 version 20230416.1 (#7459)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-21 17:04:06 +00:00
github-actions[bot] e404b252b1 Updating readme file for macOS-12 version 20230416.1 (#7458)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-21 08:06:57 +00:00
github-actions[bot] af6dd20503 Updating readme file for ubuntu22 version 20230417.1 (#7457)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-20 10:20:30 +00:00
github-actions[bot] 7e61c2e40d Updating readme file for ubuntu20 version 20230417.1 (#7455)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-20 09:12:12 +00:00
Alexey-Ayupov 265af52853 Remove variable mask, add repo secrets (#7462) 2023-04-19 10:49:36 +02:00
Vasilii Polikarpov bea98d0749 Enable exit on error immediately after download attempt (#7444) 2023-04-18 17:26:22 +02:00
Vasilii Polikarpov ff9186f1dc Remove vscode settings (#7448) 2023-04-17 16:42:51 +02:00
Alexey-Ayupov 871fce1661 Support ARM64 architecture (#7451) 2023-04-17 16:42:19 +02:00
Vasilii Polikarpov 5657dec7af [Windows|Ubuntu] Remove obsolete workarounds (#7431) 2023-04-17 13:31:56 +02:00
Per Lundberg 0f23104156 README: fix typo (#7445) 2023-04-16 14:26:31 +02:00
Dan Friedman e23a588bad Add .NET environment variables to windows image (#7400) 2023-04-16 14:25:30 +02:00
Allan c44e921e0b Fix typo (#7438) 2023-04-14 11:27:42 +02:00
github-actions[bot] 8d09f734cd Updating readme file for macOS-11 version 20230411.1 (#7429)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-14 09:26:22 +00:00
github-actions[bot] ef281ab8c6 Updating readme file for win19 version 20230407.1 (#7420)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-14 03:47:59 +00:00
github-actions[bot] aa082ca119 Updating readme file for macOS-12 version 20230411.1 (#7432)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-13 22:30:19 +00:00
github-actions[bot] fc3f23976b Updating readme file for ubuntu22 version 20230409.1 (#7419)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-13 12:27:52 +00:00
github-actions[bot] 2fe41b81c5 Updating readme file for ubuntu20 version 20230409.1 (#7418)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-13 12:19:19 +00:00
github-actions[bot] 0f4a3567b1 Updating readme file for win22 version 20230407.1 (#7416)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-13 10:10:40 +00:00
Mikhail Koliada 9f90e76a0c [Ubuntu] get back to normal erlang installation (#7428) 2023-04-12 14:55:21 +02:00
Vasilii Polikarpov 3220eb4c1b Fix failure when tags are set for Ubuntu 22 generation (#7417) 2023-04-12 14:32:59 +02:00
sergei-pyshnoi f01bed49d5 [windows] fix version mongodb (#7425) 2023-04-12 04:05:35 +02:00
Vasilii Polikarpov 5777d37af1 Fix ip address whiltelist value for hcl2 templates (#7409) 2023-04-10 14:14:48 +02:00
github-actions[bot] 833ffa3aab Updating readme file for macOS-12 version 20230328.1 (#7382)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-04-06 20:28:49 +02:00
github-actions[bot] d0487f5869 Updating readme file for macOS-11 version 20230328.2 (#7383)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-04-06 20:28:31 +02:00
Shamil Mubarakshin a2308e8518 [macos] remove GraalVM (#7398) 2023-04-06 18:29:02 +02:00
github-actions[bot] 07662e65ba Updating readme file for win19 version 20230331.1 (#7385)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-06 14:26:47 +00:00
Shamil Mubarakshin bc834aa083 [ubuntu] remove GraalVM (#7399) 2023-04-06 15:41:26 +02:00
Alexey-Ayupov 46f5d5470a Update CI actions according to demands (#7395) 2023-04-06 14:40:05 +02:00
Sergey Dolin 69d754cb77 [Windows] Run bcdedit /set hypervisorschedulertyupe root (#7394) 2023-04-06 12:38:49 +02:00
github-actions[bot] e8b403e0b9 Updating readme file for win22 version 20230402.1 (#7384)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-06 10:29:35 +00:00
github-actions[bot] 83dcaf932f Updating readme file for ubuntu22 version 20230402.1 (#7386)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-06 09:44:54 +00:00
github-actions[bot] 15a6f4b1b3 Updating readme file for ubuntu20 version 20230402.1 (#7392)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-04-06 09:37:48 +00:00
Erik Bershel d19fa4a8f1 [Windows] Add more releases per page (#7391) 2023-04-05 15:56:35 +02:00
ilia-shipitsin 869adbbd1c hide builds using dedicated runners from forks (#7377) 2023-04-05 14:02:45 +02:00
sergei-pyshnoi 9e3bbcb5e1 [Ubuntu] Add systemd version to software report (#7387) 2023-04-04 17:52:40 +02:00
Shamil Mubarakshin e72606ffb6 Cleanup ubuntu1804 image references (#7388) 2023-04-04 12:36:53 +02:00
Vasilii Polikarpov 425daf97b4 Validate OpenSSL version in Windows (#7372) 2023-03-31 16:30:04 +02:00
github-actions[bot] 709d0b30fe Updating readme file for win19 version 20230326.1 (#7344)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-30 19:47:01 +00:00
github-actions[bot] 4cede79c69 Updating readme file for win22 version 20230326.1 (#7343)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-30 10:59:45 +00:00
Erik Bershel 32782cc69f [Ubuntu] Update Android test case (#7290) 2023-03-30 11:23:55 +02:00
github-actions[bot] c5ea85a212 Updating readme file for ubuntu22 version 20230326.2 (#7342)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-30 09:07:48 +00:00
github-actions[bot] e62f0787f8 Updating readme file for ubuntu20 version 20230326.2 (#7341)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-30 08:51:20 +00:00
ilia-shipitsin 88c18714c9 [ubuntu] remove go 1.17 (#7349) 2023-03-29 17:09:46 +02:00
Erik Bershel 7c61da51cf [Ubuntu] Temp patch for PhantomJS/libssl conflict (#7358) 2023-03-29 11:18:06 +02:00
Erik Bershel c93b9a2125 [macOS] Update Android test case (#7289) 2023-03-28 14:33:01 +02:00
ilia-shipitsin 6b75f9c486 [macos] temporarily shift MacOS 11 image generation schedule (#7352) 2023-03-28 13:07:42 +02:00
Vasilii Polikarpov d9b4647e11 [Windows] Add script for OpenSSL installation (#7337) 2023-03-28 10:42:14 +02:00
ilia-shipitsin 078d815ad5 [windows] remove go 1.17 (#7348) 2023-03-28 09:29:33 +02:00
ilia-shipitsin 7c4a229fbc [macos] remove go 1.17 (#7347) 2023-03-28 09:27:26 +02:00
ilia-shipitsin e8faa6254e [macos] temporarily shift MacOS 11 image generation schedule (#7335) 2023-03-27 16:24:12 +02:00
github-actions[bot] 3c5dc9d3a7 Updating readme file for macOS-11 version 20230318.1 (#7308)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-27 09:41:26 +00:00
github-actions[bot] 0f6480a303 Updating readme file for macOS-12 version 20230318.1 (#7309)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-24 09:20:48 +00:00
github-actions[bot] 073720049b Updating readme file for ubuntu20 version 20230317.1 (#7310)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-23 21:50:57 +00:00
github-actions[bot] efde1c17f1 Updating readme file for ubuntu22 version 20230317.1 (#7311)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-23 18:39:17 +00:00
Erik Bershel 964b509df0 Update SBOM workflow to use syft with bash shell for macOS (#7322) 2023-03-22 08:49:54 +01:00
Dusko Dobranic 39fc5b4fff [macOS] Use variable instead of hard coded value (#7214) 2023-03-22 08:45:17 +01:00
Erik Bershel e37e273375 [macOS] Fix typo in TCC DB config (#7314) 2023-03-21 17:59:57 +01:00
Erik Bershel 4cd37cce64 [Ubuntu] Install latest but not recomended Cabal (#7316) 2023-03-21 11:13:46 +01:00
ilia-shipitsin f0e54bbe9f [macos] VMWare host selection: do not count "vmkdump" folder as possible vm name when choosing available datastore (#7301) 2023-03-17 16:51:49 +01:00
Dusko Dobranic 754cbccf56 [Windows] AWS CLI session manager plugin test fix (#7294) 2023-03-17 15:53:44 +01:00
github-actions[bot] ffd1b627e2 Updating readme file for macOS-12 version 20230304.1 (#7249)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-17 09:34:45 +00:00
github-actions[bot] efd070e7b2 Updating readme file for win19 version 20230314.1 (#7285)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-03-17 10:22:22 +01:00
github-actions[bot] 83f4ba6069 Updating readme file for win22 version 20230314.1 (#7286)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-03-17 10:22:05 +01:00
Erik Bershel 7a704400ab [macOS] Update macOS TCC DB config (#7297) 2023-03-17 09:43:53 +01:00
github-actions[bot] 2c549825ea Updating readme file for ubuntu22 version 20230313.1 (#7279)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-16 09:48:21 +00:00
github-actions[bot] 87dc452498 Updating readme file for ubuntu20 version 20230313.1 (#7278)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-16 09:47:08 +00:00
Erik Bershel 1261bad465 [Ubuntu] Update Maven to 3.8.8, new download link (#7287) 2023-03-15 20:38:34 +01:00
ilia-shipitsin 0d3ef08d6f [ubuntu] aws session manager plugin 1.2.458.0 fix (#7291)
Co-authored-by: Ilia Shipitsin <ilia-shipitsin@github.com>
2023-03-15 15:04:45 +01:00
Erik Bershel bc22983319 Update condition for Android packages filter (#7280) 2023-03-14 17:14:42 +01:00
sergei-pyshnoi 014e1b0e76 [Ubuntu] add alpine 3.17 docker image (#7274) 2023-03-14 10:59:11 +01:00
github-actions[bot] 77039ebf7e Updating readme file for macOS-11 version 20230303.1 (#7250)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-14 08:15:46 +00:00
Mikhail Koliada f386f9db4b Do not expose packer-log in pipelines (#7273) 2023-03-13 15:38:50 +01:00
github-actions[bot] 1822632ce6 Updating readme file for win22 version 20230307.2 (#7254)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-03-11 15:42:45 +01:00
github-actions[bot] b4bcfd8fa5 Updating readme file for win19 version 20230307.2 (#7255)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-03-11 15:42:19 +01:00
Mikhail Koliada 2e2fb13389 [Ubuntu] print maven version on Ubuntu 22.04 (#7265) 2023-03-10 14:03:57 +01:00
ilia-shipitsin 6704e26553 [macos] remove gcc9 from MacOS-11 (#7257)
Co-authored-by: Ilia Shipitsin <ilia-shipitsin@github.com>
2023-03-10 11:54:48 +01:00
github-actions[bot] 3d67023c9c Updating readme file for ubuntu20 version 20230305.1 (#7240)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-09 09:17:40 +00:00
github-actions[bot] 229225cab5 Updating readme file for ubuntu22 version 20230305.1 (#7241)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-09 09:15:42 +00:00
Mikhail Koliada b253509c8b Revert "[Ubuntu] hardcode chromium revision for 110.x (#7113)" (#7248)
This reverts commit bbac29011e.
2023-03-08 10:53:16 +01:00
sergei-pyshnoi c22eb26949 [windows] fix version for docker-compose v1 (#7247) 2023-03-07 18:14:29 +01:00
github-actions[bot] 827ad77989 Updating readme file for macOS-12 version 20230224.1 (#7222)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-07 10:18:19 +00:00
Mikhail Koliada ed49bcd543 [Windows] pin maven version (#7236) 2023-03-05 11:41:43 +01:00
Mikhail Koliada fe23ebfec1 [Ubuntu] rework erlang installation (workaround hashes) (#7234) 2023-03-04 18:12:02 +01:00
Gergő Rubint 143a8da8d6 Revert "[Ubuntu] Update Maven to 3.9.0 (#7060)" (#7232)
This reverts commit 7e014ba67b.
2023-03-03 23:49:20 +01:00
github-actions[bot] 085afb9549 Updating readme file for macOS-11 version 20230223.3 (#7223)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-03 16:10:11 +00:00
Mikhail Koliada 07428a1def [ubuntu] fix cmdline-tools parser (#7229) 2023-03-03 16:17:13 +01:00
Mikhail Koliada 29ed1a27b9 [Anka] add script to fix broken simulators name (#7231) 2023-03-03 14:52:26 +01:00
Sergey Dolin 7ac0d4826c Enable HypervisorPlatform (#7220) 2023-03-02 22:28:58 +01:00
Dusko Dobranic 583096e059 Use variable instead of hard coded value (#7213) 2023-03-02 22:28:36 +01:00
github-actions[bot] 477577696f Updating readme file for win22 version 20230226.1 (#7195)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-02 14:36:59 +00:00
github-actions[bot] a97f8c9bdf Updating readme file for win19 version 20230226.1 (#7196)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-02 14:33:55 +00:00
github-actions[bot] d2e23d3886 Updating readme file for ubuntu20 version 20230224.2 (#7197)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-02 12:54:30 +00:00
Mikhail Koliada ea986d3260 [Anka] Decrement retries for auth attempts (#7217) 2023-03-02 11:21:19 +01:00
github-actions[bot] 7c6375761d Updating readme file for ubuntu22 version 20230227.2 (#7206)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-03-02 10:10:51 +00:00
Mikhail Koliada 02e4e5a6a0 [Ubuntu] Do not install erlang on 18.04 (#7212)
* [Ubuntu] Do not install erlang on 18.04

* fixup
2023-03-01 17:11:12 +01:00
Maxim Lobanov fec7951493 Fix Xcode simulator naming at the end of image generation (#7181) 2023-03-01 10:43:47 +01:00
Alexey-Ayupov 6980b00031 Add GitHub actions for image generation (#7182) 2023-02-28 21:11:41 +01:00
Alexey-Ayupov c6c2716726 [macOS] prepare repository for macOS 13 (#7156) 2023-02-28 20:24:25 +01:00
Mikhail Koliada 9089d1ec95 [macOS] do not install tcl/tk symlinks on BigSur (#7202) 2023-02-28 14:49:01 +01:00
Mikhail Koliada e4e631725a Revert "Remove libssl dependency (#7166)" (#7203)
This reverts commit 7fa12b8806.
2023-02-28 00:07:45 +01:00
sergei-pyshnoi bcb2886e5b [macOS] Software Updates 2023 Week 9 (#7183) 2023-02-24 08:39:50 +01:00
sergei-pyshnoi 6c0a78e1c7 add go 1.20 to toolsets (#7186) 2023-02-24 08:34:36 +01:00
github-actions[bot] d554c13cc8 Updating readme file for win19 version 20230219.1 (#7157)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 22:49:14 +00:00
github-actions[bot] dc6b07abe3 Updating readme file for macOS-12 version 20230219.1 (#7161)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 19:55:36 +00:00
sergei-pyshnoi 8c0f7bb032 [macOS] add go 1.20 to toolsets (#7184) 2023-02-23 19:45:43 +01:00
sergei-pyshnoi ac0d8e922b [Ubuntu] add go 1.20 to toolsets (#7185) 2023-02-23 19:44:51 +01:00
Erik Bershel d9fa202bbb [macOS] Update utils.sh - brew all bottles, fix echo (#7160) 2023-02-23 17:33:06 +01:00
Erik Bershel a65bd14fa1 [ macOS ] Add pkg-config to report (#7176) 2023-02-23 17:00:00 +01:00
github-actions[bot] e0dd25a5e0 Updating readme file for win22 version 20230219.1 (#7153)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 15:29:44 +00:00
github-actions[bot] 312fbc4f8d Updating readme file for ubuntu20 version 20230219.1 (#7148)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 15:29:19 +00:00
github-actions[bot] b6be4d9a4d Updating readme file for ubuntu22 version 20230219.1 (#7149)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 10:20:01 +00:00
github-actions[bot] 7a9abb3f6f Updating readme file for macOS-11 version 20230219.1 (#7163)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-23 09:15:28 +00:00
Fedor Varavenko b5dbb9c705 [macOS] point Xcode 13.4 to 13.4.1 (#7177)
Announcement(issue-7127): Xcode 13.4 will be pointing to Xcode 13.4.1 and Xcode 13.4 removed.
2023-02-22 23:36:07 +01:00
Dusko Dobranic 7e014ba67b [Ubuntu] Update Maven to 3.9.0 (#7060) 2023-02-22 17:38:02 +01:00
Alexey-Ayupov 3bd50b83d4 [macOS] update macOS 13 template (#7175) 2023-02-22 17:20:54 +01:00
Dusko Dobranic 7fa12b8806 Remove libssl dependency (#7166) 2023-02-21 21:30:23 +01:00
Alexey-Ayupov aa01b789be [macOS] Add packer template for macOS 13 (#7116) 2023-02-20 16:54:26 +01:00
Erik Bershel 09baf89e70 [macOS] Add pkg-config via brew for vcpkg (#7125) 2023-02-19 11:25:31 +01:00
Erik Bershel 3483751d9d [macOS] Software Updates 2023 Week 8 (#7124) 2023-02-18 19:32:07 +01:00
github-actions[bot] e0c027edf4 Updating readme file for ubuntu20 version 20230217.1 (#7139)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-18 17:35:35 +00:00
github-actions[bot] 97e33e1df0 Updating readme file for ubuntu18 version 20230217.2 (#7141)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-18 17:07:17 +00:00
Mikhail Koliada 1f4130e15e Revert "[Ubuntu] workaround libodbc installation (#7117)" (#7137)
This reverts commit c89bab7e42.
2023-02-18 12:39:27 +01:00
Mikhail Koliada 8a001e66b1 [macOS] Do not use brew API for installation (#7135) 2023-02-18 10:41:24 +01:00
github-actions[bot] ce2e896fcb Updating readme file for ubuntu22 version 20230217.1 (#7132)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-17 20:44:57 +00:00
github-actions[bot] ef4d5b3cd6 Updating readme file for macOS-12 version 20230214.2 (#7121)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-17 20:15:53 +00:00
Mikhail Koliada c1a9cb6de6 [Ubuntu] fix PHP software report (#7131) 2023-02-17 16:37:46 +01:00
github-actions[bot] bf50e0da6f Updating readme file for macOS-11 version 20230214.1 (#7123)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-02-16 17:18:25 +00:00
Erik Bershel 362b112a77 [Windows] Update Rustup download link (#7106) 2023-02-16 11:19:38 +01:00
github-actions[bot] 6b424ca736 Updating readme file for win22 version 20230214.1 (#7111)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-15 23:54:08 +00:00
github-actions[bot] 4560115ec8 Updating readme file for win19 version 20230214.1 (#7112)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-15 20:39:43 +00:00
Mikhail Koliada c89bab7e42 [Ubuntu] workaround libodbc installation (#7117) 2023-02-15 20:10:43 +01:00
Alexey-Ayupov bbac29011e [Ubuntu] hardcode chromium revision for 110.x (#7113) 2023-02-15 14:24:13 +01:00
Erik Bershel c60c6b67ab [macOS] Update Python3 installer script (#7104) 2023-02-14 16:47:55 +01:00
sergei-pyshnoi 8767a6eb4e Remove all macOS-10.15 related code (#7078) 2023-02-13 16:40:48 +01:00
Mikhail Koliada 539b772d6b [macOS] set node 18 as default (#7093) 2023-02-13 01:17:39 +01:00
Mikhail Koliada bc6c8131b5 [Windows] set node 18 as default (#7092) 2023-02-12 19:42:41 +01:00
Mikhail Koliada 632145f3a5 [Ubuntu] set node 18 as default (#7094) 2023-02-12 13:57:16 +01:00
Alexey-Ayupov feb6252fae [macOS] Update templates to fix issue with node 19 (#7081) 2023-02-11 11:25:07 +01:00
github-actions[bot] 5f3fb1b548 Updating readme file for win19 version 20230205.1 (#7057)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-09 22:17:30 +00:00
Julian Ospald c92736d124 Don't clean up haddock and profiling libs on MacOS (#7069)
This was initially meant to save space in docker containers,
but breaks several use cases and runner images shouldn't have
space constraints.
2023-02-09 21:47:25 +01:00
Julian Ospald 3f07514a44 Don't clean up haddock and profiling libs on Linux (#6972)
This was initially meant to save space in docker containers,
but breaks several use cases and runner images shouldn't have
space constraints.

Also fixes: https://github.com/haskell/actions/issues/176
2023-02-09 21:46:40 +01:00
github-actions[bot] 9b3288dc18 Updating readme file for win22 version 20230206.1 (#7056)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-09 16:42:28 +00:00
Dusko Dobranic 1d6be38cc8 [Ubuntu] Fix libssl version (#7073) 2023-02-09 14:42:08 +01:00
github-actions[bot] 4a42f07ad2 Updating readme file for ubuntu20 version 20230206.1 (#7054)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-09 13:39:22 +00:00
github-actions[bot] 072cca75ce Updating readme file for ubuntu22 version 20230206.1 (#7053)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-09 12:08:09 +00:00
github-actions[bot] f4f78af7dd Updating readme file for macOS-11 version 20230205.1 (#7063)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-09 09:33:36 +00:00
Alexey-Ayupov 6341547de6 [macOS] prepare helpers for macOS 13 (#7071) 2023-02-08 18:30:16 +01:00
Alexey-Ayupov 8282937409 [Windows] Reengineer the way of getting the installer for PostgreSQL (#7065) 2023-02-08 16:27:46 +01:00
Alexey-Ayupov 8361bb299b Update the code for anka v3 compatibility (#7045) 2023-02-05 14:42:31 +01:00
Alexey-Ayupov 2109acacd5 Update the code for anka v3 compatibility (#7044) 2023-02-05 14:08:22 +01:00
github-actions[bot] 7a8e77b24a Updating readme file for macOS-12 version 20230125.4 (#7018)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-02-04 12:14:28 +01:00
Mikhail Koliada 751fe08d98 README: add package managers table (#6959) 2023-02-02 17:45:38 +01:00
github-actions[bot] 33195758f0 Updating readme file for win19 version 20230129.2 (#7010)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-02 15:37:20 +00:00
Fedor Varavenko 30bde95314 [Ubuntu] .NET 5.x has been removed (#7029) 2023-02-02 14:36:36 +01:00
Fedor Varavenko aaf13dc3c2 [MacOS] .NET 5.x has been removed (#7030) 2023-02-02 14:34:28 +01:00
Fedor Varavenko e0e8ca9f67 [Windows] .NET 5.x has been removed (#7026) 2023-02-02 14:31:44 +01:00
github-actions[bot] 8ac0b91f78 Updating readme file for win22 version 20230129.1 (#7013)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-02 12:31:22 +00:00
github-actions[bot] 05466aa85a Updating readme file for ubuntu22 version 20230129.2 (#7014)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-02 10:02:48 +00:00
github-actions[bot] 5be88bfe57 Updating readme file for ubuntu20 version 20230129.2 (#7011)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-02-02 09:59:42 +00:00
Mikhail Koliada 17295fdcde [Windows] add retries in toolset installation (#7025) 2023-02-01 16:05:23 +01:00
Dusko Dobranic 7821217b60 [Windows] Install ghc and cabal using ghcup (#6754) 2023-01-31 22:03:06 +01:00
Erik Bershel 68485f8bbf [Windows] CodeQL Action Bundle report small fix (#7020) 2023-01-31 21:41:13 +01:00
github-actions[bot] f0cd188d73 Updating readme file for macOS-11 version 20230125.1 (#7009)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2023-01-30 20:54:51 +00:00
Mikhail Koliada 5a94a87d67 LiCENSE: we are in 2023! (#7006) 2023-01-29 23:53:49 +01:00
Mikhail Koliada fab3a48efe [Ubuntu] Hardcode android cmd-tools on 18.04 (#7005) 2023-01-29 19:54:27 +01:00
Angela P Wen 1e75a20a49 [Linux,macOS,Windows] Download two latest CodeQL bundles (#6884)
Previously, our runner image only included the most recent release of CodeQL. In order to improve stability of rollout of new CodeQL versions, we are now downloading the most recent two releases.

The change updates the Linux and Windows script variable names to match that of the Mac script, because they are mostly functionally identical. It also adds the same log messages to all scripts and ensures Mac and Windows test parity. It tests that there are two bundles in each of the OS's as well.

This will approximately double the total size and installation time of the existing CodeQL tool.
2023-01-29 14:46:43 +01:00
Mikhail Koliada 2205d11bf5 [Windows] set TLS12 for toolset (#7001) 2023-01-28 17:21:17 +01:00
Erik Bershel 583c737c15 [macOS] Software Updates 2023 Week 5 (#6997) 2023-01-27 14:49:03 +01:00
Sergey Dolin 8649f7f9e9 install Hyper-V feature (#6987) 2023-01-26 16:25:01 +01:00
github-actions[bot] 0c48a4e68d Updating readme file for win19 version 20230123.2 (#6974)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-26 15:08:39 +00:00
github-actions[bot] fda51675fc Updating readme file for win22 version 20230123.1 (#6973)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-26 14:40:33 +00:00
github-actions[bot] 4c586edefa Updating readme file for win22 version 20230123.1 (#6973)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-26 14:25:33 +00:00
sergei-pyshnoi 11a5cf4a06 [macOS] Add gcc 12 (#6977) 2023-01-25 17:12:09 +01:00
github-actions[bot] b3bbfccef4 Updating readme file for ubuntu22 version 20230122.1 (#6967)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-25 15:16:40 +00:00
github-actions[bot] b8d201e18a Updating readme file for ubuntu20 version 20230122.1 (#6966)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-25 11:20:25 +00:00
Alexey-Ayupov 15829d25a9 [macOS] Hardcode command line tools (#6965) 2023-01-23 16:54:13 +01:00
Mikhail Koliada 44a6abe0b7 [Windows] Hardcode command line tools (#6963) 2023-01-23 15:38:35 +01:00
github-actions[bot] c6393f1f23 Updating readme file for macOS-12 version 20230117.3 (#6940)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-21 16:27:39 +00:00
github-actions[bot] 83ed0e8820 Updating readme file for macOS-11 version 20230117.2 (#6939)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-21 16:17:56 +00:00
Fedor Varavenko 049b5490ba [Windows] Upgrade Az powershell to 9.3.0 (#6952) 2023-01-20 18:15:11 +01:00
Fedor Varavenko 35d339e137 [Linux] Upgrade Az powershell to 9.3.0 (#6953) 2023-01-20 18:14:34 +01:00
Alexey-Ayupov a218bee02d [Windows] fix software report generator for Parcel (#6933) 2023-01-20 18:08:01 +01:00
github-actions[bot] 59c0d35a32 Updating readme file for ubuntu22 version 20230118.2 (#6941)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-19 16:39:34 +00:00
github-actions[bot] 794867863f Updating readme file for ubuntu20 version 20230118.1 (#6942)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-19 15:49:50 +00:00
github-actions[bot] 2c5e6f8a4e Updating readme file for ubuntu18 version 20230118.2 (#6943)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-19 15:32:31 +00:00
github-actions[bot] 23a732a107 Updating readme file for win22 version 20230118.1 (#6938)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-19 12:08:00 +00:00
github-actions[bot] 370727c2fb Windows Server 2019 (20230117) Image Update (#6932)
* Updating readme file for win19 version 20230117.1

* Update Windows2019-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-19 03:52:43 +00:00
Alexey-Ayupov ea70a64733 [Windows] Add retry to Install-VsixExtension (#6934) 2023-01-18 17:51:36 +01:00
Mikhail Koliada 7d596c7216 [Ubuntu] fix ghcup version in software report (#6919) 2023-01-15 20:11:33 +01:00
Mikhail Koliada b26e3736c1 [macOS] Switch defailt Xcode to 14.2 (#6907) 2023-01-13 09:57:26 +01:00
Alexey-Ayupov a86ee04ce6 [Windows] Update Az module pester test (#6902) 2023-01-12 21:25:12 +01:00
Alexey-Ayupov 7750a08f65 Disable Pester test colors (#6908) 2023-01-12 20:26:45 +01:00
github-actions[bot] a22d921c17 Updating readme file for win22 version 20230109.1 (#6892)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-12 18:43:37 +00:00
Mikhail Koliada 010d9b89d0 README: no active migrations (#6906) 2023-01-12 18:38:54 +01:00
github-actions[bot] c82cd6704b Updating readme file for ubuntu22 version 20230109.1 (#6893)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-12 14:06:52 +00:00
github-actions[bot] 55011709b0 Updating readme file for ubuntu20 version 20230109.1 (#6895)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2023-01-12 13:14:56 +00:00
Mikhail Koliada bcc68b091b README: macos-latest is now macos-12 (#6901) 2023-01-11 23:05:54 +01:00
Mikhail Koliada e6fcf60b8e Revert "[Windows] Update OpenSSL version to 3.x (#6837)" (#6891)
This reverts commit 9753e7301e.
2023-01-09 20:10:45 +01:00
baldcorp 68f38ef5a4 [Windows] Change the way of installing Service Fabric (#6882)
Co-authored-by: Alexey Ayupov <alexey.ayupov@akvelon.com>
2023-01-06 21:26:37 +01:00
Alexey-Ayupov 9ee9311122 [Windows] Update LLVM version to 15 (#6838) 2023-01-04 18:57:14 +01:00
baldcorp 6f2a153a44 [macOS] Update llvm to version 15 (#6871)
Co-authored-by: Alexey Ayupov <alexey.ayupov@akvelon.com>
2023-01-04 18:56:45 +01:00
Christian Decker 3502d10db3 [Ubuntu] update maven from 3.8.6 to 3.8.7 (#6861) 2023-01-02 14:40:29 +01:00
Julian Ospald b38865e056 Make sure GHCUP_INSTALL_BASE_PREFIX is set (#6770)
We use it during installation and add it to PATH, but then
don't instruct ghcup to actually use this directory at runtime.

This leads to:

1. ghcup is in /usr/local/.ghcup/bin/
2. `ghcup install cabal latest` will actually install into ~/.ghcup/bin/
3. since ~/.ghcup/bin/ is not in PATH, but /usr/local/.ghcup/bin/ is,
   the new binary is not visible to the user

This issues does not exist on darwin, because there we use
~/.ghcup/bin/.

https://downloads.haskell.org/ghcup/tmp/aarch64-linux-ghcup-0.1.18.1
2023-01-02 10:58:35 +01:00
Alexey-Ayupov b659709f2f [macOS] Remove kotlinc-js pester test (#6854) 2022-12-30 14:40:57 +01:00
scp-mb add9a1e9ad Update documentation with minimum packer version (#6820) 2022-12-30 10:31:37 +01:00
bogdan-damian-bgd 447c8387a2 [Windows] Update documentation generation to use shared software report module (#6834) 2022-12-30 10:24:22 +01:00
Alexey-Ayupov f7f519dcc4 [Ubuntu] update zstd version (#6681) 2022-12-29 23:33:04 +01:00
Alexey-Ayupov 39ba239618 [Windows] Remove pester test for kotlinc-js (#6850) 2022-12-29 20:39:24 +01:00
Mikhail Koliada e9b59a540e Revert "[Ubuntu] hardcode chromium revision for 108.x (#6734)" (#6851)
This reverts commit fb484d9530.
2022-12-29 15:28:19 +01:00
Alexey-Ayupov c92563577c [Ubuntu] Remove pester test for kotlinc-js (#6849) 2022-12-29 12:10:43 +01:00
bogdan-damian-bgd d1f0dc6376 MacOS software report fix var name typo (#6842) 2022-12-27 16:33:43 +01:00
Alexey-Ayupov 9753e7301e [Windows] Update OpenSSL version to 3.x (#6837) 2022-12-26 15:16:53 +01:00
Alexey-Ayupov 884a7ac5c1 [Windows] Update Az module version to 9.1.1 (#6831) 2022-12-26 10:35:19 +01:00
Alexey-Ayupov e589831baa [Ubuntu] Update Az module version to 9.2.0 (#6836) 2022-12-26 10:34:52 +01:00
Maxim Lobanov 1a44d9343c Small improvements for software generator module (#6833) 2022-12-23 21:02:07 +01:00
Alexey-Ayupov 631fd3b08d [Ubuntu] Update Az module version to 9.1.1 (#6832) 2022-12-23 13:24:10 +01:00
Alexey-Ayupov 3bd81ca3be [Windows] Update PostgreSQL way to install (#6824) 2022-12-23 09:47:28 +01:00
Maxim Lobanov b94d2687f8 Polish macOS and Linux docs (#6827) 2022-12-23 09:38:33 +01:00
github-actions[bot] 86751fa022 Updating readme file for ubuntu18 version 20221220.1 (#6818)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-22 18:33:45 +00:00
Maxim Lobanov 71e1acd1b0 Minor fixes for Calculate-ImagesDifference.ps1 (#6826) 2022-12-22 12:22:26 +01:00
Maxim Lobanov c00379c85c [Ubuntu] Update documentation generation to use shared software report module (#6823)
* Create ubuntu-report.yml

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* Update Common.Helpers.psm1

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* Update SoftwareReport.Generator.ps1

* Update ubuntu-report.yml

* Update ubuntu-report.yml

* env vars

* Implement language and runtime

* Add package management section

* fix typo

* fix typo

* add projectManagement and tools

* fix some tools

* add CLI tools, Java, PHP Tools, Haskell Tools, Rust Tools, Browsers, .NET Core

* fix typo

* more changes

* fix typo

* fix typo

* fix typo

* change templates

* fix toolset

* Update Ubuntu2004 and 2204 templates

* fix cargo

* fix tiny nitpicks

* Fix AddToolVersionsList

* Remove unused methods

* Fix contructor
2022-12-21 19:38:54 +01:00
Mikhail Koliada 5d628bf703 [macOS] set Xcode 14.1 as default (#6822) 2022-12-21 18:49:42 +01:00
Maxim Lobanov 66835ab703 Add logic to publish artifact (#6821) 2022-12-21 14:19:42 +01:00
Maxim Lobanov 4aeccc7b5b Implement tests for software-report-module (#6815)
* Minor improvements

* fix typos

* fix brew rendering

* add temp test

* Implement tests

* Add arguments validation

* ToMarkdown()

* Use before-All and helpers

* Get rid of arrays

* Add validation, no new nodes after header

* Fix naming

* add workflow

* Revisit comments + tiny improvements

* Fix tables

* Fix html table indent

* remove comment

* attemp to break test - testing CI

* revert breaking test

* fix nitpicks
2022-12-21 10:58:27 +01:00
github-actions[bot] bc38aa4173 Updating readme file for macOS-12 version 20221215.1 (#6799)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-20 16:36:14 +00:00
github-actions[bot] 7f283d3a61 Updating readme file for macOS-11 version 20221215.1 (#6792)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-19 15:47:47 +00:00
github-actions[bot] 504c307197 Updating readme file for win19 version 20221214.4 (#6801)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-19 10:14:20 +00:00
github-actions[bot] f9604d9ebb Updating readme file for win22 version 20221215.2 (#6784)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-19 10:00:43 +00:00
Erik Bershel 34c4d37ff0 Fix use of invalid characters in artifact name (#6788) 2022-12-16 17:05:17 +01:00
Erik Bershel d171f5b873 Revert "Testing of event payload (#6786)" (#6787)
This reverts commit 5a583f4918.
2022-12-16 15:15:48 +01:00
Erik Bershel 5a583f4918 Testing of event payload (#6786) 2022-12-16 13:38:31 +01:00
Erik Bershel ad0880f33b Update SBOM-gen add artifact upload + bugfix (#6779) 2022-12-15 19:02:05 +01:00
Mikhail Koliada 9c544f4701 ubuntu-latest is now ubuntu-22.04 (#6776) 2022-12-15 17:20:01 +01:00
github-actions[bot] 6b249254da Updating readme file for ubuntu20 version 20221212.2 (#6757)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-15 09:37:39 +00:00
github-actions[bot] 55296dc01b Updating readme file for ubuntu22 version 20221212.1 (#6758)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-15 09:20:03 +00:00
Alexey-Ayupov 3334c52558 [Windows] download MySQL from SA (#6769) 2022-12-14 23:10:59 +01:00
Maxim Lobanov 257743a26d [Windows] Minor documentation improvements (#6751) 2022-12-14 19:53:32 +01:00
Maxim Lobanov 2f83bbaa50 rename nodes in software report (#6763) 2022-12-14 10:24:47 +01:00
Maxim Lobanov e63632f872 [Linux] Minor documentation improvements (#6749) 2022-12-13 17:07:05 +01:00
Maxim Lobanov 6033af8dd1 Improve table and tool versions comparison for new Software Report module (#6729) 2022-12-13 16:54:41 +01:00
bogdan-damian-bgd 656d9522e0 Move SoftwareReport modules to global location (#6720) 2022-12-12 14:56:04 +01:00
Shivam Mathur 107a83d634 [Windows] upgrade php version to 8.2 (#6744) 2022-12-12 13:20:12 +01:00
Mikhail Koliada 43d8adc717 Do not include macOS-10.15 into templates (#6748) 2022-12-12 12:40:55 +01:00
Shivam Mathur 02c31c9246 [Ubuntu] add php 8.2 (#6745) 2022-12-12 11:16:35 +01:00
Erik Bershel 0810b54837 Update SBOM-workflow with new variable agentSpec (#6742) 2022-12-12 10:48:30 +01:00
Alexey-Ayupov 9e9f7c0b44 [macOS] Update PHP to 8.2 (#6739) 2022-12-11 15:53:51 +01:00
Alexey-Ayupov 686220b3ae [Ubuntu] Add libyaml-dev library (#6740) 2022-12-11 14:56:40 +01:00
Erik Bershel e54741d1f9 [Ubuntu] Add GFortran 12 for Ubuntu 22.04 (#6736) 2022-12-10 23:18:38 +01:00
Erik Bershel 39c59ba0cd [Ubuntu] Add lz4 for 22.04 (#6722) 2022-12-10 23:17:23 +01:00
github-actions[bot] 49c7baaa44 Updating readme file for ubuntu20 version 20221204.2 (#6692)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-09 16:47:50 +01:00
github-actions[bot] 9585a65341 Updating readme file for ubuntu22 version 20221204.2 (#6693)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-09 16:47:28 +01:00
github-actions[bot] 81ceb534f3 Updating readme file for win19 version 20221204.2 (#6694)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-09 16:46:18 +01:00
github-actions[bot] 383e49921c Updating readme file for win22 version 20221204.3 (#6695)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-09 16:45:44 +01:00
Mikhail Koliada fb484d9530 [Ubuntu] hardcode chromium revision for 108.x (#6734) 2022-12-09 16:16:03 +01:00
Maxim Lobanov 479d7175f6 Minor improvements for macOS Documentation (#6721)
* Minor improvements

* fix typos

* fix brew rendering
2022-12-08 19:14:16 +01:00
github-actions[bot] f28afb3069 Updating readme file for macOS-11 version 20221204.1 (#6705)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-08 11:01:27 +00:00
github-actions[bot] ec48677623 Updating readme file for macOS-12 version 20221204.1 (#6706)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-08 10:04:50 +00:00
Mikhail Koliada 71e3d4dc6d [macOS] Add xcode-14.2 (#6718) 2022-12-08 10:29:26 +01:00
Maxim Lobanov 6eaa5b44cf Implement Software Report Base Module (#6707)
* Implement first version

* fix tables rendering

* Fix scripts

* update test files

* implement calculate image diff script

* Polish code and make e2e validation

* remove test files

* render add and removed firstly
2022-12-07 14:20:14 +01:00
bogdan-damian-bgd 69cdead4fc Implement new software report generator for macOS (#6690)
* Create environmentVariables.yml

* Update environmentVariables.yml

* Delete environmentVariables.yml

* Add new SoftwareReport generator

* Output generation fixes after review

* Add json output print in pipeline

* Modify json output print in pipeline

* Removed redundant space character
2022-12-06 18:16:20 +01:00
Jeroen Ooms fb3b6fd699 Rust: add support for mingw-w64 toolchains (#6661) 2022-12-04 09:59:37 +01:00
Mikhail Koliada 4aba37bd3b [README] Mention ongoing migrations (#6685)
Co-authored-by: Sam Tran <samvantran@github.com>
2022-12-02 22:00:21 +01:00
github-actions[bot] 6557cd5523 Updating readme file for ubuntu20 version 20221125.1 (#6645)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-02 16:17:28 +00:00
github-actions[bot] ac8ae6b0ee Updating readme file for ubuntu22 version 20221127.1 (#6646)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-02 15:59:58 +00:00
Alexey-Ayupov ec8d7d9c1e Windows update IEDriverServer version to latest (#6671) 2022-12-02 14:31:06 +01:00
github-actions[bot] 8959c489f2 Updating readme file for win19 version 20221127.1 (#6644)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-01 14:48:27 +00:00
Erik Bershel b4d939bd38 Add workflows to create SBOM and upload it to release asset (#6655) 2022-12-01 12:52:02 +01:00
github-actions[bot] f26b0e7671 Updating readme file for macOS-11 version 20221127.7 (#6651)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-01 11:24:24 +00:00
github-actions[bot] b6441120c5 Updating readme file for win22 version 20221127.1 (#6643)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-01 10:32:32 +00:00
github-actions[bot] e5acd7847f Updating readme file for macOS-12 version 20221127.5 (#6652)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-12-01 10:08:23 +00:00
Alexey-Ayupov f30492c37f [Windows] Update Az module version to 9.0.1 (#6664) 2022-12-01 10:20:50 +01:00
Alexey-Ayupov c03be40bb5 [Ubuntu] Update Az module version to 9.0.1 (#6665)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2022-12-01 10:19:05 +01:00
Alexey-Ayupov 5dd62e7a08 Add PPA repository for Firefox as default (#6528) 2022-11-26 13:47:48 +01:00
Alexey-Ayupov 439d09333d [Windows] Update Visual Studio components (#6633) 2022-11-25 20:33:49 +01:00
github-actions[bot] 4352fab581 Updating readme file for macOS-12 version 20221121.1 (#6619)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-25 08:55:55 +00:00
github-actions[bot] 4c8dc87a28 Updating readme file for win22 version 20221120.1 (#6605)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-24 16:38:14 +00:00
github-actions[bot] c42d235336 Updating readme file for win19 version 20221119.1 (#6606)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-24 16:35:23 +00:00
github-actions[bot] d54fa25512 Updating readme file for ubuntu22 version 20221119.2 (#6604)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-24 11:41:31 +00:00
github-actions[bot] 7d118628a4 Updating readme file for ubuntu20 version 20221119.2 (#6603)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-24 11:23:00 +00:00
github-actions[bot] 3a2d6530a3 Updating readme file for macOS-11 version 20221121.1 (#6618)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-24 08:23:05 +00:00
SheGe 0ad45c90fa Enhance image genration template for Linux and Windows variants (#6519) 2022-11-22 20:25:50 +01:00
Mikhail Koliada 1c88fb4cda [Ubuntu] pin powershell-core version (#6611) 2022-11-21 19:56:42 +01:00
Mikhail Koliada 2b33da2a33 [Ubuntu] fix mongodb installation (#6609) 2022-11-21 17:54:08 +01:00
Mikhail Koliada daf0420aa4 [macOS] Rework open windows test (#6602) 2022-11-21 10:55:49 +01:00
Alexey-Ayupov 8c2a400be2 [macOS] Pin PowerShell version 7.2.7 (#6596)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
2022-11-20 14:05:15 +01:00
Alexey-Ayupov 582d23c884 [Windows] Pin PowerShell version 7.2.7 (#6591) 2022-11-18 20:16:09 +01:00
Mikhail Koliada 6ef9c61220 [Ubuntu] Add one more missing file for vcpkg (#6589) 2022-11-17 16:51:56 +01:00
Erik Bershel 5fe009246f [Windows] Add .Net 6.0 as LTS (#6578) 2022-11-17 13:52:53 +01:00
Alexey-Ayupov b101b5646f [windows] Do not install latest version of GHC (#6581) 2022-11-16 20:42:51 +01:00
Alexey-Ayupov 279e529dab [macOS] vcpkg workaround (#6579) 2022-11-16 18:31:26 +01:00
Mikhail Koliada f93e26d6a5 [Ubuntu] Workaround vcpkg installation (#6564) 2022-11-14 20:59:20 +01:00
Aleksandr Chebotov a642059809 fix yq invocation on android repo xml (#6563) 2022-11-14 12:51:35 +01:00
Mikhail Koliada 3fbd7f61b6 [Ubuntu] fix yq invocation on android repo xml (#6562) 2022-11-14 10:39:40 +01:00
Mikhail Koliada bb5b6307df [macOS] remove node12 and sync nvm18 (#6553) 2022-11-11 22:05:25 +01:00
Mikhail Koliada 6cb8956275 [macOS] Add .NET 7 (#6552) 2022-11-11 20:04:10 +01:00
Aleksandr Chebotov 89b1d058fb Fix Google CloudSDK version output (#6550) 2022-11-11 16:27:54 +01:00
Mikhail Koliada b4ef4c2dc8 [Ubuntu] Add .NET 7 (#6551) 2022-11-11 14:10:38 +01:00
Aleksandr Chebotov 1dbd1651ad Revert "Remove Azure.Storage.AzCopy component (#6540)" (#6548)
This reverts commit 8f8f6bb5e1.
2022-11-11 01:06:18 +01:00
Aleksandr Chebotov efef8c4895 [macOS] Software Updates 2022 Week 46 (#6541) 2022-11-11 01:00:42 +01:00
Aleksandr Chebotov cdd6e1d724 Remove \ escape (#6546) 2022-11-10 20:13:10 +01:00
Alexey-Ayupov ed945f347e [Windows] Remove Node 12 from toolcache (#6536) 2022-11-10 19:02:03 +01:00
Aleksandr Chebotov 1c9ba78db0 Revert "Tight 20348.1129.221007 version" (#6545)
This reverts commit b284ec81a5.
2022-11-10 18:21:41 +01:00
Aleksandr Chebotov dbb755833a [Windows] Remove VS 2022 ARM components (#6542) 2022-11-10 13:44:35 +01:00
Aleksandr Chebotov 8f8f6bb5e1 Remove Azure.Storage.AzCopy component (#6540) 2022-11-10 13:32:44 +01:00
Alexey-Ayupov 3a8564acb1 [Ubuntu] Remove Node 12 from toolcache (#6535) 2022-11-09 21:16:45 +01:00
Alexis Saettler 0cb66802c6 [Windows] Clean install_user Temp directory (#6529) 2022-11-09 10:21:18 +01:00
Igor Boskovic f6632ff53b Add Python to $PATH (#6518) 2022-11-08 12:30:58 +01:00
Alexey-Ayupov 0420946391 [Ubuntu] Add gcc-12 to 22.04 (#6511) 2022-11-03 16:50:25 +01:00
github-actions[bot] e4915514bd Updating readme file for win22 version 20221027.1 (#6491)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-03 15:44:56 +00:00
github-actions[bot] 8bdf5c3608 Updating readme file for win19 version 20221027.1 (#6492)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-03 15:29:23 +00:00
github-actions[bot] 1f84dd7159 Updating readme file for macOS-11 version 20221028.1 (#6499)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-03 11:56:18 +00:00
github-actions[bot] c00aaa29a4 Updating readme file for ubuntu22 version 20221027.1 (#6501)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-03 09:10:30 +00:00
github-actions[bot] 0c8b93e28a Updating readme file for ubuntu20 version 20221027.1 (#6500)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-11-03 09:08:26 +00:00
github-actions[bot] 5e6d4245db Updating readme file for macOS-12 version 20221027.1 (#6490)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-11-02 15:59:21 +00:00
github-actions[bot] 2b48347ec3 Updating readme file for win19 version 20221024.1 (#6469)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-27 19:07:13 +00:00
Mikhail Koliada 765adc1690 [Ubuntu] add Node 18 to toolcache (#6480) 2022-10-27 18:16:08 +02:00
Mikhail Koliada 3cad66317f [Windows] add Node 18 to toolcache (#6481) 2022-10-27 18:15:47 +02:00
Mikhail Koliada f3d9d2381b [macOS] add Node 18 to toolcache (#6479) 2022-10-27 18:15:23 +02:00
github-actions[bot] 036d402f34 Updating readme file for win22 version 20221024.1 (#6464)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-27 14:27:03 +00:00
github-actions[bot] 891a05dfdb Updating readme file for ubuntu22 version 20221024.1 (#6467)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-27 10:04:39 +00:00
github-actions[bot] 3f3fa5aa31 Updating readme file for macOS-11 version 20221023.1 (#6466)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-27 09:18:34 +00:00
github-actions[bot] 22693772a6 Updating readme file for ubuntu20 version 20221024.1 (#6468)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-27 08:52:36 +00:00
Aleksandr Chebotov 715747a054 Remove Test-IsWin19 WSL condition (#6477) 2022-10-27 09:26:49 +02:00
Erik Bershel cc71c8b504 [Ubuntu] Remove ppa:ondrej/php for Ubuntu 22.04 (#6478) 2022-10-27 09:21:24 +02:00
Mikhail Koliada ee7ad8fcb7 [macOS] add python3.11 to toolcache (#6476) 2022-10-26 17:51:52 +02:00
Alexis Saettler b7edddf553 [Windows] Check WSL is on path on Windows Server 2022 (#6475) 2022-10-26 15:53:15 +02:00
Austin Vazquez ab0d910edc Update GitHub actions/checkout package to v3 (#6474)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2022-10-26 10:17:19 +02:00
Mikhail Koliada 1250493b2f [Windows] add python3.11 to toolcache 2022-10-25 21:30:20 +02:00
Mikhail Koliada d729869093 [Ubuntu] add python3.11 to toolcache (#6470) 2022-10-25 18:50:21 +02:00
Mikhail Koliada f99bf07949 [macOS] fix readme for 10.15 2022-10-25 10:09:59 +02:00
Erik Bershel a9611d8e7f Revert VCPKG_ROOT variable (#6458) 2022-10-25 09:30:50 +02:00
Aleksandr Chebotov b284ec81a5 Tight 20348.1129.221007 version 2022-10-24 17:14:24 +02:00
Erik Bershel 5e91f0a07d Revert "Revert VCPKG_ROOT variable (#6449)"
This reverts commit 88d253f383.
2022-10-24 12:27:27 +02:00
Erik Bershel 88d253f383 Revert VCPKG_ROOT variable (#6449) 2022-10-24 11:10:20 +02:00
github-actions[bot] c2112cbe40 Updating readme file for macOS-12 version 20221018.2 (#6439)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-22 00:53:01 +00:00
Mikhail Koliada d81fc37201 [macOS] exclude Colima from Catalina's sw report 2022-10-21 19:39:50 +02:00
github-actions[bot] 3cff405f9e Updating readme file for macOS-10.15 version 20221018.1 (#6444)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-21 12:44:09 +00:00
Aleksandr Chebotov 62ffca0dfd [macOS] Create tcl/tk symlinks (#6443) 2022-10-21 13:50:47 +02:00
github-actions[bot] 5b24a10e54 Updating readme file for win22 version 20221019.1 (#6436)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-21 03:15:55 +00:00
github-actions[bot] 40eb20a970 Updating readme file for win19 version 20221019.1 (#6438)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-21 03:13:33 +00:00
github-actions[bot] 7d055b7a28 Updating readme file for macOS-11 version 20221018.1 (#6440)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-20 18:40:10 +00:00
Aleksandr Chebotov 145f9dff8f [macOS] Software Updates 2022 Week 43 (#6437) 2022-10-20 17:07:04 +02:00
github-actions[bot] 5250470d17 Updating readme file for ubuntu20 version 20221018.2 (#6433)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-20 13:55:01 +00:00
github-actions[bot] a2c9029e3f Updating readme file for ubuntu18 version 20221018.2 (#6434)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-20 13:43:06 +00:00
github-actions[bot] d477a7178f Updating readme file for ubuntu22 version 20221018.2 (#6428)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-20 13:36:33 +00:00
Aleksandr Chebotov 842c43d557 [Windows] Install git from gh (#6427)
* Install Git from GitHub

* get installer file name
2022-10-19 20:27:55 +02:00
Aleksandr Chebotov 1bbdd25a22 Merge pull request #6416 from al-cheb/win_rust_test_add_bindgen
[Windows] Add cbindgen and bindgen pester test
2022-10-18 08:59:35 +02:00
github-actions[bot] 1f39d25523 Updating readme file for win19 version 20221012.3 (#6406)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-17 18:16:12 +00:00
Aleksandr Chebotov 764280843c Merge pull request #6418 from al-cheb/macos_replace_bindgen
[macOS] Replace bindgen to bindgen-cli
2022-10-17 17:55:50 +02:00
Aleksandr Chebotov caa3fa7f9f revert env variable 2022-10-17 16:25:50 +02:00
Aleksandr Chebotov b24c133f60 Merge pull request #6417 from al-cheb/ubuntu_replace_bindgen
[Ubuntu] Replace bindgen to bindgen-cli
2022-10-17 14:58:22 +02:00
Aleksandr Chebotov ee878fc161 Replace bindgen to bindgen-cli 2022-10-17 13:52:25 +02:00
Aleksandr Chebotov 3b005f03fe Replace bindgen to bindgen-cli 2022-10-17 13:07:27 +02:00
Aleksandr Chebotov 796a8bc2b3 replace bindgen to bindgen-cli 2022-10-17 12:59:46 +02:00
Aleksandr Chebotov f790e06bc3 Add cbindgen and bindgen pester test 2022-10-17 10:04:32 +02:00
github-actions[bot] 6c93c24107 Updating readme file for win22 version 20221012.4 (#6403)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-14 15:34:40 +00:00
Erik Bershel ac65b549ac [Ubuntu] Delete old Alpine Docker images (#6379) 2022-10-14 10:57:42 +02:00
github-actions[bot] f3bb32f284 Updating readme file for macOS-12 version 20221010.1 (#6405)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-14 08:53:50 +00:00
github-actions[bot] 3deda6cab6 Updating readme file for macOS-11 version 20221010.1 (#6404)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-10-13 21:38:52 +00:00
Mikhail Koliada 866ccbe818 [Ubuntu] Add swift to 22.04 (#6398) 2022-10-13 13:45:14 +02:00
Aleksandr Chebotov 3442a5c475 Tight VirtualBox version to 6.1.38 (#6391) 2022-10-12 16:03:27 +02:00
Mikhail Koliada 704feb689c [Ubuntu] Document tar version 2022-10-12 16:00:18 +02:00
Mikhail Koliada dcc9b447cb [macOS] do not install stack install hook (#6377) 2022-10-10 16:17:51 +02:00
Aleksandr Chebotov 56b797b0bb Merge pull request #6374 from hasufell/haskell/no-stack-install-hook
Don't install stack install hook
2022-10-10 14:40:52 +02:00
Julian Ospald 1e628422a3 Don't install stack install hook
See https://github.com/commercialhaskell/stack/issues/5895

Stack feature is documented here:
  https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-installation-customisation

It's recommended, but probably too unexpected for CI.
It means stack will not install GHC on its own, but through GHCup.
2022-10-10 17:54:22 +08:00
github-actions[bot] 26563d7f30 Updating readme file for macOS-11 version 20221002.2 (#6352)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-07 09:14:51 +00:00
Aleksandr Chebotov 6cc874356c [Windows] Install latest release of Docker CE (#6360) 2022-10-06 20:37:12 +02:00
Dusko Dobranic 4aae7a0129 Add 'Larger Runners' option (#6359) 2022-10-06 09:52:08 +02:00
Mikhail Koliada 6701f53be9 [Ubuntu] fix readme files 2022-10-06 08:59:35 +02:00
github-actions[bot] 4a7932a15e Updating readme file for ubuntu18 version 20221003.1 (#6351)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-05 14:13:04 +00:00
github-actions[bot] 95e62bec1f Updating readme file for win19 version 20221002.2 (#6339)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-05 13:49:09 +00:00
github-actions[bot] e10aca5304 Updating readme file for win22 version 20221002.2 (#6340)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-05 13:40:59 +00:00
github-actions[bot] 2aec524970 Updating readme file for ubuntu20 version 20221002.2 (#6347)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-05 11:39:35 +00:00
github-actions[bot] 9eaf3d8b71 Updating readme file for ubuntu22 version 20221002.2 (#6346)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-05 11:17:21 +00:00
github-actions[bot] 9dcc6a79fa Updating readme file for macOS-12 version 20220929.2 (#6341)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-10-04 12:05:28 +00:00
Erik Bershel e39db348e5 [Ubuntu] Add new alpine Docker images (#6343) 2022-10-04 11:09:52 +02:00
Mikhail Timofeev 1def28243d [Windows] Test Chrome and Chrome Driver major versions are the same (#6332)
* Add Chrome + Chromedriver test

* Get chromedriver version from versioninfo.txt

* Use VersionInfo.ProductMajorPart

* Add missing test cases block
2022-09-30 20:07:26 +02:00
github-actions[bot] c675cda187 Ubuntu 18.04 (20220923 update) (#6294)
* Updating readme file for ubuntu18 version 20220923.1

* Update Ubuntu1804-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-09-30 13:16:21 +03:00
Mikhail Timofeev f535d0e8dd Add Chrome + Chromedriver test (#6330) 2022-09-30 07:48:15 +03:00
bogdan-damian-bgd 2ebc6b71c9 Exclude Colima from tests for macOS 10.15 (#6325) 2022-09-30 07:47:42 +03:00
Aleksandr Chebotov 0ca065b7c2 Close System Preferences window (#6329) 2022-09-29 21:58:02 +02:00
Mikhail Timofeev 4944af825e Add Chrome + Chromedriver test (#6326) 2022-09-29 20:02:58 +03:00
Aleksandr Chebotov 7c44272788 [macOS] Software Updates 2022 Week 40 (#6323) 2022-09-29 15:48:58 +03:00
github-actions[bot] 3dc0bd320a Updating readme file for win19 version 20220925.1 (#6306)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-28 19:15:49 +00:00
github-actions[bot] fe5c2bcdc2 Updating readme file for win22 version 20220925.1 (#6307)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-28 18:20:40 +00:00
Aleksandr Chebotov 3f0a28fe18 [macOS] Add Parallels Desktop extension (#6314)
* Add Parallels Desktop extension

* fix typo

* remove new line
2022-09-28 20:06:08 +03:00
github-actions[bot] b0885e18a1 Updating readme file for macOS-11 version 20220925.1 (#6311)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-09-28 11:36:41 +00:00
bogdan-damian-bgd ab4f43d818 [macOS] Add Colima tool (#6285)
* Add Colima tool to macos images

* PR fixes: skip Catalina; switch to toolset json
2022-09-27 09:54:35 +02:00
github-actions[bot] 00b572dfdf Ubuntu 22.04 (20220925 update) (#6308)
* Updating readme file for ubuntu22 version 20220925.1

* Update Ubuntu2204-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-27 07:33:25 +00:00
Benedek Farkas 0f5b7340dd Actualizing the Windows post-generation scripts' documentation (#6309) 2022-09-27 10:25:24 +03:00
github-actions[bot] d224010908 Ubuntu 20.04 (20220922 update) (#6291)
* Updating readme file for ubuntu20 version 20220922.2

* Update Ubuntu2004-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-26 11:17:48 +00:00
Aleksandr Chebotov f412cb04d7 [Windows] Add docker symlink (#6287) 2022-09-24 17:09:06 +03:00
Mikhail Koliada dc7240348e [Ubuntu] fix sw generator for homebrew (#6288) 2022-09-23 09:50:33 +02:00
Mikhail Koliada 9efcd841b9 [Ubuntu] do not add homebrew to $PATH (#6240) 2022-09-22 18:07:12 +02:00
Mikhail Timofeev 641fd77b4e Set Xcode 14.0.1 as the default version (#6272) 2022-09-22 18:25:13 +03:00
github-actions[bot] e89b790394 Updating readme file for ubuntu22 version 20220919.1 (#6266)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-21 10:22:07 +00:00
github-actions[bot] 90eed8c8ef Updating readme file for macOS-11 version 20220918.1 (#6268)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-21 10:02:49 +00:00
Mikhail Koliada 4a83f39eb5 [Ubuntu] remove gfortran symlink from brew (#6276) 2022-09-21 10:44:01 +02:00
github-actions[bot] 4369f2be15 Updating readme file for win22 version 20220919.1 (#6271)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-21 03:01:01 +00:00
github-actions[bot] 43242c8672 Updating readme file for win19 version 20220918.1 (#6261)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-20 18:59:14 +00:00
github-actions[bot] ab475d3ed7 Updating readme file for macOS-12 version 20220917.1 (#6267)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-09-20 08:54:08 +00:00
Erik Bershel c0d68d79cc Update installers comments (#6262) 2022-09-20 08:32:48 +03:00
Aleksandr Chebotov 15f134a85a Exclude Windows Defender update checking (#6259) 2022-09-19 18:44:38 +03:00
Mikhail Koliada 3fab712c1e [Ubuntu] Install gcc@12 from brew (#6258) 2022-09-19 16:36:04 +03:00
Mikhail Timofeev 518f5407fa Add Xcode 14.0.1 to macOS 12 (#6255) 2022-09-17 18:05:53 +03:00
Erik Bershel 7f10a5a590 [Windows] Add ImageMagick tool (#6247)
* Add ImageMagick tool

* Add ImageMagick tool
2022-09-16 10:23:13 +02:00
Mikhail Koliada 058d0730dd [macOS] Add Xcode 14.1 beta (#6249) 2022-09-15 21:34:12 +03:00
github-actions[bot] 4e92b11f09 Updating readme file for macOS-11 version 20220912.1 (#6238)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-15 14:41:14 +00:00
github-actions[bot] af77e4c2e4 Updating readme file for macOS-10.15 version 20220912.1 (#6245)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-15 08:34:23 +00:00
Aleksandr Chebotov e3460fa423 Enable WpnUserService (#6246) 2022-09-15 10:17:39 +03:00
Erik Bershel 771b5010e7 [Ubuntu] Update file name comment - sbt.sh (#6242) 2022-09-14 20:24:53 +03:00
Erik Bershel ab39638013 [Ubuntu] Update file name comment - mono.sh (#6241) 2022-09-14 18:37:36 +03:00
github-actions[bot] 0b95b4b080 Updating readme file for macOS-12 version 20220912.1 (#6237)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-09-14 11:05:15 +00:00
github-actions[bot] b8fb0338e1 Updating readme file for ubuntu22 version 20220912.1 (#6228)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-14 04:09:36 +00:00
Sam Tran 3f917ab018 update codeowners to the right team for PR reviews (#6236) 2022-09-14 07:03:52 +03:00
Mikhail Koliada dd51aedc2f Revert "[Ubuntu] install gcc@11 from brew (#6202)" (#6232)
This reverts commit d2c84c9d4c.
2022-09-13 18:59:39 +03:00
github-actions[bot] 6616fca614 Updating readme file for win19 version 20220911.1 (#6219)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-13 15:49:27 +00:00
github-actions[bot] 2e3f36a958 Updating readme file for win22 version 20220911.1 (#6218)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-13 15:47:59 +00:00
Mikhail Koliada dd1f8458b4 Rebrand templates (#6226) 2022-09-13 15:19:59 +03:00
Mikhail Timofeev 9d9b5da489 [Windows] Replace Docker EE with Docker CE (#6220) 2022-09-13 08:13:08 +03:00
Mikhail Koliada cecc9022fa [Ubuntu] Install latest google-cloud-sdk (#6222) 2022-09-12 21:28:26 +03:00
Erik Bershel ce11b31f3b [Ubuntu] Add VCPKG_ROOT variable (#6196) 2022-09-12 20:17:10 +03:00
Mikhail Koliada d2c84c9d4c [Ubuntu] install gcc@11 from brew (#6202) 2022-09-12 18:31:28 +03:00
Aleksandr Chebotov 88b883191b Update file name comment (#6215) 2022-09-12 08:26:03 +02:00
Aleksandr Chebotov 8129295567 Remove fastlane cached cookie (#6206) 2022-09-09 17:58:47 +03:00
github-actions[bot] d2c7d51d00 Updating readme file for macOS-11 version 20220906.1 (#6191)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-09 14:30:46 +00:00
Mikhail Timofeev b05ee61a96 Add Xcode 14 beta 6 in macOS 12 toolset (#6204) 2022-09-09 12:48:50 +03:00
Erik Bershel 148eaf9c80 Add VCPKG_ROOT variable (#6195) 2022-09-09 11:04:46 +02:00
Aleksandr Chebotov 03c71fa649 Install WDK.vsix on VS 2022 (#6203) 2022-09-09 11:56:40 +03:00
github-actions[bot] 3414173a17 Updating readme file for macOS-12 version 20220907.1 (#6201)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-08 16:43:58 +00:00
Erik Bershel a4b9a51304 [Windows] Add VCPKG_ROOT variable (#6192) 2022-09-08 18:29:02 +03:00
github-actions[bot] 27d6979ea5 Updating readme file for ubuntu20 version 20220905.1 (#6188)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-08 08:50:51 +00:00
github-actions[bot] 97c9723c8f Updating readme file for win19 version 20220905.1 (#6186)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-07 20:55:18 +00:00
github-actions[bot] 212fa3171c Updating readme file for win22 version 20220905.1 (#6187)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-07 14:52:41 +00:00
github-actions[bot] e295cb5837 Updating readme file for ubuntu22 version 20220905.1 (#6189)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-07 10:24:55 +00:00
github-actions[bot] 9d9d80c124 Updating readme file for macOS-12 version 20220904.1 (#6183)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-09-06 15:55:45 +00:00
Aleksandr Chebotov f1abfa5fde Fix chromium revision parsing (#6182) 2022-09-05 13:54:06 +03:00
Erik Bershel ef9c8bf522 [Windows] Add Windows11SDK.22621 to Win19 (#6148)
* [Windows] Add Windows11SDK.22621 to Win19

* Code style fix

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2022-09-02 18:59:40 +02:00
github-actions[bot] 893683b559 Updating readme file for macOS-11 version 20220829.1 (#6169)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-09-01 11:12:05 +00:00
github-actions[bot] 2b95216443 Updating readme file for macOS-10.15 version 20220829.1 (#6167)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-31 16:47:21 +00:00
github-actions[bot] e661113bbd Updating readme file for macOS-12 version 20220829.1 (#6170)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-08-31 12:06:01 +00:00
Mikhail Timofeev cda85a59ac [macOS] Stop versioned postgresql service instead of the general one (#6166)
* Stop versioned postgresql service instead of the general one

* Start versioned postgres service
2022-08-30 20:06:24 +03:00
github-actions[bot] 566a276495 Updating readme file for win22 version 20220828.1 (#6157)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-30 15:21:45 +00:00
github-actions[bot] 31fc221295 Updating readme file for win19 version 20220828.1 (#6160)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-30 13:58:19 +00:00
Mikhail Timofeev e70c75b60c Rename team in the PR creation (#6168) 2022-08-30 13:31:30 +03:00
github-actions[bot] 0a705f29e4 Updating readme file for ubuntu20 version 20220828.1 (#6158)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-30 07:52:37 +00:00
github-actions[bot] f76ec3d91c Updating readme file for ubuntu22 version 20220828.1 (#6159)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-30 07:39:30 +00:00
Mikhail Timofeev 22ec52bf2c Uninstall public_suffix 5.0 gem (#6150) 2022-08-29 20:21:08 +03:00
Mikhail Timofeev 30031f7d7b Take second split from the end (#6156) 2022-08-29 14:29:38 +03:00
Mikhail Timofeev 2959f467ce Install the latest swiftlint only for macOS 12 (#6151) 2022-08-28 18:11:59 +03:00
github-actions[bot] 190a1de6f7 Updating readme file for macOS-11 version 20220822.4 (#6130)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-26 15:27:47 +00:00
Mikhail Koliada 59cd4c1aff [macOS] Install tvOS and watchOS runtime sims (#6140) 2022-08-26 11:29:28 +03:00
github-actions[bot] bf3b49d23b macOS 12 (20220823 update) (#6142)
* Updating readme file for macOS-12 version 20220823.1

* Update macos-12-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-26 08:20:24 +00:00
Aleksandr Chebotov 10f5bdffe2 [Windows] Add Microsoft.Net.Component.4.8.1 (#6125)
* Add Microsoft.Net.Component.4.8.1

* Add reboot step
2022-08-25 18:01:30 +03:00
Mikhail Koliada b23edef723 [macOS] Use json to parse libraries version (#6143) 2022-08-25 16:12:31 +03:00
Mikhail Koliada 06dd4c14e4 [macOS] Don't show CodeQl in Catalina's sw report (#6139) 2022-08-24 18:17:18 +03:00
Aleksandr Chebotov ef55b435e5 Update inotify resource limits (#6132) 2022-08-24 11:46:37 +03:00
Mikhail Koliada af3dd14fe0 [macOS] always return True on gfortran check (#6133) 2022-08-23 19:43:19 +03:00
github-actions[bot] 4de27cdee1 Updating readme file for win19 version 20220821.1 (#6118)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-23 13:41:37 +00:00
github-actions[bot] f32d372a9a Updating readme file for win22 version 20220821.1 (#6117)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-23 09:12:52 +00:00
github-actions[bot] 4346c1d6ad Updating readme file for ubuntu20 version 20220821.1 (#6120)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-23 08:23:19 +00:00
github-actions[bot] 7f0109069b Updating readme file for ubuntu22 version 20220821.1 (#6121)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-23 07:37:45 +00:00
Aleksandr Chebotov b0b00d426c Add sqlcmd on Ubuntu Server 22.04 (#6127) 2022-08-23 10:18:18 +03:00
Mikhail Koliada 38a1faf55d [macOS] Remove xctool formula installation (#6128) 2022-08-22 20:03:47 +03:00
Mikhail Koliada c08d333386 [macOS] Remove bats formula installation (#6122) 2022-08-22 15:56:33 +03:00
Erik Bershel 7bcb155f6a [actions] Update github/codeql-action release version from v1 to v2 (#6097) 2022-08-22 12:05:39 +04:00
github-actions[bot] 904b727ac0 Updating readme file for macOS-12 version 20220815.1 (#6100)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-19 11:57:54 +00:00
Mikhail Koliada 7910ae1578 select-datastore: make cluster parameter mandatory (#6112) 2022-08-19 13:56:31 +02:00
Aleksandr Chebotov 96fa9f7471 Update VC.14.32 to VC.14.33 (#6109) 2022-08-18 16:55:45 +02:00
github-actions[bot] b4c27dac05 Updating readme file for macOS-11 version 20220815.1 (#6095)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-17 18:19:36 +00:00
github-actions[bot] b7e70987ff Updating readme file for win22 version 20220816.1 (#6102)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-08-17 17:19:56 +00:00
Erik Bershel c22e0f8ec8 [macOS] CodeQL test correction (#6092) 2022-08-17 11:06:58 +02:00
github-actions[bot] 0f9ec68b45 Updating readme file for ubuntu22 version 20220815.3 (#6096)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-08-17 09:00:29 +00:00
Dusko Dobranic 2e8e30099e [all OSs] Change title in workflow log (#6058)
* [all OSs] Change title in workflow log

* Update images/linux/scripts/installers/preimagedata.sh

Co-authored-by: Sam Tran <samvantran@github.com>

* Resolve comments

* Revert to 'Runner Image' and 'Image' labels

Co-authored-by: Sam Tran <samvantran@github.com>
2022-08-16 17:01:50 +02:00
github-actions[bot] 2258424a33 Updating readme file for win19 version 20220814.1 (#6079)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-16 13:28:06 +00:00
github-actions[bot] 0794fd91bd Updating readme file for win22 version 20220814.1 (#6078)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-16 13:06:08 +00:00
Mikhail Koliada 55b724ed82 [Ubuntu] fix README for 20.04 (#6093) 2022-08-16 14:32:34 +02:00
github-actions[bot] df2b544093 Updating readme file for ubuntu20 version 20220814.1 (#6077)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-16 12:13:06 +00:00
Mikhail Koliada 2309f23a21 [Ubuntu] fix Software report for OpenShift CLI (#6080) 2022-08-16 14:06:37 +02:00
Mikhail Koliada 14b3afe238 [Ubuntu] put Microsoft repo higher for dotnet (#6084) 2022-08-16 11:03:03 +02:00
Aleksandr Chebotov c733edf13c Set max_retries to 3 (#6085) 2022-08-16 09:55:11 +02:00
Aleksandr Chebotov 47039fc7d4 Add Component.Xamarin for Visual Studio 2022 (#6083) 2022-08-16 09:54:22 +02:00
Erik Bershel c25ce452cb [macOS] Added CodeQL Action Bundle to macOS 11 and macOS 12 (#6068)
* [macOS] CodeQL Action Bundle added to macOS 11 and 12 images

* [macOS] Added CodeQL Action Bundle to macOS 11 and macOS 12

* [macOS] Added CodeQL Action Bundle to macOS 11 and macOS 12
2022-08-15 19:36:32 +02:00
Aleksandr Chebotov b135fb8a59 Update python3 to 3.10 version (#6081) 2022-08-15 14:56:29 +02:00
Aleksandr Chebotov 7ca1ca6a5c Add ARM64EC workload for Visual Studio 2019 (#6075) 2022-08-15 13:19:48 +02:00
Aleksandr Chebotov 31eba923af Add VC.14.29.16.11.ARM component (#6064) 2022-08-12 19:25:31 +02:00
Dusko Dobranic d48bfb5671 Revert "[macOS] Added CodeQL (#6059)" (#6066)
This reverts commit d2c52297ae.
2022-08-12 09:46:38 +02:00
github-actions[bot] fa638dd3d6 Updating readme file for ubuntu22 version 20220807.1 (#6032)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-11 18:10:38 +00:00
Erik Bershel d2c52297ae [macOS] Added CodeQL (#6059)
* Go update to version 1.19

* Revert "Go update to version 1.19"

This reverts commit ec418d789f.

* Update of Go packages. Version 1.19.0 added.

* Revert "Update of Go packages. Version 1.19.0 added."

This reverts commit cc970ae829.

* [macOS] Added CodeQL to macOS 11 and 12.

Co-authored-by: Erik Bershel <110455084+re-gent@users.noreply.github.com>
2022-08-11 16:46:59 +02:00
Alexis Saettler 1c49c133ea [Windows] remove vcredist_2010_x64 duplicate test (#6060)
* [Windows] re-add vcredist_140 test

* remove vcredist_140 test
2022-08-11 16:45:40 +02:00
github-actions[bot] 52221a939c Updating readme file for win22 version 20220808.1 (#6037)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-11 14:04:11 +00:00
Mikhail Koliada 2fd91c95fc [Packer] Disable colored output on Ubuntu (#6057) 2022-08-11 10:09:05 +02:00
Aleksandr Chebotov 35be8465ea [macOS] Software Updates 2022 Week 33 (#6045)
* [macOS] Software Updates 2022 Week 33

* Set default bundle to 6_12_19
2022-08-10 19:42:33 +02:00
Mikhail Koliada 8d5e233acf [macOS] remove go-1.16.x (#6048) 2022-08-10 18:53:47 +02:00
Mikhail Koliada 662c5c5248 [Ubuntu] remove go-1.16.x (#6047) 2022-08-10 18:53:00 +02:00
Mikhail Koliada bf8d2862f8 [Windows] remove go-1.16.x (#6046) 2022-08-10 18:51:59 +02:00
Jacob Gillespie 40e93383ae Fix README typos (#6035) 2022-08-10 16:57:04 +02:00
github-actions[bot] 93791cc2a2 Updating readme file for macOS-12 version 20220809.1 (#6044)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-10 14:47:04 +00:00
Aleksandr Chebotov e19725fcbe Replace virtual-environments to runner images (#6050) 2022-08-10 15:51:15 +02:00
github-actions[bot] 9d12e06dbc Updating readme file for macOS-11 version 20220807.1 (#6040)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-10 13:49:37 +00:00
Casper da Costa-Luis 4994130a96 virtual-environments => runner-images (#6033)
* virtual-environments => runner-images

- as per https://github.blog/changelog/2022-08-08-github-actions-runner-images-repository-refresh

* revert readme changes

- as per https://github.com/actions/runner-images/pull/6033#discussion_r941173809
2022-08-10 14:55:34 +02:00
Vladimir Safonkin 03b7305ca1 Add Xcode 14 to macos-12 toolset (#6043) 2022-08-09 22:11:16 +02:00
github-actions[bot] 54ec59e5ee Updating readme file for ubuntu20 version 20220807.1 (#6031)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-09 09:16:53 +00:00
Larissa Fortuna ce8db94ed2 Virtual environment rebrand - readme updates (#6006)
* Create release-preview.md

* Update release-preview.md

* Update release-preview.md

* Update release-preview.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* update support policy wording

* Update README.md

* Preparing for upstream PR

deleted a test file I made

* fixing some linting errors

* Update README.md

* Apply suggestions from code review

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>

* Updating per PR suggestions

* Delete software-and-images-guidelines.md

* Updates per Steve's suggestion

* Update README.md

* Apply suggestions from code review

Co-authored-by: Sam Tran <samvantran@github.com>

* Update README.md

* Revert "Update README.md"

This reverts commit 9ff7d224e3.

* docs: fix markdownlint errors

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Sam Tran <samvantran@github.com>
2022-08-08 08:25:58 -07:00
Aleksandr Chebotov bf34dfb00a Wait for mongodb service running (#6030) 2022-08-08 15:55:18 +02:00
Aleksandr Chebotov f1bb031e43 [Windows] Disable mongodb service by default (#6023)
* Disable mongodb service by default

* Add ErrorAction Ignore
2022-08-05 20:50:37 +02:00
github-actions[bot] 58ba4559eb Updating readme file for macOS-11 version 20220801.1 (#5996)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-05 15:20:47 +00:00
Mikhail Timofeev e033c5a564 Change NDK latest to NDK root (#6025) 2022-08-05 13:36:32 +03:00
Erik Bershel aa72ffdfa5 [Windows] Add go 1.19 (#6017) 2022-08-04 23:00:36 +03:00
Erik Bershel 9405db0ad6 [macOS] Add Go 1.19 (#6018) 2022-08-04 23:00:05 +03:00
Erik Bershel 3f18bb3a7f [Ubuntu] Add Go 1.19 (#6019) 2022-08-04 22:59:41 +03:00
github-actions[bot] 191165a280 Updating readme file for win19 version 20220801.1 (#6005)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-03 13:39:11 +00:00
Aleksandr Chebotov 2ec5b2e02e Fix installer pattern to support macOS beta version (#6012) 2022-08-03 13:12:07 +03:00
github-actions[bot] f4fb14342c Updating readme file for ubuntu20 version 20220729.1 (#6000)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-03 10:05:48 +00:00
github-actions[bot] 6e9102ff56 Updating readme file for ubuntu18 version 20220729.1 (#5999)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-03 09:53:28 +00:00
github-actions[bot] a6fdb2785e Updating readme file for macOS-12 version 20220801.1 (#5997)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-03 09:25:47 +00:00
github-actions[bot] 2900984662 Updating readme file for win22 version 20220731.1 (#5993)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-02 15:11:51 +00:00
Mikhail Koliada 48e269b777 Do not remove release doc refs manually (#6004) 2022-08-02 13:51:54 +03:00
github-actions[bot] 7462d17cd2 Updating readme file for ubuntu22 version 20220731.1 (#5995)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-08-02 10:05:48 +00:00
Aleksandr Chebotov 8c24b03a8d Remove Windows Server 2016 related code from the repository (#5994) 2022-08-01 16:35:36 +03:00
Mikhail Timofeev 493f3c3ee1 [windows] Add exe installation of MicrosoftAnalysisServices Visual Studio extension (#5989)
* Add exe installation of MicrosoftAnalysisServices

* Change condition to check FileName.EndsWith
2022-07-29 22:13:23 +04:00
Mikhail Timofeev 77dfaa7c15 Add ndk-related environment variables to windows (#5985) 2022-07-29 12:08:30 +03:00
Mikhail Timofeev 1c6ef2dda5 Add ndk-related environment variables (#5984) 2022-07-29 09:50:39 +03:00
Mikhail Timofeev cd98711e9d Add ndk-related environment variables to ubuntu (#5983) 2022-07-28 17:08:57 +03:00
Dusko Dobranic 394c19d408 [macOS] Add Cmake 3.22.1 for Android (#5975) 2022-07-27 20:30:22 +03:00
Dusko Dobranic 1711b3f569 [Windows] Add Cmake 3.22.1 for Android (#5974) 2022-07-27 18:11:10 +03:00
Dusko Dobranic afa73a0f10 [Ubuntu] Add Cmake 3.22.1 for Android (#5973) 2022-07-27 16:40:35 +03:00
Aleksandr Chebotov 72b53f53de Create symlink for mongodb@5.0 (#5972) 2022-07-27 14:56:25 +03:00
github-actions[bot] f9f1f82374 Updating readme file for macOS-12 version 20220724.1 (#5963)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-27 11:13:47 +00:00
github-actions[bot] 0f7e5403eb Updating readme file for macOS-11 version 20220724.1 (#5965)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 17:22:40 +00:00
github-actions[bot] cafc238073 Updating readme file for macOS-10.15 version 20220724.1 (#5968)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 13:16:08 +00:00
github-actions[bot] 185a0cd1a0 Updating readme file for win22 version 20220724.1 (#5957)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 13:00:50 +00:00
LoveSy 46c1fd7e8d [Windows] add Android NDK 25 (#5905)
* [Windows] add Android NDK 25

* Update toolset-2022.json
2022-07-26 13:20:44 +03:00
LoveSy f1224c3d75 [Ubuntu] add Android NDK 25 (#5902) 2022-07-26 13:20:30 +03:00
Igor Boskovic 2e7646b11d [Mac OS] add Android NDK 25 (#5951) 2022-07-26 13:20:07 +03:00
github-actions[bot] ca5d04c7da Updating readme file for ubuntu20 version 20220724.1 (#5959)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 10:14:32 +00:00
github-actions[bot] 79a8a5a4e5 Updating readme file for ubuntu18 version 20220724.1 (#5962)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 09:43:46 +00:00
github-actions[bot] 20aeea43ae Updating readme file for ubuntu22 version 20220724.1 (#5961)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 09:38:02 +00:00
github-actions[bot] 22245583b4 Updating readme file for win19 version 20220724.1 (#5958)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-26 09:27:52 +00:00
Aleksandr Chebotov cbcc50c80d Bypass Windows Defender false alarm (#5969) 2022-07-26 10:09:24 +03:00
Mikhail Timofeev 11cfd9eac0 Add mono package to ubuntu 22 (#5950) 2022-07-25 12:26:39 +03:00
Aleksandr Chebotov d746320dd3 Fix libssl1.1 installation (#5956) 2022-07-25 12:21:50 +03:00
Mariusz Ferdyn 4afedce20d Added step for download & install git (#5955) 2022-07-25 12:15:26 +03:00
github-actions[bot] 79c921a4c1 Updating readme file for macOS-10.15 version 20220709.1 (#5889)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-22 19:41:34 +00:00
Aleksandr Chebotov 2226408acc Add azure_tag (#5946)
Replace list to map

Remove all values

add space

add space
2022-07-22 12:53:00 +03:00
github-actions[bot] 4f552247b1 Updating readme file for macOS-11 version 20220719.1 (#5940)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-21 18:21:18 +00:00
Mikhail Timofeev a26e424787 Add dotfuscator component to VS2022 (#5944) 2022-07-21 20:11:00 +03:00
Aleksandr Chebotov 5be8ca11a1 [Windows] Add MSVC++ 14.32 (#5939)
* Add MSVC++ 14.32

* Remove duplicates and add ARM components

* Add ATL and MFC ARM components

* Remove ARM64EC
2022-07-21 18:16:29 +03:00
github-actions[bot] 150bd6d922 Updating readme file for macOS-12 version 20220717.1 (#5924)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-21 14:56:25 +00:00
Mikhail Timofeev a41909d0c5 [Windows] Remove ndk-bundle (#5927)
* Remove ndk-bundle from windows

* Remove NDK-related variables
2022-07-21 10:33:38 +03:00
Mikhail Timofeev 593ab19a0f Remove ndk-bundle + old ndk versions from macOS (#5929) 2022-07-21 10:33:26 +03:00
Aleksandr Chebotov ef8f8086d5 Add ProBITools.MicrosoftAnalysisServicesModelingProjects2022 3.0.4 (#5937) 2022-07-20 15:34:03 +03:00
github-actions[bot] 17dbe2ac54 Updating readme file for macOS-11 version 20220710.1 (#5890)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-20 11:16:01 +00:00
github-actions[bot] 595ca70a29 Updating readme file for win19 version 20220717.1 (#5928)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-19 13:57:25 +00:00
github-actions[bot] 300269fa36 Updating readme file for ubuntu18 version 20220717.1 (#5921)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-19 10:10:58 +00:00
Aleksandr Chebotov f4d7f82bf7 Remove ProBITools.MicrosoftAnalysisServicesModelingProjects2022 (#5933) 2022-07-19 13:09:08 +03:00
Mikhail Timofeev 893e347c8e Remove ndk-bundle from ubuntu (#5926) 2022-07-19 13:06:31 +03:00
github-actions[bot] ce779a6f6e Updating readme file for ubuntu20 version 20220717.1 (#5922)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-19 10:05:18 +00:00
github-actions[bot] 0b9bb00cf4 Updating readme file for ubuntu22 version 20220717.1 (#5923)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-07-19 09:25:02 +00:00
Mikhail Timofeev ec11088c91 Xcversion is not depend on old CLAide version anymore (#5913) 2022-07-15 18:47:59 +03:00
Aleksandr Chebotov 92f8e13d53 Add .Net 6.0 latest version (#5912) 2022-07-15 15:01:11 +03:00
Mikhail Timofeev 907e9a0f30 Revert "Reverting ORAS CLI to version 0.12 (#5907)" (#5914)
This reverts commit 5a92cfc1a0.
2022-07-15 13:38:14 +03:00
Mikhail Koliada e621b60110 Revert "[Ubuntu] Apply esl-erlang workaround for 20.04 (#5867)" (#5909)
This reverts commit 8bef3e3651.
2022-07-15 08:04:15 +02:00
Suyash Saluja 5a92cfc1a0 Reverting ORAS CLI to version 0.12 (#5907) 2022-07-14 18:28:42 +03:00
Aleksandr Chebotov 519c874a5b Add Microsoft Analysis Services Projects 2022 (#5898) 2022-07-13 17:22:34 +03:00
github-actions[bot] 76dc052e15 Updating readme file for macOS-12 version 20220710.1 (#5888)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-13 11:26:59 +00:00
github-actions[bot] 68eabdf497 Updating readme file for win19 version 20220710.1 (#5884)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-12 10:55:46 +00:00
github-actions[bot] 0e0c1b467a Updating readme file for win22 version 20220710.1 (#5886)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-12 10:27:49 +00:00
github-actions[bot] eb3d502914 Updating readme file for ubuntu20 version 20220710.1 (#5885)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-12 10:22:32 +00:00
github-actions[bot] 1e586b007f Updating readme file for ubuntu18 version 20220710.1 (#5882)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-12 09:29:32 +00:00
github-actions[bot] 4e593327cd Updating readme file for ubuntu22 version 20220710.1 (#5883)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-12 09:18:15 +00:00
Aleksandr Chebotov 0dac8e59cd Check vm in failed status (#5893) 2022-07-12 11:52:06 +03:00
Aleksandr Chebotov 70019eaa8f [Windows] Replace Win32_Product call to registry query (#5887)
* Replace Win32_Product call to registry query

* Update properties
2022-07-12 10:10:32 +03:00
Mikhail Koliada 82c8123cac [Ubuntu] Add Microsoft Edge Web Driver (#5878)
* [Ubuntu] Add Edge Web Driver

* take part 0 in sw report
2022-07-09 08:49:21 +02:00
Aleksandr Chebotov ae186119be Fix invoking confirm-identified-developers.scpt script (#5876) 2022-07-08 10:40:48 +02:00
Aleksandr Chebotov 6de62ee5a4 Apt Always-Include-Phased-Updates (#5873) 2022-07-08 08:49:35 +03:00
Mikhail Koliada e91961e2f2 [Ubuntu] Add Microsoft Edge (#5874)
trailing whitespace
2022-07-08 08:49:17 +03:00
Dusko Dobranic b87bdfb146 Revert "[macOS] Set properties for device set list (#5700)" (#5871)
This reverts commit 4c876760ca.
2022-07-07 10:44:13 +03:00
Mikhail Timofeev e657930a55 [Ubuntu] Update link to openssl (#5870)
* Update link to openssl

* Fix filename in dpkg invocation
2022-07-07 10:20:52 +03:00
Mikhail Koliada 8bef3e3651 [Ubuntu] Apply esl-erlang workaround for 20.04 (#5867) 2022-07-06 19:59:48 +03:00
Aleksandr Chebotov 29468988d5 Fix output file (#5868) 2022-07-06 19:20:15 +03:00
AlexanderGitin 4c876760ca [macOS] Set properties for device set list (#5700)
* [macOS] Set properties for device set list

* replaced /Users/runner to $HOME

* Added comment
2022-07-06 13:59:35 +02:00
Aleksandr Chebotov a1c2e5e24d Update LLVM to version 14 (#5862) 2022-07-06 12:52:52 +03:00
Dusko Dobranic f62d8d956d [Windows\Linux] Update Az powershell to 7.5 (#5858) 2022-07-06 08:10:20 +02:00
Aleksandr Chebotov 0dd1c396a1 Update LLVM to version 14 (#5863) 2022-07-06 01:00:28 +02:00
Mikhail Koliada 24b25c7891 [macOS] set Xcode 13.4.1 as default (#5864) 2022-07-06 00:59:38 +02:00
Mikhail Timofeev d0d2b9239f Add vagrant to macOS-12 (#5854) 2022-07-04 13:35:52 +03:00
github-actions[bot] d5815d8d53 Updating readme file for win19 version 20220626.1 (#5830)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-02 13:03:30 +00:00
github-actions[bot] c7db1b7cbb Updating readme file for win22 version 20220626.1 (#5826)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-07-02 12:19:52 +00:00
Aleksandr Chebotov 64759ce1a3 Create IIS Express Development Certificate (#5852) 2022-07-01 11:43:40 +03:00
github-actions[bot] 054266a4b3 macOS 10.15 (20220627 update) (#5837)
* Updating readme file for macOS-10.15 version 20220627.1

* Update link to llvm@13

* Correct Clang/LLVM version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-30 10:19:48 +00:00
Henry Mercer b3b4deba3b Use v2 branch to get the Linux CodeQL bundle too (#5840)
https://github.com/actions/virtual-environments/pull/5307 did this for Windows; let's do Linux too.
2022-06-30 12:49:27 +03:00
github-actions[bot] 7ff67b1a39 macOS 11 (20220627 update) (#5832)
* Updating readme file for macOS-11 version 20220627.1

* Update link to llvm@13

* Fix brew clang version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-30 07:42:11 +00:00
Steve-Glass 3a88a04e47 macOS 10.15 deprecation status (#5842) 2022-06-29 17:25:43 +03:00
Aleksandr Chebotov 02d4539cae [Windows] Add WDK on Windows Server 2022 without VSIX (#5838)
* Add WDK on Windows Server 2022 without VSIX

* Fix extension names
2022-06-29 16:46:22 +03:00
github-actions[bot] 45da727c67 macOS 12 (20220627 update) (#5833)
* Updating readme file for macOS-12 version 20220627.3

* Update link to llvm@13

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-29 09:52:43 +00:00
Mikhail Timofeev baa8144439 Remove workaround for Mono download url (#5839) 2022-06-28 21:37:33 +03:00
Aleksandr Chebotov adff5b4649 Add llvm brew version (#5834) 2022-06-28 18:54:57 +03:00
github-actions[bot] 3482f716a3 Updating readme file for ubuntu20 version 20220626.1 (#5828)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-28 14:33:59 +00:00
github-actions[bot] 6d1b6d0d02 Updating readme file for ubuntu18 version 20220626.1 (#5825)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-28 13:46:57 +00:00
github-actions[bot] 2e10aa4cfd Updating readme file for ubuntu22 version 20220626.1 (#5827)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-28 11:32:05 +00:00
Aleksandr Chebotov b495a035c4 Update Clang/LLVM test to use absolute path (#5819) 2022-06-28 09:48:08 +03:00
Sander Trijssenaar 5b652198fe Removing mandatory VNET (#5821) 2022-06-27 13:41:19 +03:00
Mikhail Koliada e40657de17 [Ubuntu] Enable systemd lingering (#5812) 2022-06-27 10:05:28 +02:00
github-actions[bot] 1ede920d60 Updating readme file for macOS-11 version 20220622.7 (#5805)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-24 11:29:53 +00:00
github-actions[bot] bc2fdf77ff Updating readme file for macOS-12 version 20220622.2 (#5801)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-24 09:36:17 +00:00
github-actions[bot] 35e579b61b Updating readme file for macOS-10.15 version 20220622.2 (#5804)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-23 19:20:01 +00:00
github-actions[bot] 96c2ea8956 Updating readme file for win22 version 20220619.1 (#5783)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-23 14:37:16 +00:00
github-actions[bot] a94f92b4f9 Updating readme file for win19 version 20220619.1 (#5784)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-23 14:31:40 +00:00
Aleksandr Chebotov 86e4ccb246 Fix az cli warnings (#5803) 2022-06-23 13:58:16 +03:00
Aleksandr Chebotov e38f75e512 Update openssl 1.1 on Ubuntu 22.04 (#5798) 2022-06-23 12:37:51 +03:00
github-actions[bot] 56dc323e71 Updating readme file for ubuntu22 version 20220619.1 (#5785)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-23 09:20:46 +00:00
github-actions[bot] 17683c89ff Updating readme file for ubuntu18 version 20220619.1 (#5787)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-23 09:20:17 +00:00
Aleksandr Chebotov f83d069814 [macOS] Fix utils.sh: line 130: null: command not found (#5790)
* Fix utils.sh: line 130: null: command not found

* revert changes
2022-06-22 22:07:48 +03:00
Mikhail Timofeev 160d3cc825 Recreate nuget.config with a proper feed for macos (#5793) 2022-06-22 21:20:37 +03:00
github-actions[bot] 8fd4d28990 Updating readme file for ubuntu20 version 20220619.1 (#5786)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-22 18:10:30 +00:00
Aleksandr Chebotov 220c7ad69b Add dash version into documentation (#5796) 2022-06-22 18:23:30 +03:00
Aleksandr Chebotov 03d3125c20 Add permissions and run configure-machine.sh without sudo (#5789) 2022-06-22 08:46:22 +03:00
AlexanderGitin 02b78d07f4 [MacOs] Add Xamarin & bump bundle to 6.12.17 (#5764) 2022-06-22 01:58:02 +04:00
Aleksandr Chebotov ceb7831e50 [Packer] Fix anka packer template (#5778)
* Fix anka packer template

Fix indentation

Use sources

* Update boostrap path
2022-06-20 18:40:42 +02:00
github-actions[bot] 2f3323ba68 Updating readme file for macOS-10.15 version 20220615.1 (#5761)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-20 06:39:07 +00:00
Aleksandr Chebotov 39c4b5ac92 [Packer] Add anka macos12 hcl template (#5765)
* Add macOS-12 Anka packer template

* Fix indenation

* Update cpu and memory

* Move ] to next line

* Add default value
2022-06-20 09:32:07 +03:00
Aleksandr Chebotov e42b607790 [Windows] Set WSLv1 version on Windows Server 2022 (#5762)
* Set WSLv1 version on Windows Server 2022

* Create path if missing
2022-06-17 09:24:02 +02:00
github-actions[bot] a58f12fe95 Updating readme file for macOS-12 version 20220615.1 (#5756)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-17 05:51:58 +00:00
github-actions[bot] 4790ac0a20 Updating readme file for macOS-11 version 20220614.2 (#5757)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-16 23:02:04 +00:00
Johan Laanstra 6a2f3acb88 Adds the Windows SDK (10.0.22621) for Windows 11, version 22H2 (#5755) 2022-06-16 18:16:25 +03:00
Andrew Brown 89ee433676 Update MinGW on Windows 2022 (#5729)
* Update MinGW on Windows 2022

Previously, the GitHub virtual environments only had MinGW v8.1.0
installed. That version was released in October of 2018 and, since then,
MinGW has released versions all the way up to v11.2.0. This change
updates the MinGW version to the latest available on Chocolatey for the
Windows 2022 environment. Windows 2019 retains the current v8.1.0
version. Fixes #5530.

* Update MinGW documentation

* Additionally update win-2016 version

* Revert "Update MinGW documentation"

This reverts commit cb7a72ff0f.

* fix: modify the pattern used for retrieving the MinGW version
2022-06-16 18:15:38 +03:00
Aleksandr Chebotov 70cbad1d25 Rename macOS-11 anka hcl template (#5758) 2022-06-16 14:57:18 +04:00
Semen Zhydenko f8c0aa0241 Ss18/typos (#5753)
* FIX: typo becuase -> because

* FIX: typo succesfully -> successfully
2022-06-16 12:32:30 +03:00
github-actions[bot] 5edad1303c Updating readme file for win19 version 20220614.0 (#5749)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-16 09:27:55 +00:00
github-actions[bot] 58b9c4ec45 Updating readme file for ubuntu18 version 20220614.0 (#5748)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-16 09:21:48 +00:00
github-actions[bot] 7de34e33a8 Updating readme file for ubuntu20 version 20220614.0 (#5747)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-16 09:15:11 +00:00
Mikhail Koliada 199bdd9dd9 [Ubuntu] Install aws-cli v2 on 18.04 (#5743) 2022-06-16 12:09:45 +03:00
github-actions[bot] 4bbb6eb6ae Updating readme file for win22 version 20220614.0 (#5745)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-16 09:06:15 +00:00
github-actions[bot] cdde5f7f12 Updating readme file for ubuntu22 version 20220614.0 (#5750)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
2022-06-16 08:33:08 +00:00
Mikhail Timofeev c9a93eb735 Revert "Add Xcode 14 to macOS 12 image (#5703)" (#5742)
This reverts commit 5bb008fe60.
2022-06-14 16:16:43 +03:00
Steve-Glass 65f4b83103 Remove macOS 12 beta reference (#5732) 2022-06-14 16:16:13 +03:00
Aleksandr Chebotov 959274c3fc Improve github releases parser (#5738) 2022-06-14 15:52:15 +03:00
Mikhail Koliada bf4d034f1d [macOS] get double quotes back in sw report for VS (#5741) 2022-06-14 15:14:05 +04:00
Aleksandr Chebotov 04f68be19e [Windows] Improve Get-GitHubPackageDownloadUrl function (#5724)
* Improve Get-GitHubPackageDownloadUrl function

* Use Select-String
2022-06-14 09:34:46 +02:00
Aleksandr Chebotov 9cf1ebd754 Improve github releases parser (#5717) 2022-06-13 16:54:27 +02:00
Mikhail Koliada 38ada90269 fix SW report regarding VS for macOS (#5727) 2022-06-13 16:49:22 +02:00
Aleksandr Chebotov be40e97a97 Update erlang repo (#5722) 2022-06-13 13:37:41 +02:00
Dusko Dobranic 2b9e9f4302 Fix maven install on Ubuntu (#5721) 2022-06-13 11:43:08 +02:00
github-actions[bot] 5181bf0714 Updating readme file for macOS-12 version 20220605.1 (#5714)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 23:09:51 +00:00
github-actions[bot] 2950cbfeab Updating readme file for win22 version 20220607.3 (#5713)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 18:43:35 +00:00
github-actions[bot] 95feb85cb8 Updating readme file for ubuntu20 version 20220605.1 (#5696)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 18:33:23 +00:00
github-actions[bot] 6466abe35e Updating readme file for ubuntu18 version 20220605.1 (#5694)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 18:27:47 +00:00
github-actions[bot] f015f9e660 Updating readme file for ubuntu22 version 20220605.1 (#5695)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 17:21:23 +00:00
github-actions[bot] 161fb6f4d1 Updating readme file for macOS-11 version 20220605.1 (#5698)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 15:55:10 +00:00
github-actions[bot] e636e5e9b4 Updating readme file for win19 version 20220606.1 (#5705)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 14:20:05 +00:00
github-actions[bot] 0db794c553 Updating readme file for macOS-10.15 version 20220605.1 (#5697)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-09 11:19:07 +00:00
Aleksandr Chebotov 9f92c57e69 Remove step to install Microsoft GPG public key (#5710) 2022-06-08 17:31:08 +03:00
Aleksandr Chebotov 7aa16adef0 Update bazel cache once (#5709) 2022-06-08 17:30:31 +03:00
Aleksandr Chebotov 5690ae9183 Revert "Add WDK on Windows Server 2022 (#5652)" (#5711)
This reverts commit 16f6912f37.
2022-06-08 17:26:18 +03:00
Mikhail Timofeev 76f5a7d73e Add a note about VS 2019 usage (#5701) 2022-06-07 09:37:38 +03:00
Mikhail Timofeev 5bb008fe60 Add Xcode 14 to macOS 12 image (#5703) 2022-06-07 09:36:34 +03:00
Mikhail Koliada 8b4d799f25 [Ubuntu] Remove apt-key from GCP installer (#5687) 2022-06-06 17:06:55 +03:00
Aleksandr Chebotov f380cc1031 Add miniconda to macOS 12 (#5693) 2022-06-06 15:39:50 +03:00
Mikhail Koliada 787d6f6ee7 [Ubuntu] install Temurin gpg key manually on 22.04 (#5676) 2022-06-06 13:49:12 +03:00
Mikhail Koliada 7d31b635ea [Ubuntu] Remove apt-key from rlang install script (#5685) 2022-06-06 13:32:35 +03:00
Mikhail Koliada 1583fd17e7 [Ubuntu] Remove apt-key from postgresql installer (#5686) 2022-06-06 13:32:21 +03:00
Aleksandr Chebotov d63f3cf0f4 Use direct link to download latest yq version (#5689) 2022-06-06 09:30:14 +02:00
Mikhail Timofeev 184da3fa5c Add xcode 13.4.1 to macOS12 image (#5684) 2022-06-03 14:49:13 +03:00
Mikhail Koliada 9e4822e54e [Ubuntu] rework Microsoft repo installation (#5680) 2022-06-03 14:48:40 +03:00
github-actions[bot] 36df9267d0 Updating readme file for win22 version 20220529.1 (#5647)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 12:58:33 +00:00
github-actions[bot] 37ee313287 Updating readme file for win19 version 20220529.1 (#5646)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 09:58:40 +00:00
github-actions[bot] 3c0d5a6a78 macOS 10.15 (20220531 update) (#5667)
* Updating readme file for macOS-10.15 version 20220531.1

* Update macos-10.15-Readme.md

Add Microsoft Edge WebDriver 102.0.1245.2

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 09:54:36 +00:00
github-actions[bot] b0853ccdf3 Ubuntu 20.04 (20220529 update) (#5649)
* Updating readme file for ubuntu20 version 20220529.1

* Add php 8.0.19

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 09:41:00 +00:00
github-actions[bot] 51480d4573 Updating readme file for macOS-11 version 20220530.2 (#5673)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 09:31:59 +00:00
github-actions[bot] 5e4e06dbc3 Ubuntu 18.04 (20220529 update) (#5650)
* Updating readme file for ubuntu18 version 20220529.1

* Add php 8.0.19

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 08:37:37 +00:00
github-actions[bot] 3b183c64ee Updating readme file for ubuntu22 version 20220601.2 (#5665)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 08:37:00 +00:00
github-actions[bot] ee0e8358f2 macOS 12 (20220531 update) (#5662)
* Updating readme file for macOS-12 version 20220531.1

* Add Microsoft Edge WebDriver 102.0.1245.2

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-06-02 06:20:49 +00:00
Mikhail Koliada ebef5188d0 [macOS] Add Android NDK 24 (#5671) 2022-06-02 00:00:09 +03:00
Mikhail Koliada 044a4394ad [Windows] Add Android NDK 24 (#5672) 2022-06-01 23:09:55 +03:00
Mikhail Koliada a0452b1439 [Ubuntu] add Android NDK 24 (#5670) 2022-06-01 22:56:32 +03:00
Mikhail Timofeev e9c9ab26f1 Fix msedge driver output in readme (#5664) 2022-06-01 22:50:20 +03:00
Mikhail Timofeev 5da9968af3 Add platform field, rework some points (#5660) 2022-06-01 22:49:17 +03:00
Aleksandr Chebotov 6f162dda04 Downgrade aws cli v1 to 1.24.10 (#5663) 2022-06-01 17:27:13 +03:00
Aleksandr Chebotov 16f6912f37 Add WDK on Windows Server 2022 (#5652) 2022-06-01 15:13:31 +02:00
Aleksandr Chebotov e27faa696e [Ubuntu] Do not add adoptopenjdk ppa to Ubuntu Server 22.04 (#5659)
* Do not add adoptopenjdk ppa to Ubuntu Server 22.04

* typo fi
2022-06-01 13:46:04 +03:00
AlexanderGitin d929386a18 [Windows] Add Microsoft Reporting Services Projects support (#5485)
* [Windows] Add Microsoft Reporting Services Projects support

* Hardcode MSReport URL for VS2022

* Сhanged MSReport URL for VS2022
2022-06-01 10:17:05 +02:00
Aleksandr Chebotov 36ddf7491f Remove ssh legacy fix for Ubuntu Server 22.04 (#5645) 2022-06-01 11:08:42 +03:00
Dusko Dobranic 0fec5d8152 Fix PHP8.0.x version in software report (#5653)
* Fix PHP8.0.x version in software report

* Remove hardcoded value for epoch

* Using updated regex to match epoch version
2022-05-31 21:35:28 +03:00
Aleksandr Chebotov fbbf35456f [macOS] Install latest Android cmdline-tools (#5641)
* Install latest Android cmdline-tools

* Use cmdlineToolsVersion variable
2022-05-31 11:07:01 +03:00
Aleksandr Chebotov 82d552ac56 [Ubuntu] Install latest Android cmdline-tools (#5639)
* [Ubuntu] Install latest Android cmdline-tools

* Move yq installation
2022-05-31 11:05:22 +03:00
Bryan Ricker 1938bdf841 [Ubuntu] add out-of-the-box SourceKitten support (#5634)
[SourceKitten](https://github.com/jpsim/SourceKitten), a popular Swift
library for interacting with SourceKit, needs to know (or be told) the
location of the sourcekitd framework. SourceKitten is somewhat
[ubiquitous](https://github.com/jpsim/SourceKitten#projects-built-with-sourcekitten);
most Swift projects I've seen or worked on used SourceKitten in some
way.

On macOS, the sourcekit framework is baked-in to the Xcode toolchain(s) and
therefore its location is generally known. On Linux, the location of the
sourcekit framework is wherever swift is installed, which is unknown to
libraries like SourceKitten.

SourceKitten searches for the sourcekit framework in [a few
locations](https://github.com/jpsim/SourceKitten/blob/f7cf1e3b6328f21e344e83450ae1298af69de281/Source/SourceKittenFramework/library_wrapper.swift#L51-L104),
but it's unable to infer the location of the framework on these ubuntu
images. The result when attempting to run any SourceKitten-based tool in
Github Actions on an ubuntu VM is the following error:

```
SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading libsourcekitdInProc.so failed
/home/runner/work/_temp/cb002a5e-1916-4e05-ba4d-f70ad3bb2266.sh: line 1:  3944 Illegal instruction     (core dumped) mint run swiftlint .
```

(to be clear, this error is not specific to the Github Actions ubuntu
VMs. The same error occurs on any Ubuntu system).

Individual users can work around this by setting the following
environment variable:

```
LINUX_SOURCEKIT_LIB_PATH="/usr/share/swift/usr/lib"
```

This is not a good workaround for the following reasons:

1. The end user doesn't necessarily know where swift is installed.
2. A change to the location of the swift installation would break this
   workaround.
3. The error will occur virtually 100% of the time on a user's first
   attempt to run SourceKitten on ubuntu, and takes at least a
   few minutes to troubleshoot. This will quickly add up to a
   non-trivial amount of lost productivity.

So, anyways, my proposal is to just link sourcekitd to a location where
SourceKitten will find it, so most developers don't have to think about it.
`LINUX_SOURCEKIT_LIB_PATH` can be defined by the user if they have an
unusual setup.

Alternative:

- Don't symlink, add `LINUX_SOURCEKIT_LIB_PATH` to `/etc/environment`.
2022-05-31 08:50:57 +02:00
Aleksandr Chebotov b07aceb7a4 [Windows] Install parcel after python3 (#5629) 2022-05-31 03:24:33 +04:00
Blake f61057f208 fix script (#5644) 2022-05-30 23:41:16 +02:00
Aleksandr Chebotov f4e9588993 [Windows] Install latest Android cmdline-tools (#5619)
* Install latest Android cmdline-tools

* Use Get-ToolsetContent

* Fix variable typo

* replace variable

* Fix Windows 2016
2022-05-30 16:39:37 +02:00
Mikhail Koliada 47e8783e7e [macOS] deprecate xcode 13.2 on Big Sur (#5638) 2022-05-30 15:49:56 +02:00
jeffpuckett 520f852a21 Add option to auto clean up packer resources if there is an error during packer image creation (#5635)
* Add option to auto clean up packer resources if there is an error during packer image creation

* Add option to auto clean up packer resources if there is an error during packer image creation

* Add option to auto clean up packer resources if there is an error during packer image creation

Co-authored-by: Jeff Puckett <jpuckett@yprime.com>
2022-05-30 14:40:06 +02:00
Larissa Fortuna a814bcd513 Adding beta indicator (#5628)
Ubuntu 22 and macOS12 are in beta - we need to indicate that here.
2022-05-28 09:14:05 +02:00
Mikhail Timofeev 0d30c1390d Downgrade parcel to 2.5.0 (#5627) 2022-05-27 15:50:29 +03:00
github-actions[bot] 6b6c1beded macOS 10.15 (20220523 update) (#5604)
* Updating readme file for macOS-10.15 version 20220523.3

* Update macos-10.15-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-27 11:34:52 +00:00
Mikhail Timofeev 992c2d3508 Fix software report output for cargo audit package (#5625) 2022-05-27 13:01:49 +03:00
Mikhail Timofeev 3c0d3f8709 Fix software report for cargo audit (#5624) 2022-05-27 11:14:16 +03:00
Mikhail Timofeev c61cbbf296 [Ubuntu] Add java dependent tools back to ubuntu 22 (#5618)
* Get back kotlin and selenium

* Get back leiningen and android tools
2022-05-27 09:46:59 +03:00
Aleksandr Chebotov 1d519b89d7 [macOS] Set Visual Studio 2022 for Mac by default (#5614)
* Set Visual Studio 2022 for Mac by default

* add isDefault
2022-05-26 18:05:57 +03:00
github-actions[bot] bf4c35eee5 Updating readme file for macOS-12 version 20220523.1 (#5596)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-26 13:09:41 +00:00
github-actions[bot] 0f372a0a73 macOS 11 (20220523 update) (#5605)
* Updating readme file for macOS-11 version 20220523.2

* Update macos-11-Readme.md

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-26 13:01:55 +00:00
github-actions[bot] 5db9b2ac4c Updating readme file for win19 version 20220522.1 (#5599)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-26 11:18:36 +00:00
github-actions[bot] 189927b46f Updating readme file for win22 version 20220522.1 (#5588)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-26 10:48:15 +00:00
Igor Boskovic 65955e2fb1 image build issue (#5613) 2022-05-26 11:53:27 +02:00
Mikhail Timofeev eabc37ce41 Add java tools installation to Ubuntu22 (#5612) 2022-05-25 23:11:06 +03:00
Mikhail Timofeev 9e72341e34 Add clang 13&14 instead of 10&11, make 14 default (#5610) 2022-05-25 20:28:50 +03:00
Mikhail Timofeev 4393b58dce Get back container tools on Ubuntu 18&20 (#5611) 2022-05-25 19:25:12 +03:00
Dusko Dobranic 102af04076 [macOS] Fix cargo audit version in software report (#5606) 2022-05-25 17:04:34 +03:00
Mikhail Timofeev 7a7fafda99 [macOS] Add virtualbox to macOS-12 (#5594)
* Add virtualbox to macOS-12

* Fix Get_OSVersion function as isBigSur didn't work

* Use proper comparison
2022-05-24 22:48:57 +03:00
Aleksandr Chebotov 12cbf387ca Update allowed_inbound_ip_addresses default condition (#5602) 2022-05-24 19:40:15 +03:00
Aleksandr Chebotov c3fb682f73 [ImageGen] Fix allowed_inbound_ip_addresses error (#5597)
* Fix allowed_inbound_ip_addresses error

* Add space
2022-05-24 14:30:13 +03:00
github-actions[bot] de68d8faea Updating readme file for ubuntu22 version 20220522.1 (#5589)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-24 08:41:22 +00:00
juliancarrivick 64e497aba9 Add clang-tidy to Ubuntu images (#5541) 2022-05-23 16:50:28 +03:00
Shohei Maeda f8f8c93509 [Ubuntu] Use new Hashicorp Releases API (#5587) 2022-05-23 16:47:07 +03:00
Mikhail Koliada 1996a78b43 fix Ubuntu 22.04 template extension (#5591) 2022-05-23 15:04:06 +03:00
Mikhail Koliada e4d58452f4 [Ubuntu] Rework podman and tools installation (#5580) 2022-05-20 16:40:31 +03:00
github-actions[bot] 984b0a83de Updating readme file for macOS-10.15 version 20220515.1 (#5552)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-20 11:24:00 +00:00
Aleksandr Chebotov c93738bd53 Replace client_secret to client_cert_path (#5579) 2022-05-20 13:51:55 +03:00
Mikhail Timofeev dc7d03e49d [Ubuntu] Make software and release URLs using variables instead of hardcode (#5572)
* Make urls using variables instead of hardcode

* Simplify versions retrieval
2022-05-19 21:47:48 +02:00
Aleksandr Chebotov 0aa72a7eba Add appcenter-cli (#5571) 2022-05-19 19:53:47 +03:00
github-actions[bot] 0dd8232afe Updating readme file for macOS-11 version 20220517.4 (#5568)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-19 14:45:03 +00:00
Igor Boskovic 9a469f0216 add Ubuntu 22.04 badge readme url (#5570) 2022-05-19 17:27:55 +03:00
github-actions[bot] 8f236daf09 Updating readme file for win22 version 20220515.1 (#5558)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-19 12:41:29 +00:00
github-actions[bot] 17ccb0bc75 Updating readme file for win19 version 20220515.1 (#5551)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-19 09:11:58 +00:00
github-actions[bot] ca7fca068a Updating readme file for ubuntu20 version 20220515.1 (#5546)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-19 08:08:45 +00:00
AlexanderGitin e3079f0476 [Windows] Add safe directory to gitconfig (#5453) 2022-05-19 11:07:43 +03:00
github-actions[bot] 9aa72c4482 Updating readme file for ubuntu18 version 20220515.1 (#5545)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-19 07:46:58 +00:00
github-actions[bot] 74d2bc3b8b Ubuntu 22.04 (20220515 update) (#5547)
* Updating readme file for ubuntu22 version 20220515.1

* Update Ubuntu2204-Readme.md

Fix cargo outdated version

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-18 20:57:08 +00:00
Aleksandr Chebotov 82d69fd301 [macOS] Add VSForMac 2022 Preview (#5561) 2022-05-18 17:49:37 +03:00
Aleksandr Chebotov 536cfa24b0 [Ubuntu] Revert powershell fix for Ubuntu 22.04 (#5567)
* Revert powershell fix for Ubuntu 22.04

* Move libssl1.1 dependency

* fix typo

* remove comment
2022-05-18 15:39:37 +03:00
github-actions[bot] 20158a6906 Updating readme file for macOS-12 version 20220516.1 (#5557)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-17 11:53:43 +00:00
Aleksandr Chebotov 5f0efafcaa Add Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre (#5559) 2022-05-17 14:39:04 +03:00
Mikhail Koliada 260acc1b51 [macOS] Add Xamarin.Android 12.1 & bump bundle to 6.12.16 (#5548) 2022-05-16 22:50:16 +03:00
Dusko Dobranic bc7bb8bf96 [Ubuntu] Fix cargo outdated version in report (#5550) 2022-05-16 20:41:45 +03:00
Aleksandr Chebotov 17d10f6889 Add amazon-ecr-credential-helper (#5544) 2022-05-16 18:49:51 +03:00
Mikhail Timofeev 888d89126b Add MFC ARM Spectre components (#5536) 2022-05-13 23:37:07 +04:00
Mikhail Timofeev 16fb116cf0 Add Xcode 13.4 to macOS-12 image (#5534) 2022-05-13 18:55:13 +03:00
github-actions[bot] 6c66ae2ee4 Updating readme file for ubuntu20 version 20220508.1 (#5503)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-13 06:31:50 +00:00
github-actions[bot] 511d9fa7ba Updating readme file for win19 version 20220511.2 (#5528)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-13 04:38:25 +00:00
github-actions[bot] 78d8bca4d3 Updating readme file for win22 version 20220511.2 (#5526)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-12 15:42:00 +00:00
github-actions[bot] bf517ce489 Updating readme file for macOS-10.15 version 20220508.1 (#5508)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-12 14:13:55 +00:00
github-actions[bot] 70118fee99 Updating readme file for macOS-11 version 20220508.1 (#5509)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-12 12:29:05 +00:00
alex-3sr 66359f61ec Add new feature for permit azure tags (#5467) 2022-05-12 13:49:15 +03:00
github-actions[bot] 453dccc462 Updating readme file for macOS-12 version 20220508.1 (#5505)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-12 10:37:36 +00:00
Mikhail Koliada 632693ff4a [macOS] set Xcode-13.3.1 as default (#5523) 2022-05-12 11:55:22 +03:00
Rob Herley 1bd639f31d add ecdsa & ed25519 gh host keys (#5520) 2022-05-12 11:53:25 +03:00
github-actions[bot] 7b9a92f719 Updating readme file for ubuntu18 version 20220511.2 (#5524)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-12 08:19:40 +00:00
Ross Smith II 459f6845b1 Fix: typo in create-image-and-azure-resources.md (#5527) 2022-05-12 10:29:08 +03:00
Alexis Saettler 0ca5e834c0 Refactor Get-DotnetFrameworkTools and allow multiple SDKs installation (#5464) 2022-05-11 18:59:46 +03:00
AlexanderGitin 63c06b0c58 [MacOS] Add safe directory setting to git config (#5452) 2022-05-11 18:55:42 +03:00
Mikhail Koliada 0576062396 [Ubuntu] Migrate 22.04 from json to hcl (#5517) 2022-05-11 16:53:55 +03:00
Aleksandr Chebotov f2c7e4b929 Cleanup AD principal resources (#5481) 2022-05-10 11:26:57 +03:00
Aleksandr Chebotov 3caf4a3e5c [Windows] Add docker-compose v2 (#5504) 2022-05-10 11:23:19 +03:00
Aleksandr Chebotov 75a62205e9 Update cobertura link (#5502) 2022-05-09 13:43:19 +03:00
AlexanderGitin 54dc44b7a2 [macOS] Fix GHCup version output (#5455)
* [macOS] Fix GHCup version output

* Remove 'v' in GHCup version

* Revert GHCup version
2022-05-08 08:32:24 +02:00
Aleksandr Chebotov 5a2cb18a48 [Ubuntu] OpenSSL disable to load providers (#5496)
* [Ubuntu] OpenSSL disable to load providers

* Add link to vsts-agent issue

* Add Ubuntu22 check condition
2022-05-06 12:54:50 +02:00
Aleksandr Chebotov 8ee6ce76e4 Update libssl for Ubuntu22 (#5497) 2022-05-06 10:11:47 +02:00
Aleksandr Chebotov 17e6dc8298 [macOS] Add SwiftFormat for macOS 12 (#5495)
* Add SwiftFormat for macOS 12

* Update docs and pester test
2022-05-06 09:15:33 +02:00
github-actions[bot] df8580f2f0 Updating readme file for win19 version 20220503.1 (#5477)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-05 14:51:29 +00:00
github-actions[bot] ea50637d16 Updating readme file for win22 version 20220503.1 (#5475)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-05 14:30:24 +00:00
Dusko Dobranic ad4871d86c Fix kubectl version in software report (#5491) 2022-05-05 16:04:43 +02:00
github-actions[bot] ad831b8f26 Ubuntu 20.04 (20220503 update) (#5474)
* Updating readme file for ubuntu20 version 20220503.1

* Update Ubuntu2004-Readme.md

Updated kubectl version.

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-05 10:04:47 +00:00
Mikhail Timofeev d87f781615 Add ubuntu 22 to issue templates (#5492) 2022-05-05 10:57:34 +03:00
Mikhail Timofeev 3514f6ff69 Add readme for Ubuntu 22 image (#5488) 2022-05-05 10:37:47 +03:00
github-actions[bot] 03116894b3 Updating readme file for macOS-11 version 20220501.1 (#5471)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-05 02:38:19 +00:00
Mikhail Koliada ef69c49622 [Ubuntu] Add Ruby 3.1 to 22.04 toolcache (#5486) 2022-05-04 22:07:06 +03:00
Dusko Dobranic b86d5523dd [Ubuntu] Fix kubectl version report (#5479) 2022-05-04 18:09:51 +03:00
Aleksandr Chebotov ba6c9512a3 [CI] Set TLS12 (#5482) 2022-05-04 17:30:11 +03:00
Mikhail Koliada c4f55aa749 [Ubuntu] Add node toolcache to 22.04 (#5480) 2022-05-04 16:26:55 +03:00
Mikhail Koliada 97fd5e03b4 [Ubuntu] Add python toolcache to 22.04 (#5478) 2022-05-04 14:54:56 +03:00
github-actions[bot] 30007c5703 Updating readme file for macOS-10.15 version 20220501.1 (#5466)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-04 09:19:56 +00:00
Aleksandr Chebotov a27099b057 Add Ubuntu2204 ImageType (#5476)
* Add Ubuntu2204 ImageType

* Update json path
2022-05-04 12:19:49 +03:00
github-actions[bot] f1b7652904 Ubuntu 18.04 (20220503 update) (#5473)
* Updating readme file for ubuntu18 version 20220503.1

* Update Ubuntu1804-Readme.md

Fix kubectl version.

Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Dusko Dobranic <101048884+ddobranic@users.noreply.github.com>
2022-05-04 10:33:53 +02:00
github-actions[bot] db20cb8390 Updating readme file for macOS-12 version 20220429.1 (#5465)
Co-authored-by: Image generation service account <no-reply@microsoft.com>
Co-authored-by: Actions service account <no-reply@github.com>
2022-05-04 07:36:57 +00:00
Mikhail Timofeev ed9d42f033 Add ImageRepositoryPath env variable for Ubuntu 22 (#5462)
* Use image_repository_path variable

* Add ImageRepositoryPath to build image script
2022-05-02 17:51:16 +03:00
748 changed files with 32415 additions and 26302 deletions
+1 -1
View File
@@ -1 +1 @@
* @actions/virtual-environments-owners
* @actions/runner-images-team
+18 -9
View File
@@ -28,21 +28,30 @@ body:
required: true
- type: checkboxes
attributes:
label: Virtual environments affected
label: Platforms affected
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: macOS 12
- label: Azure DevOps
- label: GitHub Actions
- type: checkboxes
attributes:
label: Runner images affected
options:
- label: Ubuntu 22.04
- label: Ubuntu 24.04
- label: Ubuntu Slim
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: macOS 26 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- label: Windows Server 2025
- type: textarea
attributes:
label: Mitigation ways
description: Steps or options for impact mitigation
validations:
required: true
+27 -10
View File
@@ -10,24 +10,35 @@ body:
required: true
- type: checkboxes
attributes:
label: Virtual environments affected
label: Platforms affected
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: macOS 12
- label: Azure DevOps
- label: GitHub Actions - Standard Runners
- label: GitHub Actions - Larger Runners
- type: checkboxes
attributes:
label: Runner images affected
options:
- label: Ubuntu 22.04
- label: Ubuntu 24.04
- label: Ubuntu Slim
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: macOS 26 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- label: Windows Server 2025
- type: textarea
attributes:
label: Image version and build link
description: |
Image version where you are experiencing the issue. Where to find image version in build logs:
1. For GitHub Actions, under "Set up job" -> "Virtual Environment" -> "Version".
2. For Azure DevOps, under "Initialize job" -> "Virtual Environment" -> "Version".
1. For GitHub Actions, under "Set up job" -> "Runner Image" -> "Version".
2. For Azure DevOps, under "Initialize job" -> "Runner Image" -> "Version".
If you have a public example, please, provide a link to the failed build.
validations:
@@ -36,14 +47,20 @@ body:
attributes:
label: Is it regression?
description: If yes, please, provide the latest image version where the issue didn't persist, and a link to the latest successful build.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: A description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Actual behavior
description: A description of what is actually happening.
validations:
required: true
- type: textarea
attributes:
label: Repro steps
+2 -2
View File
@@ -2,5 +2,5 @@ blank_issues_enabled: false
contact_links:
- name: Get help in GitHub Discussions
url: https://github.com/actions/virtual-environments/discussions
about: Have a question? Feel free to ask in the virtual-environments GitHub Discussions!
url: https://github.com/actions/runner-images/discussions
about: Have a question? Feel free to ask in the runner-images GitHub Discussions!
+20 -10
View File
@@ -44,22 +44,32 @@ body:
label: URL for tool's homepage
- type: textarea
attributes:
label: Provide a basic test case to validate the tool's functionality.
label: Provide a basic test case to validate the tool's functionality.
description: This will be automatically formatted into code.
render: bash
- type: checkboxes
attributes:
label: Virtual environments affected
label: Platforms where you need the tool
options:
- label: Ubuntu 18.04
- label: Ubuntu 20.04
- label: macOS 10.15
- label: macOS 11
- label: macOS 12
- label: Azure DevOps
- label: GitHub Actions
- type: checkboxes
attributes:
label: Runner images where you need the tool
options:
- label: Ubuntu 22.04
- label: Ubuntu 24.04
- label: Ubuntu Slim
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: macOS 26 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
validations:
required: true
- label: Windows Server 2025
- type: textarea
attributes:
label: Can this tool be installed during the build?
@@ -72,4 +82,4 @@ body:
- type: input
attributes:
label: Are you willing to submit a PR?
description: We accept contributions!
description: We accept contributions!
+39
View File
@@ -0,0 +1,39 @@
# GitHub Copilot Instructions for Actions Runner Images Repository
## Scope and goals
- This repository serves as the source for building GitHub Actions runner and Azure DevOps agent images for Windows, Ubuntu, and macOS. You can find exact versions in the [Available Images](../README.md#available-images) section of README.md. Windows and Ubuntu images build on Azure infrastructure using Packer; macOS images use Anka virtualization.
- Emphasize best practices for contributing to open-source projects, including code style, commit messages, and pull request etiquette.
- Prefer clarity and correctness over creativity. If information is missing, ask clarifying questions or insert TODOs instead of guessing.
## Code and command instructions
- Follow the code style guide in [CONTRIBUTING.md](../CONTRIBUTING.md#code-style-guide) for Bash and PowerShell scripts, including naming conventions, file structure, and indentation rules.
- Focus on re-using helpers when writing scripts. Windows, Linux and Ubuntu scripts have helper functions available to simplify installation and validation.
- Always confirm versions and installation paths against existing toolset files and installation scripts.
## Output format
- Use GitHub Flavored Markdown only. Avoid raw HTML unless necessary.
- One H1 (`#`) per page, followed by logical, sequential headings (`##`, `###`, …).
- Use fenced code blocks with language identifiers (` ```bash `, ` ```json `, ` ```yaml `, etc.).
- Use blockquote callouts for notes:
> [!NOTE] Context or nuance
> [!TIP] Helpful hint
> [!WARNING] Risks or breaking changes
> [!IMPORTANT] Critical requirement for functionality
## Style and tone
- Audience: Open-source contributors, GitHub Actions maintainers, and developers building custom runner images. Assume familiarity with CI/CD concepts, Packer, and basic infrastructure provisioning, but explain platform-specific details (Azure for Windows/Ubuntu, Anka for macOS) when relevant.
- Voice: Second person ("you"), active voice, imperative for operational steps.
- Be concise: short paragraphs and sentences. Prefer lists and step-by-steps, especially for operational procedures and troubleshooting.
- Use inclusive, accessible language. Avoid idioms, sarcasm, and culturally specific references.
- English: en-US (spelling, punctuation, and units).
## Safety and integrity
- Do not expose sensitive credentials (API tokens, Azure subscription IDs, etc.) in code examples.
- Do not fabricate tool versions, installation paths, or software availability without verifying against toolset files or actual installation scripts.
- Always call out assumptions and limitations explicitly, especially for changes affecting runner image behavior or software availability.
- If ambiguous requests are made about image modifications, ask clarifying questions about target OS, tool versions, and compatibility requirements before proceeding.
+2 -2
View File
@@ -1,6 +1,6 @@
# Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
**For new tools, please provide total size and installation time.**
<!-- Currently, we can't accept external contributions to macOS source. Please find more details in [CONTRIBUTING.md](CONTRIBUTING.md#macOS) guide -->
@@ -0,0 +1,22 @@
name: Check Outdated Version Pinning
on:
schedule:
- cron: '0 12 * * 1' # Run at 12:00 UTC every Monday
permissions:
issues: write
contents: read
jobs:
check-pinning-dates:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Validate JSON Schema
shell: pwsh
run: ./helpers/CheckOutdatedVersionPinning.ps1
env:
GH_TOKEN: ${{ github.token }}
+7 -5
View File
@@ -25,24 +25,26 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
permissions:
# only required for workflows in private repositories
actions: read
contents: read
# required for all workflows
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python', 'ruby' ]
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v3
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -67,4 +69,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
+5 -8
View File
@@ -10,15 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create release for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/create-release@v1.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b #v1.20.0
with:
tag_name: ${{ github.event.client_payload.ReleaseBranchName }}
release_name: ${{ github.event.client_payload.ReleaseTitle }}
tag: ${{ github.event.client_payload.ReleaseBranchName }}
name: ${{ github.event.client_payload.ReleaseTitle }}
body: ${{ github.event.client_payload.ReleaseBody }}
prerelease: ${{ github.event.client_payload.Prerelease }}
commitish: ${{ github.event.client_payload.Commitish }}
commit: ${{ github.event.client_payload.Commitish }}
allowUpdates: true
+26 -12
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
with:
fetch-depth: 0
@@ -18,32 +18,46 @@ jobs:
run: |
git checkout ${{ github.event.client_payload.ReleaseBranchName }}
git branch ${{ github.event.client_payload.ReleaseBranchName }}-docs
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs
git push origin ${{ github.event.client_payload.ReleaseBranchName }}-docs --force
- name: Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
id: create-pr
uses: actions/github-script@v2
uses: actions/github-script@v8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
let response = await github.pulls.create({
const pulls = await github.rest.pulls.list({
owner: context.repo.owner,
repo: context.repo.repo,
title: "${{ github.event.client_payload.PullRequestTitle }}",
head: "${{ github.event.client_payload.ReleaseBranchName }}-docs",
head: `${context.repo.owner}:${{ github.event.client_payload.ReleaseBranchName }}-docs`,
base: "${{ github.event.client_payload.PullRequestBase }}",
body: `${{ github.event.client_payload.PullRequestBody }}`
state: 'open'
});
return response.data.number
if (pulls.data.length > 0) {
console.log(`Pull request already exists: ${pulls.data[0].html_url}`);
return pulls.data[0].number;
} else {
console.log('No existing pull request found, creating new one');
let response = await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: "${{ github.event.client_payload.PullRequestTitle }}",
head: "${{ github.event.client_payload.ReleaseBranchName }}-docs",
base: "${{ github.event.client_payload.PullRequestBase }}",
body: `${{ github.event.client_payload.PullRequestBody }}`
});
return response.data.number;
}
- name: Request reviewers
uses: actions/github-script@v2
uses: actions/github-script@v8
with:
github-token: ${{secrets.PRAPPROVAL_SECRET}}
script: |
github.pulls.requestReviewers({
github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ steps.create-pr.outputs.result }},
team_reviewers: ['virtual-environments-akvelon']
})
team_reviewers: ['runner-images-team']
})
+112
View File
@@ -0,0 +1,112 @@
name: Create SBOM for the release
run-name: Collecting SBOM for ${{ github.event.client_payload.agentSpec || 'unknown image' }} - ${{ github.event.client_payload.imageVersion || 'unknown version' }}
on:
repository_dispatch:
types: [generate-sbom]
defaults:
run:
shell: pwsh
jobs:
sbom-check:
outputs:
check_status: ${{ steps.check.outputs.status }}
runs-on: ubuntu-latest
env:
RELEASE_ID: ${{ github.event.client_payload.ReleaseID }}
steps:
- name: Check SBOM asset for release ${{ env.RELEASE_ID }}
id: check
shell: pwsh
run: |
$apiUrl = "https://api.github.com/repos/actions/runner-images/releases/$env:RELEASE_ID"
$response = Invoke-RestMethod -Uri $apiUrl -Method Get -SkipHttpErrorCheck
if ($response.message -ilike "Not Found") {
echo "status=release_not_found" >> $env:GITHUB_OUTPUT
Write-Error "Release $env:RELEASE_ID wasn't found"
exit 1
}
foreach ($asset in $response.assets) {
if ($asset.name -like '*sbom*') {
echo "status=sbom_exists" >> $env:GITHUB_OUTPUT
return "Release $env:RELEASE_ID already contains a SBOM"
}
}
Write-Host "Release has been found, SBOM is not attached, starting generation."
echo "status=okay" >> $env:GITHUB_OUTPUT
building-sbom:
needs: sbom-check
if: ${{ needs.sbom-check.outputs.check_status == 'okay' }}
runs-on: ${{ github.event.client_payload.agentSpec }}
env:
AGENT_SPEC: ${{ github.event.client_payload.agentSpec }}
RELEASE_ID: ${{ github.event.client_payload.ReleaseID }}
IMAGE_VERSION: ${{ github.event.client_payload.imageVersion }}
steps:
- name: Available image version check
run: |
$expectedVersion = $env:IMAGE_VERSION
$runnerVersion = $env:ImageVersion
# Split versions by dot
$expectedParts = $expectedVersion.Split('.')
$runnerParts = $runnerVersion.Split('.')
# Determine what parts to compare
$minLength = [Math]::Min($expectedParts.Length, $runnerParts.Length)
$expectedComparable = $expectedParts[0..($minLength-1)] -join '.'
$runnerComparable = $runnerParts[0..($minLength-1)] -join '.'
# Perform the comparison
if ($expectedComparable -ne $runnerComparable) {
throw "Version mismatch: Expected version '$expectedVersion' doesn't match runner version '$runnerVersion'"
}
- name: Install SYFT tool on Windows
if: ${{ runner.os == 'Windows' }}
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b C:/syft
- name: Install SYFT tool on Ubuntu
if: ${{ runner.os == 'Linux' }}
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- name: Install SYFT v1.24.0 on macOS
if: ${{ runner.os == 'macOS' }}
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v1.24.0
- name: Run SYFT on Windows
if: ${{ runner.os == 'Windows' }}
run: C:/syft/syft dir:C:/ -vv -o spdx-json=sbom.json
- name: Run SYFT on Ubuntu
if: ${{ runner.os == 'Linux' }}
run: syft dir:/ -vv -o spdx-json=sbom.json
- name: Run SYFT on macOS
if: ${{ runner.os == 'macOS' }}
# Skip protected folders to avoid prompt privileges that block process indefinitely (https://github.com/anchore/syft/issues/1367)
run: sudo syft dir:/ -vv -o spdx-json=sbom.json --exclude ./Users --exclude ./System/Volumes --exclude ./private
shell: bash
- name: Compress SBOM file
run: Compress-Archive sbom.json sbom.json.zip
- uses: actions/upload-artifact@v4
with:
name: sbom-${{ env.AGENT_SPEC }}-${{ env.IMAGE_VERSION }}
path: sbom.json.zip
if-no-files-found: warn
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: "https://uploads.github.com/repos/actions/runner-images/releases/${{ env.RELEASE_ID }}/assets{?name,label}"
asset_path: ./sbom.json.zip
asset_name: sbom.${{ env.AGENT_SPEC }}.json.zip
asset_content_type: application/zip
+2 -2
View File
@@ -17,12 +17,12 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v4
uses: github/super-linter/slim@v7
env:
VALIDATE_ALL_CODEBASE: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+5 -16
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v5
with:
fetch-depth: 0
@@ -24,11 +24,11 @@ jobs:
sleep 30
- name: Approve pull request by GitHub-Actions bot
uses: actions/github-script@v2
uses: actions/github-script@v8
with:
github-token: ${{secrets.PRAPPROVAL_SECRET}}
script: |
github.pulls.createReview({
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
@@ -36,24 +36,13 @@ jobs:
});
- name: Merge pull request for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/github-script@v2
uses: actions/github-script@v8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.pulls.merge({
github.rest.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: ${{ github.event.client_payload.PullRequestNumber }},
merge_method: "squash"
})
- name: Delete docs branch ${{ github.event.client_payload.ReleaseBranchName }}-docs
uses: actions/github-script@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.git.deleteRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "heads/${{ github.event.client_payload.ReleaseBranchName }}-docs"
})
+25
View File
@@ -0,0 +1,25 @@
# CI Validation
name: PowerShell Tests
on:
pull_request:
branches: [ main ]
paths:
- 'helpers/software-report-base/**'
jobs:
powershell-tests:
name: PowerShell tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v5
- name: Run Software Report module tests
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
Invoke-Pester -Output Detailed "helpers/software-report-base/tests"
@@ -0,0 +1,119 @@
name: Trigger Build workflow
on:
workflow_call:
inputs:
image_type:
required: true
type: string
defaults:
run:
shell: pwsh
jobs:
trigger-workflow:
runs-on: ubuntu-latest
outputs:
ci_workflow_run_id: ${{ steps.resolve.outputs.ci_workflow_run_id }}
ci_workflow_run_url: ${{ steps.resolve.outputs.ci_workflow_run_url }}
env:
CI_PR_TOKEN: ${{ secrets.CI_PR_TOKEN }}
PR_TITLE: ${{ github.event.pull_request.title }}
CI_REPO: ${{ vars.CI_REPO }}
steps:
- name: Checkout Code
uses: actions/checkout@v5
- name: Trigger Build workflow
run: |
Import-Module ./helpers/GitHubApi.psm1
$gitHubApi = Get-GithubApi -Repository "${env:CI_REPO}" -AccessToken "${env:CI_PR_TOKEN}"
$eventType = "trigger-${{ inputs.image_type }}-build"
[string] $prGuid = New-Guid
$clientPayload = @{
pr_title = "${env:PR_TITLE} - " + $prGuid
custom_repo = "${{ github.event.pull_request.head.repo.full_name }}"
custom_repo_commit_hash = "${{ github.event.pull_request.head.sha }}"
}
$gitHubApi.DispatchWorkflow($eventType, $clientPayload)
"PR_GUID=$prGuid" | Out-File -Append -FilePath $env:GITHUB_ENV
- name: Resolve Workflow Run ID
id: resolve
run: |
Import-Module ./helpers/GitHubApi.psm1
$gitHubApi = Get-GithubApi -Repository "${env:CI_REPO}" -AccessToken "${env:CI_PR_TOKEN}"
$workflowFileName = $("{0}.yml" -f "${{ inputs.image_type }}").ToLower()
$WorkflowSearchPattern = "${env:PR_GUID}"
# It might take a few minutes for the action to start
$attempt = 1
do {
$workflowRuns = $gitHubApi.GetWorkflowRuns($WorkflowFileName).workflow_runs
$workflowRunId = ($workflowRuns | Where-Object {$_.display_title -match $WorkflowSearchPattern}).id | Select-Object -First 1
if (-not ([string]::IsNullOrEmpty($workflowRunId))) {
$workflowRun = $gitHubApi.GetWorkflowRun($workflowRunId)
Write-Host "Found the workflow run with ID $workflowRunId on attempt $attempt. Workflow run link: $($workflowRun.html_url)"
"ci_workflow_run_id=$workflowRunId" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
"ci_workflow_run_url=$($workflowRun.html_url)" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
break
}
Write-Host "Workflow run for $WorkflowSearchPattern pattern not found on attempt $attempt."
$attempt += 1
Start-Sleep 30
} until ($attempt -eq 10)
if ([string]::IsNullOrEmpty($workflowRunId)) {
throw "Failed to find a workflow run for '$WorkflowSearchPattern'."
}
wait-completion:
runs-on: ubuntu-latest
needs: trigger-workflow
steps:
- name: Checkout Code
uses: actions/checkout@v5
- name: Wait for workflow completion
env:
CI_PR_TOKEN: ${{ secrets.CI_PR_TOKEN }}
CI_REPO: ${{ vars.CI_REPO }}
run: |
./helpers/WaitWorkflowCompletion.ps1 `
-WorkflowRunId "${{ needs.trigger-workflow.outputs.ci_workflow_run_id }}" `
-Repository "${env:CI_REPO}" `
-AccessToken "${env:CI_PR_TOKEN}"
- name: Add Summary
if: always()
run: |
"# Test Partner Image" >> $env:GITHUB_STEP_SUMMARY
"| Key | Value |" >> $env:GITHUB_STEP_SUMMARY
"| :-----------: | :--------: |" >> $env:GITHUB_STEP_SUMMARY
"| Workflow Run | [Link](${{ needs.trigger-workflow.outputs.ci_workflow_run_url }}) |" >> $env:GITHUB_STEP_SUMMARY
"| Workflow Result | $env:CI_WORKFLOW_RUN_RESULT |" >> $env:GITHUB_STEP_SUMMARY
" " >> $env:GITHUB_STEP_SUMMARY
cancel-workflow:
runs-on: ubuntu-latest
needs: [trigger-workflow, wait-completion]
if: cancelled()
steps:
- name: Checkout Code
uses: actions/checkout@v5
- name: Cancel workflow
env:
CI_PR_TOKEN: ${{ secrets.CI_PR_TOKEN }}
CI_REPO: ${{ vars.CI_REPO }}
run: |
Import-Module ./helpers/GitHubApi.psm1
$gitHubApi = Get-GithubApi -Repository "${env:CI_REPO}" -AccessToken "${env:CI_PR_TOKEN}"
$gitHubApi.CancelWorkflowRun("${{ needs.trigger-workflow.outputs.ci_workflow_run_id }}")
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Ubuntu22.04 CI
run-name: Ubuntu22.04 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/ubuntu/**'
defaults:
run:
shell: pwsh
jobs:
Ubuntu_2204:
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2204'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'ubuntu2204'
secrets: inherit
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Ubuntu24.04 CI
run-name: Ubuntu24.04 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/ubuntu/**'
defaults:
run:
shell: pwsh
jobs:
Ubuntu_2404:
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2404'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'ubuntu2404'
secrets: inherit
+3 -5
View File
@@ -10,19 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update release for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/github-script@v2
uses: actions/github-script@v8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const response = await github.repos.getReleaseByTag({
const response = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: "${{ github.event.client_payload.ReleaseBranchName }}"
});
github.repos.updateRelease({
github.rest.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: response.data.id,
@@ -0,0 +1,20 @@
name: Validate JSON Schema
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
validate-json-schema:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Validate JSON Schema
shell: pwsh
run: ./helpers/CheckJsonSchema.ps1
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Windows19 CI
run-name: Windows2019 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/windows/**'
defaults:
run:
shell: pwsh
jobs:
Windows_2019:
if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2019'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'windows2019'
secrets: inherit
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Windows22 CI
run-name: Windows2022 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/windows/**'
defaults:
run:
shell: pwsh
jobs:
Windows_2022:
if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2022'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'windows2022'
secrets: inherit
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Windows25 CI
run-name: Windows2025 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/windows/**'
defaults:
run:
shell: pwsh
jobs:
Windows_2025:
if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2025'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'windows2025'
secrets: inherit
+10 -1
View File
@@ -267,6 +267,12 @@ paket-files/
.idea/
*.sln.iml
# VSCode settings
.vscode/**
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/tasks.json
# CodeRush
.cr/
@@ -387,4 +393,7 @@ public
.dynamodb/
# visual studio code launch configuration
launch.json
launch.json
# Ignore dynamic template
images/*/*-temp.json
+9
View File
@@ -0,0 +1,9 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"hashicorp.hcl",
"davidanson.vscode-markdownlint",
"ms-vscode.powershell",
"timonwong.shellcheck"
]
}
+32 -1
View File
@@ -1,3 +1,34 @@
{
"files.trimTrailingWhitespace": false
"files.trimFinalNewlines": true,
"files.insertFinalNewline": true,
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.alignPropertyValuePairs": true,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.codeFormatting.newLineAfterCloseBrace": false,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.openBraceOnSameLine": true,
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.codeFormatting.whitespaceInsideBrace": true,
"shellcheck.exclude": [
"SC1090","SC2096"
],
"shellcheck.customArgs": [
"-x"
],
"json.schemas": [
{
"fileMatch": [
"**/toolset-*.json"
],
"url": "./schemas/toolset-schema.json"
}
]
}
+224 -33
View File
@@ -1,59 +1,250 @@
## Contributing
# Contributing
[fork]: https://github.com/actions/virtual-environments/fork
[pr]: https://github.com//actions/virtual-environments/compare
[fork]: https://github.com/actions/runner-images/fork
[pr]: https://github.com//actions/runner-images/compare
[code-of-conduct]: CODE_OF_CONDUCT.md
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [MIT](LICENSE.md).
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [MIT](LICENSE.md) license.
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project, you agree to abide by its terms.
## Contents
- [Submitting a pull request](#submitting-a-pull-request)
- [Adding a new tool to an image](#adding-a-new-tool-to-an-image)
- [Code style guide](#code-style-guide)
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
## Submitting a pull request
1. [Fork][fork] and clone the repository
1. Create a new branch: `git checkout -b my-branch-name`
1. Make your changes, ensure that they include steps to install, validate post-install and update software report (please see [How to add new tool](CONTRIBUTING.md#how-to-add-new-tool) for details).
1. Test your changes by [creating VHD and deploying a VM](docs/create-image-and-azure-resources.md).
1. Push to your fork and [submit a pull request][pr]
1. [Fork][fork] and clone the repository.
1. Create a new branch: `git checkout -b my-branch-name`.
1. Make your changes, ensuring that they include steps to install, validate post-install, and update the software report (please see [Adding a new tool to an image](#adding-a-new-tool-to-an-image) for details).
1. Test your changes by [creating an image and deploying a VM](docs/create-image-and-azure-resources.md).
1. Push to your fork and [submit a pull request][pr].
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Follow the style guide for [Powershell](https://github.com/PoshCode/PowerShellPracticeAndStyle) when writing Windows scripts. There is currently no set style for the Shell scripts that run Linux installs :soon:.
- Include complete details of why this is needed in the PR description.
- Include complete details of why this is needed in the PR description.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write [good commit messages](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- Write [good commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
- For new tools:
- Make sure that the tool satisfies [Software Guidelines](README.md#software-guidelines).
- Create an issue and get an approval from us to add this tool to the image before creating the pull request.
- Make sure that the tool satisfies the [Software Guidelines](README.md#software-guidelines).
- Create an issue and get approval from us to add this tool to the image before creating the pull request.
## Adding a new tool to an image
## How to add new tool
### General rules
- For every new tool add validation scripts and update software report script to make sure that it is included to documentation
- If the tool is available in other platforms (macOS, Windows, Linux), make sure you include it in as many as possible.
- If installing a few versions of the tool, consider putting the list of versions in the corresponding `toolset.json` file. It will help other customers to configure their builds flexibly. See [toolset-windows-2016.json](images/win/toolsets/toolset-2019.json) as example.
- Use consistent naming across all files
- Validation scripts should be simple and shouldn't change image content
- For every new tool, add validation scripts and update the software report script to ensure that it is included in the documentation.
- If the tool is available on multiple platforms (macOS, Windows, Linux), make sure you include it on as many as possible.
- If installing multiple versions of the tool, consider putting the list of versions in the corresponding `toolset.json` file. This will help other customers configure their builds flexibly. See [toolset-windows-2019.json](images/windows/toolsets/toolset-2019.json) as an example.
- Use consistent naming across all files.
- Validation scripts should be simple and shouldn't change the image content.
### Windows
- Add a script that will install the tool and put the script in the `scripts/Installers` folder.
There are a bunch of helper functions that could simplify your code: `Choco-Install`, `Install-Binary`, `Install-VsixExtension`, `Start-DownloadWithRetry`, `Test-IsWin16`, `Test-IsWin19` (find the full list of helpers in [ImageHelpers.psm1](images/win/scripts/ImageHelpers/ImageHelpers.psm1)).
- Add a script that will validate the tool installation and put the script in the `scripts/Tests` folder.
We use [Pester v5](https://github.com/pester/pester) for validation scripts. If the tests for the tool are complex enough, create a separate `*.Tests.ps1`. Otherwise, use `Tools.Tests.ps1` for simple tests.
Add `Invoke-PesterTests -TestFile <testFileName> [-TestName <describeName>]` at the end of the installation script to make sure that your tests will be run.
- Add changes to the software report generator `images/win/scripts/SoftwareReport/SoftwareReport.Generator.ps1`. The software report generator is used to generate an image's README file, e.g. [Windows2019-Readme.md](images/win/Windows2019-Readme.md) and uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
- Add a script that will install the tool and put the script in the `scripts/build` folder.
There are a bunch of helper functions that could simplify your code: `Install-ChocoPackage`, `Install-Binary`, `Install-VSIXFromFile`, `Install-VSIXFromUrl`, `Invoke-DownloadWithRetry`, `Test-IsWin19`, `Test-IsWin22` (find the full list of helpers in [ImageHelpers.psm1](images/windows/scripts/helpers/ImageHelpers.psm1)).
- Add a script that will validate the tool installation and put the script in the `scripts/tests` folder.
We use [Pester v5](https://github.com/pester/pester) for validation scripts. If the tests for the tool are complex enough, create a separate `*.Tests.ps1`. Otherwise, use `Tools.Tests.ps1` for simple tests.
Add `Invoke-PesterTests -TestFile <testFileName> [-TestName <describeName>]` at the end of the installation script to ensure that your tests will be run.
- Add changes to the software report generator `images/windows/scripts/docs-gen/Generate-SoftwareReport.ps1`. The software report generator is used to generate an image's README file, e.g. [Windows2019-Readme.md](images/windows/Windows2019-Readme.md) and uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
### Ubuntu
- Add script that will install and validate the tool and put the script in the `scripts/installers` folder.
Use existing scripts such as [github-cli.sh](images/linux/scripts/installers/github-cli.sh) as a starting point.
- Use [helpers](images/linux/scripts/helpers/install.sh) to simplify installation process.
- Validation part should `exit 1` if any issue with installation.
- Add changes to the software report generator `images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1`. The software report generator is used to generate an image's README file, e.g. [Ubuntu1804-Readme.md](images/linux/Ubuntu1804-README.md) and it uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
- Add a script that will install and validate the tool and put the script in the `scripts/build` folder.
Use existing scripts such as [github-cli.sh](images/ubuntu/scripts/build/github-cli.sh) as a starting point.
- Use [helpers](images/ubuntu/scripts/helpers/install.sh) to simplify the installation process.
- The validation part should `exit 1` if there is any issue with the installation.
- Add changes to the software report generator `images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1`. The software report generator is used to generate an image's README file, e.g. [Ubuntu2204-Readme.md](images/ubuntu/Ubuntu2204-Readme.md) and it uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
### macOS
macOS source lives in this repository and available for everyone. However, macOS image-generation CI doesn't support external contributions yet so we are not able to accept pull-requests for now.
We are in the process of preparing macOS CI to accept contributions. Until then, we appreciate your patience and ask you continue to make tool requests by filing issues.
The macOS source lives in this repository and is available for everyone. However, the macOS image-generation CI doesn't support external contributions yet, so we are not able to accept pull requests for now.
We are in the process of preparing the macOS CI to accept contributions. Until then, we appreciate your patience and ask that you continue to make tool requests by filing issues.
## Code style guide
The principles of clean code apply to all languages. The main points are:
- Use meaningful names for variables, functions, files, etc.
- Keep functions short and simple.
- Use comments to explain what the code does.
- Use a consistent code style, naming convention, and file structure.
### File structure
- Each file should have a header with a title and a short description of the file.
- Each file should have a newline at the end.
- Use blank lines to separate logical blocks of code, but don't abuse blank lines:
- Don't add a blank line in the beginning and end of a block or function.
- Don't add blank lines between logically connected statements.
- Avoid trailing whitespace.
### Bash scripts
#### Naming convention for bash scripts
- Use lowercase letters for variable names.
- Use uppercase letters for constants.
- Use underscores to separate words in variable names.
#### Bash script structure
Each script should start with the following shebang:
```bash
#!/bin/bash -e
```
> TODO: do we need to set pipefail?
This will make the script exit if any command fails.
After the shebang, add a header with the following format:
```bash
################################################################################
## File: <filename>
## Desc: <short description of what the script does>
################################################################################
```
Then import helpers that are used in the script.
For Linux:
```bash
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
source $HELPER_SCRIPTS/etc-environment.sh
```
For macOS:
```bash
source ~/utils/utils.sh
```
> [!NOTE]
> You don't need to import all helpers, only the ones that are used in the script.
After that, add the script code.
### Indentations and line breaks in bash scripts
- Use 4 spaces for indentation.
- Use 1 space between `if`/`for`/`while` and `[[` and between `[[` and the condition.
- Place `then`/`do` on the new line.
- For short `if`/`for`/`while` statements, use the one-line format.
- Break long pipelines using `\`.
### Other recommendations for bash scripts
- For command substitution, use `$()` instead of backticks.
- Use `[[` instead of `[` for conditional expressions.
- Prefer using long options instead of short keys, but there are exceptions, e.g.:
- `tar -xzf`
- `apt-get -yqq`
- `curl -sSLf`
- `wget -qO-`
### PowerShell scripts
#### Naming convention for PowerShell scripts
- Use camelCase for variable names.
- Use uppercase letters for constants.
- Use `Verb-Noun` and PascalCase for function names.
### PowerShell script structure
Each script should start with the following header:
```powershell
################################################################################
## File: <filename>
## Desc: <short description of what the script does>
################################################################################
```
Then declare functions that are used in the script.
> TODO: do we need to set the error action preference and progress preference?
>
> ```powershell
> $ErrorActionPreference = "Stop"
> $ProgressPreference = "SilentlyContinue"
> ```
For Linux and macOS, import helpers that are used in the script:
For Linux:
```powershell
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
```
For macOS:
```powershell
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Helpers.psm1" -DisableNameChecking
```
> [!NOTE]
> You don't need to import all helpers, only the ones that are used in the script.
After that, add the script code.
### Indentations and line breaks in PowerShell scripts
- Use 4 spaces for indentation.
- Use 1 space between `if`/`elseif`/`foreach` and `(` but not between `(` and the condition.
- Add a space before and after pipe `|` and redirection `>` operators.
- Align properties in hash tables.
- Use [1TBS](https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS)) style for curly braces:
- If block of statement is long, then place it on the new line, indent it, and add a closing curly brace on the new line.
- If block of statement is short, then place it on the same line as the statement.
```powershell
function Show-Example1 {
$exampleVariable = Get-ChildItem $env:TEMP
$exampleVariable | ForEach-Object {
$itemName = $_.Name
$itemPath = $_.FullName
}
}
$Example2 | Some-Function -Arguments @{Parameter1 = "Disabled"}
```
- Avoid using aliases.
- Break long pipelines using backticks or use [splatting](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_splatting?view=powershell-7.3):
```powershell
# Instead of this
Copy-Item -Path "test.txt" -Destination "test2.txt" -WhatIf
# you can use this
$HashArguments = @{
Path = "test.txt"
Destination = "test2.txt"
WhatIf = $true
}
Copy-Item @HashArguments
```
When using backticks be extra careful with trailing whitespace as they can cause errors.
### Other recommendations for PowerShell scripts
- Verify exit codes of commands.
- When writing a function, provide a docstring that describes what the function does.
## Resources
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2022 GitHub
Copyright (c) 2025 GitHub
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+217 -61
View File
@@ -1,61 +1,217 @@
# GitHub Actions Virtual Environments
This repository contains the source used to create the [virtual environments](https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners) for GitHub Actions hosted runners, as well as the VM images of [Microsoft-hosted agents](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent) used for Azure Pipelines. To build a VM machine from this repo's source, see the [instructions](docs/create-image-and-azure-resources.md).
How to get in touch with us:
- To file a bug report, or request tools to be added/updated, please [open an issue using the appropriate template](https://github.com/actions/virtual-environments/issues/new/choose)
- If you want to share your thoughts about image configuration, installed software, or bring some idea, please, create a new topic in a [discussions section](https://github.com/actions/virtual-environments/discussions) for a corresponding category. Before making a new discussion please make sure no similar topics were created earlier.
For general questions about using the virtual environments or writing your Actions workflow, please open requests in the [GitHub Actions Community Forum](https://github.community/c/github-actions/41).
## Available Environments
| Environment | YAML Label | Included Software | Latest Release & Rollout Progress |
| --------------------|---------------------|--------------------|---------------------|
| Ubuntu 20.04 | `ubuntu-latest` or `ubuntu-20.04` | [ubuntu-20.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu20&redirect=1)
| Ubuntu 18.04 | `ubuntu-18.04` | [ubuntu-18.04] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=ubuntu18&redirect=1)
| macOS 12 | `macos-12`| [macOS-12] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-12&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-12&redirect=1)
| macOS 11 | `macos-latest` or `macos-11`| [macOS-11] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-11&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-11&redirect=1)
| macOS 10.15 | `macos-10.15` | [macOS-10.15] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-10.15&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=macos-10.15&redirect=1)
| Windows Server 2022 | `windows-latest` or `windows-2022` | [windows-2022] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2022&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2022&redirect=1) |
| Windows Server 2019 | `windows-2019` | [windows-2019] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2019&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2019&redirect=1)
| Windows Server 2016 | `windows-2016` | [windows-2016] | [![](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2016&badge=1)](https://actionvirtualenvironmentsstatus.azurewebsites.net/api/status?imageName=windows-2016&redirect=1)
<b>Note:</b> Beta and Preview images are provided "as-is", "with all faults" and "as available" and are excluded from the service level agreement and warranty. Beta and Preview images may not be covered by customer support.
***What images are available for GitHub Actions and Azure DevOps?***
The availability of images for GitHub Actions and Azure DevOps is different. See documentation for more details:
- [GitHub Actions](https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)
- [Azure DevOps](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software)
***What image version is used in my build?*** Usually, image deployment takes 3-4 days, and documentation in the `main` branch is only updated when deployment is finished. To find out which image version and what software versions are used in a specific build, see `Set up job` (GitHub Actions) or `Initialize job` (Azure DevOps) step log.
***Looking for other Linux distributions?*** We do not plan to offer other Linux distributions. We recommend using Docker if you'd like to build using other distributions with the hosted virtual environments. Alternatively, you can leverage [self-hosted runners] and fully customize your environment to your needs.
***How to contribute to macOS source?*** macOS source lives in this repository and available for everyone. However, MacOS image-generation CI doesn't support external contributions yet so we are not able to accept pull-requests for now.
We are in the process of preparing MacOS CI to accept contributions. Until then, we appreciate your patience and ask you continue to make tool requests by filing issues.
## Updates to virtual environments
*Cadence*
We typically deploy weekly updates to the software on the virtual environments.
For some tools, we always install the latest at the time of the deployment; for others,
we pin the tool to specific version(s).
*Following Along / Change Notifications*
* **High Impact Changes** (ex. breaking changes, new or deprecated environments) will be posted to the GitHub Changelog on our [blog](https://github.blog/changelog/) and on [twitter](https://twitter.com/GHchangelog).
* **Low Impact Changes** will be pinned in this repository and marked with the [Announcement](https://github.com/actions/virtual-environments/labels/Announcement) label.
* **Regular Weekly Rhythm** can be followed by watching [Releases](https://github.com/actions/virtual-environments/releases). Pre-release is created when deployment is started. As soon as deployment is finished, it is converted to release.
You can also track upcoming changes using the [awaiting-deployment](https://github.com/actions/virtual-environments/labels/awaiting-deployment) label.
[ubuntu-20.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md
[ubuntu-18.04]: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-Readme.md
[windows-2022]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md
[windows-2019]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
[windows-2016]: https://github.com/actions/virtual-environments/blob/main/images/win/Windows2016-Readme.md
[macOS-11]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-11-Readme.md
[macOS-12]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-12-Readme.md
[macOS-10.15]: https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
[self-hosted runners]: https://help.github.com/en/actions/hosting-your-own-runners
## Software and image guidelines
To learn more about tools and images support policy, see the [guidelines](./docs/software-and-images-guidelines.md).
# GitHub Actions Runner Images
**Table of Contents**
- [About](#about)
- [Available Images](#available-images)
- [Announcements](#announcements)
- [Image Definitions](#image-definitions)
- [Image Releases](#image-releases)
- [Software and Image Support](#software-and-image-support)
- [How to Interact with the Repo](#how-to-interact-with-the-repo)
- [FAQs](#faqs)
## About
This repository contains the source code used to create the VM images for [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) used for Actions, as well as for [Microsoft-hosted agents](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops#use-a-microsoft-hosted-agent) used for Azure Pipelines.
To build a VM machine from this repo's source, see the [instructions](docs/create-image-and-azure-resources.md).
## Available Images
| Image | YAML Label | Included Software |
| --------------------|---------------------|--------------------|
| Ubuntu 24.04 | `ubuntu-latest` or `ubuntu-24.04` | [ubuntu-24.04] |
| Ubuntu 22.04 | `ubuntu-22.04` | [ubuntu-22.04] |
| macOS 26 Arm64 `beta` | `macos-26` or `macos-26-xlarge` | [macOS-26-arm64] |
| macOS 15 | `macos-latest-large`, `macos-15-large`, or `macos-15-intel` | [macOS-15] |
| macOS 15 Arm64 | `macos-latest`, `macos-15`, or `macos-15-xlarge` | [macOS-15-arm64] |
| macOS 14 | `macos-14-large`| [macOS-14] |
| macOS 14 Arm64 | `macos-14` or `macos-14-xlarge`| [macOS-14-arm64] |
| macOS 13 ![Deprecated](https://img.shields.io/badge/-Deprecated-red) | `macos-13` or `macos-13-large` | [macOS-13] |
| macOS 13 Arm64 ![Deprecated](https://img.shields.io/badge/-Deprecated-red) | `macos-13-xlarge` | [macOS-13-arm64] |
| Windows Server 2025 | `windows-latest` or `windows-2025` | [windows-2025] |
| Windows Server 2022 | `windows-2022` | [windows-2022] |
| Windows Server 2019 ![Deprecated](https://img.shields.io/badge/-Deprecated-red) | `windows-2019` | [windows-2019] |
### Label scheme
- In general the `-latest` label is used for the latest OS image version that is GA
- Before moving the`-latest` label to a new OS version we will announce the change and give sufficient lead time for users to update their workflows
[ubuntu-24.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
[ubuntu-22.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
[windows-2019]: https://github.com/actions/runner-images/blob/main/images/windows/Windows2019-Readme.md
[windows-2025]: https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md
[windows-2022]: https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
[macOS-13]: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
[macOS-13-arm64]: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-arm64-Readme.md
[macOS-14]: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
[macOS-14-arm64]: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md
[macOS-15]: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
[macOS-15-arm64]: https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
[macOS-26-arm64]: https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md
[self-hosted runners]: https://help.github.com/en/actions/hosting-your-own-runners
## Announcements
See notable upcoming changes by viewing issues with the [Announcement](https://github.com/actions/runner-images/labels/Announcement) label.
## Image Definitions
### Beta
The purpose of a Beta is to collect feedback on an image before it is released to GA. The goal of a Beta is to identify and fix any potential issues that exist on that
image. Images are updated on a weekly cadence. Any workflows that run on a beta image do not fall under the customer [SLA](https://github.com/customer-terms/github-online-services-sla) in place for Actions.
Customers choosing to use Beta images are encouraged to provide feedback in the runner-images repo by creating an issue. A Beta may take on different availability, i.e. public vs private.
### GA
A GA (General Availability) image has been through a Beta period and is deemed ready for general use. Images are updated on a weekly cadence. In order to be moved to
GA the image must meet the following criteria:
1. Has been through a Beta period (public or private)
2. Most major software we install on the image has a compatible
version for the underlying OS and
3. All major bugs reported during the Beta period have been addressed.
This image type falls under the customer [SLA](https://github.com/customer-terms/github-online-services-sla) for actions. GA images are eventually deprecated according to our guidelines as we only support the
latest 2 versions of an OS.
#### Latest Migration Process
GitHub Actions and Azure DevOps use the `-latest` YAML label (ex: `ubuntu-latest`, `windows-latest`, and `macos-latest`). These labels point towards the newest stable OS version available.
The `-latest` migration process is gradual and happens over 1-2 months in order to allow customers to adapt their workflows to the newest OS version. During this process, any workflow using the `-latest` label, may see changes in the OS version in their workflows or pipelines. To avoid unwanted migration, users can specify a specific OS version in the yaml file (ex: macos-14, windows-2022, ubuntu-22.04).
## Image Releases
*How to best follow along with changes*
1. Find the latest releases for this repository [here.](https://github.com/actions/runner-images/releases)
2. Subscribe to the releases coming out of this repository, instructions [here.](https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository)
3. Upcoming changes: A pre-release is created when the deployment of an image has started. As soon as the deployment is finished, the pre-release is converted to a release. If you have subscribed to releases, you will get notified of pre-releases as well.
- You can also track upcoming changes using the [awaiting-deployment](https://github.com/actions/runner-images/labels/awaiting-deployment) label.
4. For high impact changes, we will post these in advance to the GitHub Changelog on our [blog](https://github.blog/changelog/) and on [twitter](https://twitter.com/GHchangelog).
- Ex: breaking changes, GA or deprecation of images
*Cadence*
- We typically deploy weekly updates to the software on the runner images.
## Software and Image Support
### Support Policy
- Tools and versions will typically be removed 6 months after they are deprecated or have reached end-of-life
- We support (at maximum) 2 GA images and 1 beta image at a time. We begin the deprecation process of the oldest image label once the newest OS image label has been released to GA.
- The images generally contain the latest versions of packages installed except for Ubuntu LTS where we mostly rely on the Canonical-provided repositories.
- Popular tools can have several versions installed side-by-side with the following strategy:
| Tool name | Installation strategy |
|-----------|-----------------------|
| Docker images | not more than 3 latest LTS OS\tool versions. New images or new versions of current images are added using the standard tool request process |
| Java | all LTS versions |
| Node.js | 3 latest LTS versions |
| Go | 3 latest minor versions |
| Python <br/> Ruby | 5 most popular `major.minor` versions |
| PyPy | 3 most popular `major.minor` versions |
| .NET Core | 2 latest LTS versions and 1 latest version. For each feature version only latest patch is installed. Note for [Ubuntu images see details.](./docs/dotnet-ubuntu.md) |
| GCC <br/> GNU Fortran <br/> Clang <br/> GNU C++ | 3 latest major versions |
| Android NDK | 1 latest non-LTS, 2 latest LTS versions |
| Xcode | - only one major version of Xcode will be supported per macOS version <br/> - all minor versions of the supported major version will be available <br/> - beta and RC versions will be provided "as-is" in the latest available macOS image only no matter of beta/GA status of the image <br/> - when a new patch version is released, the previous patch version will be replaced |
| Xcode Platforms | - only three major.minor versions of platform tools and simulator runtimes will be available for installed Xcode, including beta/RC versions |
### Package managers usage
We use third-party package managers to install software during the image generation process. The table below lists the package managers and the software installed.
> [!NOTE]
> Third-party repositories are re-evaluated every year to identify if they are still useful and secure.
| Operating system | Package manager | Third-party repos and packages |
| :--- | :---: | ---: |
| Ubuntu | [APT](https://wiki.debian.org/Apt) | [docker](https://download.docker.com/linux/ubuntu) <br/> [Eclipse-Temurin (Adoptium)](https://packages.adoptium.net/artifactory/deb/) <br/> [Erlang](https://packages.erlang-solutions.com/ubuntu) <br/> [Firefox](https://ppa.launchpad.net/mozillateam/ppa/ubuntu) <br/> [git-lfs](https://packagecloud.io/install/repositories/github/git-lfs) <br/> [git](https://launchpad.net/~git-core/+archive/ubuntu/ppa) <br/> [Google Cloud CLI](https://packages.cloud.google.com/apt) <br/> [Heroku](https://cli-assets.heroku.com/channels/stable/apt) <br/> [HHvm](https://dl.hhvm.com/ubuntu) <br/> [MongoDB](https://repo.mongodb.org/apt/ubuntu) <br/> [Mono](https://download.mono-project.com/repo/ubuntu) <br/> [MS Edge](https://packages.microsoft.com/repos/edge) <br/> [PostgreSQL](https://apt.postgresql.org/pub/repos/apt/) <br/> [R](https://cloud.r-project.org/bin/linux/ubuntu) |
| | [pipx](https://pypa.github.io/pipx) | ansible-core <br/>yamllint |
| Windows | [Chocolatey](https://chocolatey.org) | No third-party repos installed |
| macOS | [Homebrew](https://brew.sh) | [aws-cli v2](https://github.com/aws/homebrew-tap) </br> [azure/bicep](https://github.com/Azure/homebrew-bicep) </br> [mongodb/brew](https://github.com/mongodb/homebrew-brew) |
| | [pipx](https://pypa.github.io/pipx/) | yamllint |
### Image Deprecation Policy
- Images begin the deprecation process of the oldest image label once a new GA OS version has been released.
- Deprecation process begins with an announcement that sets a date for deprecation
- As it gets closer to the date, GitHub begins doing scheduled brownouts of the image
- During this time there will be an Announcement pinned in the repo to remind users of the deprecation.
- Finally GitHub will deprecate the image and it will no longer be available
### Preinstallation Policy
In general, these are the guidelines we follow when deciding what to pre-install on our images:
- Popularity: widely-used tools and ecosystems will be given priority.
- Latest Technology: recent versions of tools will be given priority.
- Deprecation: end-of-life tools and versions will not be added.
- Licensing: MIT, Apache, or GNU licenses are allowed.
- Time & Space on the Image: we will evaluate how much time is saved and how much space is used by having the tool pre-installed.
- Support: If a tool requires the support of more than one version, we will consider the cost of this maintenance.
### Default Version Update Policy
- In general, once a new version is installed on the image, we announce the default version update 2 weeks prior to deploying it.
- For potentially dangerous updates, we may extend the timeline up to 1 month between the announcement and deployment.
## How to Interact with the Repo
- **Issues**: To file a bug report, or request tools to be added/updated, please [open an issue using the appropriate template](https://github.com/actions/runner-images/issues/new/choose)
- **Discussions**: If you want to share your thoughts about image configuration, installed software, or bring a new idea, please create a new topic in a [discussion](https://github.com/actions/runner-images/discussions) for a corresponding category. Before making a new discussion please make sure no similar topics were created earlier.
- For general questions about using the runner images or writing your Actions workflow, please open requests in the [GitHub Actions Community Forum](https://github.community/c/github-actions/41).
## FAQs
<details>
<summary><b><i>What images are available for GitHub Actions and Azure DevOps?</b></i></summary>
The availability of images for GitHub Actions and Azure DevOps is the same. However, deprecation policies may differ. See documentation for more details:
- [GitHub Actions](https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)
- [Azure DevOps](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software)
</details>
<details>
<summary><b><i>What image version is used in my build?</b></i></summary>
Usually, image deployment takes 2-3 days, and documentation in the `main` branch is only updated when deployment is finished. To find out which image version and what software versions are used in a specific build, see `Set up job` (GitHub Actions) or `Initialize job` (Azure DevOps) step log.
<img width="1440" alt="actions-runner-image" src="https://github.com/actions/runner-images/assets/88318005/922a8bf5-3e4d-4265-9527-b3b51e6bf9c8">
</details>
<details>
<summary><b><i>Looking for other Linux distributions?</b></i></summary>
We do not plan to offer other Linux distributions. We recommend using Docker if you'd like to build using other distributions with the hosted runner images. Alternatively, you can leverage [self-hosted runners] and fully customize your VM image to your needs.
</details>
<details>
<summary><b><i>How do I contribute to the macOS source?</b></i></summary>
macOS source lives in this repository and is available for everyone. However, macOS image-generation CI doesn't support external contributions yet so we are not able to accept pull-requests for now.
We are in the process of preparing macOS CI to accept contributions. Until then, we appreciate your patience and ask you to continue to make tool requests by filing issues.
</details>
<details>
<summary><b><i>How does GitHub determine what tools are installed on the images?</b></i></summary>
For some tools, we always install the latest at the time of the deployment; for others, we pin the tool to specific version(s). For more details please see the [Preinstallation Policy](#preinstallation-policy)
</details>
<details>
<summary><b><i>How do I request that a new tool be pre-installed on the image?</b></i></summary>
Please create an issue and get an approval from us to add this tool to the image before creating the pull request.
</details>
<details>
<summary><b><i>What branch should I use to build custom image?</b></i></summary>
We strongly encourage customers to build their own images using the main branch.
This repository contains multiple branches and releases that serve as document milestones to reflect what software is installed in the images at certain point of time. Current builds are not idempotent and if one tries to build a runner image using the specific tag it is not guaranteed that the build will succeed.
</details>
+294
View File
@@ -0,0 +1,294 @@
#!/usr/bin/env bash
################################################################################
## File: diff-image-versions.sh
## Desc: Compare software versions between two runner image releases
## Usage: ./diff-image-versions.sh <os-name> <version1> <version2>
##
## Example:
## ./diff-image-versions.sh ubuntu22 20251102.127 20251125.163
## ./diff-image-versions.sh win25 20251102.77 20251125.122
## ./diff-image-versions.sh macos-14 20251102.0024 20251125.0031
################################################################################
set -euo pipefail
usage() {
cat <<EOF
Usage: $(basename "${0}") <os-name> <version1> <version2>
Compare runner image versions and display software changes.
Arguments:
os-name OS identifier (ubuntu22, ubuntu24, win19, win22, win25,
macos-13, macos-14, macos-15, or arm64 variants)
version1 Earlier version (YYYYMMDD.NNN)
version2 Later version (YYYYMMDD.NNN)
Examples:
$(basename "${0}") ubuntu22 20251102.127 20251125.163
$(basename "${0}") win25 20251102.77 20251125.122
EOF
}
get_readme_path() {
local os_name="${1}"
local os_folder=""
local pattern=""
# Determine OS folder and readme filename pattern
case "${os_name}" in
ubuntu*)
os_folder="ubuntu"
local version="${os_name#ubuntu}"
pattern="Ubuntu${version}04-Readme.md"
;;
win*)
os_folder="windows"
local version="${os_name#win}"
pattern="Windows20${version}-Readme.md"
;;
macos*)
os_folder="macos"
pattern="${os_name}-Readme.md"
;;
*)
echo "Error: Unknown OS '${os_name}'" >&2
echo "Valid: ubuntu*, win*, macos-*" >&2
return 1
;;
esac
local readme_path="images/${os_folder}/${pattern}"
# Verify file exists in git repository
if ! git cat-file -e "HEAD:${readme_path}" 2>/dev/null; then
echo "Error: Readme not found: ${readme_path}" >&2
return 1
fi
echo "${readme_path}"
}
validate_version() {
local version="${1}"
if [[ ! "${version}" =~ ^[0-9]{8}\.[0-9]+$ ]]; then
echo "Error: Invalid version '${version}'" >&2
echo "Format: YYYYMMDD.NNN (e.g., 20251102.127)" >&2
return 1
fi
return 0
}
tag_exists() {
local tag="${1}"
if git rev-parse "${tag}" >/dev/null 2>&1; then
return 0
else
echo "Error: Tag '${tag}' not found" >&2
return 1
fi
}
main() {
# Check arguments
if [[ $# -ne 3 ]]; then
usage
return 1
fi
local os_name="${1}"
local version1="${2}"
local version2="${3}"
# Validate inputs
validate_version "${version1}" || return 1
validate_version "${version2}" || return 1
# Get readme path
local readme_path
readme_path="$(get_readme_path "${os_name}")" || return 1
# Construct git tags
local tag1="${os_name}/${version1}"
local tag2="${os_name}/${version2}"
# Verify tags exist
tag_exists "${tag1}" || return 1
tag_exists "${tag2}" || return 1
# Get release dates
local date1
local date2
date1=$(git log -1 --format="%ci" "${tag1}" | cut -d' ' -f1)
date2=$(git log -1 --format="%ci" "${tag2}" | cut -d' ' -f1)
# Calculate days between releases
local days_diff
days_diff=$(( ($(date -d "${date2}" +%s) - $(date -d "${date1}" +%s)) / 86400 ))
# Display header
echo "================================================================================"
echo "Comparing: ${os_name}"
echo " From: ${version1} (${date1})"
echo " To: ${version2} (${date2})"
echo " Span: ${days_diff} days"
echo "================================================================================"
echo ""
# Perform diff with minimal context (only changed lines with colors)
# ANSI codes: ^[[31m (red for -), ^[[32m (green for +), ^[[36m (cyan for @@)
# Filter to show only lines starting with red/green (additions/deletions)
local diff_output
diff_output=$(git diff --color=always --unified=0 "${tag1}:${readme_path}" "${tag2}:${readme_path}" | \
grep -E $'^\x1b\\[(31|32)m' | \
grep -v -E $'^\x1b\\[1m(---|\\+\\+\\+)')
if [[ -n "${diff_output}" ]]; then
# Extract announcements from both versions
local announcements1
local announcements2
announcements1=$(git show "${tag1}:${readme_path}" | sed -n '/| Announcements |/,/^\*\*\*$/p' | grep -E '^\| \[' | sed 's/^| \[/• [/' | sed 's/ |$//' || true)
announcements2=$(git show "${tag2}:${readme_path}" | sed -n '/| Announcements |/,/^\*\*\*$/p' | grep -E '^\| \[' | sed 's/^| \[/• [/' | sed 's/ |$//' || true)
# Show announcement changes
if [[ "${announcements1}" != "${announcements2}" ]]; then
echo "📢 Announcement Changes:"
echo "────────────────────────────────────────────────────────────────────────────────"
if [[ -n "${announcements2}" ]]; then
echo "${announcements2}"
else
echo "(no announcements)"
fi
echo "────────────────────────────────────────────────────────────────────────────────"
echo ""
fi
# Extract cached tools sections
local cached_tools1
local cached_tools2
cached_tools1=$(git show "${tag1}:${readme_path}" | sed -n '/^### Cached Tools$/,/^###[^#]/p' | head -n -1 || true)
cached_tools2=$(git show "${tag2}:${readme_path}" | sed -n '/^### Cached Tools$/,/^###[^#]/p' | head -n -1 || true)
# Show cached tools changes
if [[ "${cached_tools1}" != "${cached_tools2}" ]]; then
local cached_diff
cached_diff=$(git diff --color=always --unified=2 --no-index \
<(echo "${cached_tools1}") <(echo "${cached_tools2}") 2>/dev/null | \
grep -E $'(^\x1b\\[(31|32)m[-+]| #### )' | \
sed -r 's/\x1b\[m$//' || true)
if [[ -n "${cached_diff}" ]]; then
echo "🔧 Cached Tools Changes (setup-* actions):"
echo "────────────────────────────────────────────────────────────────────────────────"
echo "${cached_diff}"
echo "────────────────────────────────────────────────────────────────────────────────"
echo ""
fi
fi
echo "Full Diff:"
echo "────────────────────────────────────────────────────────────────────────────────"
echo "${diff_output}"
echo "────────────────────────────────────────────────────────────────────────────────"
echo ""
# Count changes
local changes
changes=$(echo "${diff_output}" | wc -l)
echo "Changes: ${changes} lines"
# Parse version changes for breaking change analysis
local breaking_changes=()
local removals=()
local additions=()
# Extract clean lines (strip ANSI codes)
while IFS= read -r line; do
if [[ "${line}" =~ ^\-(.+)$ ]]; then
removals+=("${BASH_REMATCH[1]}")
elif [[ "${line}" =~ ^\+(.+)$ ]]; then
additions+=("${BASH_REMATCH[1]}")
fi
done < <(echo "${diff_output}" | sed -r 's/\x1b\[[0-9;]*m//g')
# Detect breaking changes
for removed in "${removals[@]}"; do
local tool_name=""
local old_version=""
local found_match=false
# Try to extract tool name and version (handle various formats)
if [[ "${removed}" =~ ^([^0-9]+[[:space:]]+)([0-9]+\.[0-9]+[^[:space:]]*) ]]; then
tool_name="${BASH_REMATCH[1]}"
old_version="${BASH_REMATCH[2]}"
elif [[ "${removed}" =~ ^([^0-9]+[[:space:]]+v)([0-9]+\.[0-9]+[^[:space:]]*) ]]; then
tool_name="${BASH_REMATCH[1]}"
old_version="${BASH_REMATCH[2]}"
fi
# If we found a semver-style version, look for matching addition
if [[ -n "${tool_name}" && -n "${old_version}" ]]; then
for added in "${additions[@]}"; do
if [[ "${added}" =~ ^${tool_name}([0-9]+\.[0-9]+[^[:space:]]*) ]]; then
local new_version="${BASH_REMATCH[1]}"
found_match=true
# Extract major version for semver comparison
if [[ "${old_version}" =~ ^([0-9]+)\. && "${new_version}" =~ ^([0-9]+)\. ]]; then
local old_major="${BASH_REMATCH[1]}"
local new_major="${BASH_REMATCH[1]}"
[[ "${old_version}" =~ ^([0-9]+)\. ]] && old_major="${BASH_REMATCH[1]}"
[[ "${new_version}" =~ ^([0-9]+)\. ]] && new_major="${BASH_REMATCH[1]}"
if [[ ${new_major} -gt ${old_major} ]]; then
breaking_changes+=("🔴 ${tool_name}${old_version}${new_version} (major version bump)")
fi
fi
break
fi
done
fi
# If no match found and looks like a versioned tool, it's a removal
if [[ ${found_match} == false && -n "${old_version}" ]]; then
breaking_changes+=("${removed} (removed)")
elif [[ ${found_match} == false && "${removed}" =~ [0-9]+\.[0-9]+ ]]; then
breaking_changes+=("${removed} (removed)")
fi
done
# Display breaking changes
if [[ ${#breaking_changes[@]} -gt 0 ]]; then
echo ""
echo "⚠️ Breaking changes detected (${#breaking_changes[@]}):"
echo "--------------------------------------------------------------------------------"
printf '%s\n' "${breaking_changes[@]}"
echo "--------------------------------------------------------------------------------"
fi
else
echo "No changes found."
fi
# Display PR link and commit count
local pr_number
pr_number=$(git log --all --format="%s" --grep="${version2}" | \
grep -oP '\(#\K[0-9]+(?=\))' | head -1)
local commit_count
commit_count=$(git rev-list --count "${tag1}..${tag2}")
echo "Commits: ${commit_count}"
if [[ -n "${pr_number}" ]]; then
echo "PR: https://github.com/actions/runner-images/pull/${pr_number}"
fi
return 0
}
# Execute main function
main "$@"
+268 -128
View File
@@ -1,177 +1,317 @@
# Virtual-Environments
The virtual-environments project uses [Packer](https://www.packer.io/) to generate disk images for the following platforms: Windows 2016/2019/2022, Ubuntu 18.04/20.04.
Each image is configured through a JSON template that Packer understands and which specifies where to build the image (Azure in this case), and what scripts to run to install software and prepare the disk.
The Packer process initializes a connection to Azure subscription via Azure CLI, and automatically creates the temporary Azure resources required to build the source VM(temporary resource group, network interfaces, and VM from the "clean" image specified in the template).
If the VM deployment succeeds, the build agent connects to the VM and starts to execute installation steps from the JSON template.
If any step in the JSON template fails, image generation will be aborted and the temporary VM will be terminated. Packer will also attempt to cleanup all the temporary resources it created (unless otherwise told).
After successful image generation, a snapshot of the temporary VM will be converted to VHD image and then uploaded to the specified Azure Storage Account.
# GitHub Actions Runner Images
## Prerequisites and Image-generation
### Build Agent requirements
- `OS` - Windows/Linux
- `packer` - Can be downloaded from https://www.packer.io/downloads
- `PowerShell 5.0 or higher` or `PSCore` for linux distributes.
- `Azure CLI ` - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
- `Azure Az Powershell module` - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps
- `Git for Windows` - https://gitforwindows.org/
The runner-images project uses [Packer](https://www.packer.io/) to generate disk images for Windows 2019/2022 and Ubuntu 22.04/24.04.
> To connect to a temporary VM packer uses WinRM or SSH connections on public IP interfaces.
If you use a build agent located in an Azure subscription, please make sure that HTTPS/SSH ports are allowed for incoming/outgoing connections.
In case of firewall restrictions, prohibiting connections from public addresses, private virtual network resources can be deployed and passed as arguments to the packer. This approach allows virtual machines to use private connections inside VLAN.
Each image is configured by a HCL2 Packer template that specifies where to build the image (Azure, in this case),
and what steps to run to install software and prepare the disk.
### Service principal
Packer uses Service Principal to authorize in Azure infrastructure. To setup image-generation CI or use packer manually — SP with full read-write permissions for selected Azure subscription needed.
Detailed instruction can be found in [Azure documentation](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal)
The Packer process initializes a connection to the Azure subscription using Azure CLI and creates temporary resources
required for the build process: a resource group, network interfaces and a virtual machine from the "clean" image specified in the template.
### Prepare environment and image deployment
#### How to prepare Windows build agent
Local machine or [Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli) can be used as a build agent.
If the VM deployment succeeds, Packer connects to it using SSH or WinRM and begins executing installation steps from the template one-by-one.
If any step fails, image generation is aborted, and the temporary VM is terminated.
Packer also attempts to clean up all the temporary resources it created (unless otherwise configured).
Download `packer` from https://www.packer.io/downloads, or install it via Chocolately.
```
choco install packer
After successful completion of all installation steps, Packer creates a managed image from the temporary VM's disk and deletes the VM.
- [Build Agent Preparation](#build-agent-preparation)
- [Manual image generation](#manual-image-generation)
- [Manual Image Generation Customization](#manual-image-generation-customization)
- [Network Security](#network-security)
- [Azure Subscription Authentication](#azure-subscription-authentication)
- [Generated Machine Deployment](#generated-machine-deployment)
- [Automated image generation](#automated-image-generation)
- [Required variables](#required-variables)
- [Optional variables](#optional-variables)
- [Builder variables](#builder-variables)
- [Toolset](#toolset)
- [Post-generation scripts](#post-generation-scripts)
- [Running scripts](#running-scripts)
- [Script Details: Ubuntu](#script-details-ubuntu)
- [Script Details: Windows](#script-details-windows)
## Build Agent Preparation
The build agent is a machine where the Packer process will be started.
You can use any physical or virtual machine running Windows or Linux OS.
Of course, you may also use an [Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli).
In any case, you will need these software installed:
- Packer 1.8.2 or higher.
Download and install it manually from [here](https://www.packer.io/downloads) or use [Chocolatey](https://chocolatey.org/):
```powershell
choco install packer
```
- Git.
For Linux - install the latest version from your distro's package repo.
For Windows - download and install it from [here](https://gitforwindows.org/) or use [Chocolatey](https://chocolatey.org/):
```powershell
choco install git -params '"/GitAndUnixToolsOnPath"'
```
- Powershell 5.0 or higher.
In Windows you already have it.
For Linux follow instructions [here](https://learn.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software)
to add Microsoft's Linux Software Repository and then install the `powershell` package.
- Azure CLI.
Follow the instructions [here](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli).
Or if you use Windows, you may run this command in Powershell instead:
```powershell
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi
Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
```
## Manual image generation
This repository includes a script that assists in generating images in Azure.
All you need is an Azure subscription, a resource group in that subscription and a build agent configured as described above.
All the commands below should be executed in PowerShell.
First, clone the runner-images repository and set the current directory to it:
```powershell
git clone https://github.com/actions/runner-images.git
Set-Location runner-images
```
Install the Azure Az PowerShell module - https://docs.microsoft.com/en-us/powershell/azure/install-az-ps.
```
Install-Module -Name Az -Repository PSGallery -Force
```
Install Azure CLI - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-cli.
```
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
```
Download Virtual-Environments repository.
```
Set-Location c:\
git clone https://github.com/actions/virtual-environments.git
```
Import [GenerateResourcesAndImage](../helpers/GenerateResourcesAndImage.ps1) script from `/helpers` folder, and run `GenerateResourcesAndImage` function via Powershell.
```
Set-Location C:\virtual-environments
Then, import the [GenerateResourcesAndImage](../helpers/GenerateResourcesAndImage.ps1) script from the `helpers` subdirectory:
```powershell
Import-Module .\helpers\GenerateResourcesAndImage.ps1
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "myTestResourceGroup" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu1804 -AzureLocation "East US"
```
Where:
- `SubscriptionId` - The Azure subscription Id where resources will be created.
- `ResourceGroupName` - The Azure resource group name where the Azure resources will be created.
- `ImageGenerationRepositoryRoot` - The root path of the image generation repository source.
- `ImageType` - The type of the image being generated. Valid options are: "Windows2016", "Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004".
- `AzureLocation` - The location of the resources being created in Azure. For example "East US".
The function automatically creates all required Azure resources and kicks off packer image generation for the selected image type.
For optional authentication via service principal make sure to provide the following params — `AzureClientId`, `AzureClientSecret`, `AzureTenantId`, so the whole command will be:
```
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "myTestResourceGroup" -ImageGenerationRepositoryRoot "$pwd" -ImageType Ubuntu1804 -AzureLocation "East US" -AzureClientId {AADApplicationID} -AzureClientSecret {AADApplicationSecret} -AzureTenantId {AADTenantID}
```
*Please, check synopsis of `GenerateResourcesAndImage` for details about non-mandatory parameters.*
Finally, run the `GenerateResourcesAndImage` function, setting the mandatory arguments: image type and where to build and store the resulting managed image:
#### Generated VM Deployment
After the successful image generation, Virtual Machine can be created from the generated VHD using [CreateAzureVMFromPackerTemplate](../helpers/CreateAzureVMFromPackerTemplate.ps1) script.
- `SubscriptionId` - your Azure Subscription ID;
- `ResourceGroupName` - the name of the resource group that will store the resulting artifact (e.g., "imagegen-test").
The resource group must already exist in your Azure subscription;
- `AzureLocation` - the location where resources will be created (e.g., "East US");
- `ImageType` - the type of image to build (valid options are "Windows2019", "Windows2022", "Windows2025", "Ubuntu2204", "Ubuntu2404").
This function automatically creates all required Azure resources and initiates the Packer image generation for the selected image type.
When the image is ready, you may proceed to [deployment](#generated-machine-deployment).
## Manual Image Generation Customization
The `GenerateResourcesAndImage` function accepts a number of arguments that may assist you in generating an image in your specific environment.
For example, you may want all the resources involved in the image generation process to be tagged.
In this case, pass a HashTable of tags as a value for the `Tags` parameter.
If you don't want the function to authenticate interactively, you should create a Service Principal and invoke the function with the parameters `AzureClientId`, `AzureClientSecret` and `AzureTenantId`.
You can find more details in the [corresponding section below](#azure-subscription-authentication).
Use `get-help GenerateResourcesAndImage -Detailed` for the complete list of available parameters.
### Network Security
To connect to a temporary virtual machine, Packer uses WinRM or SSH.
If your build agent is located outside of the Azure subscription where the temporary VM is created, a public network interface and public IP address are used.
Make sure that firewalls are configured properly and that WinRM (TCP port 5986) and SSH (TCP port 22) connections are allowed both outgoing for the build agent and incoming for the temporary VM.
Also, if you don't want the temporary VM to be accessible from everywhere, set the `RestrictToAgentIpAddress` parameter value to `$true`
to set up firewall rules allowing access only from your build agent's public IP address.
If your build agent and temporary VM are in the same subscription, you can configure Packer to connect using a private virtual network.
To achieve this, set proper values for the environment variables `VNET_RESOURCE_GROUP`, `VNET_NAME` and `VNET_SUBNET`.
### Azure Subscription Authentication
Packer uses a Service Principal to authenticate in Azure infrastructure.
For more information about Service Principals, refer to the
[Azure documentation](https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal).
The `GenerateResourcesAndImage` function is able to create a Service Principal to be used by Packer.
It uses the Connect-AzAccount cmdlet that invokes an interactive authentication process by default.
If you don't want to use interactive authentication, you should create a Service Principal with full read-write permissions for the selected Azure subscription on your own
and provide proper values for the parameters `AzureClientId`, `AzureClientSecret` and `AzureTenantId`.
Here is an example of how to create a Service Principal using the Az PowerShell module:
```powershell
$credentials = [Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordCredential]@{
StartDateTime = Get-Date
EndDateTime = (Get-Date).AddDays(7)
}
$sp = New-AzADServicePrincipal -DisplayName "imagegen-app"
$appCred = New-AzADAppCredential -ApplicationId $sp.AppId -PasswordCredentials $credentials
Start-Sleep -Seconds 30
New-AzRoleAssignment -RoleDefinitionName "Contributor" -PrincipalId $sp.Id
Start-Sleep -Seconds 30
@{
ClientId = $sp.AppId
ClientSecret = $appCred.SecretText
TenantId = (Get-AzSubscription -SubscriptionId $SubscriptionId).TenantId
}
```
Set-Location C:\virtual-environments
## Generated Machine Deployment
After successful image generation, a Virtual Machine can be created from the generated image using the [CreateAzureVMFromPackerTemplate](../helpers/CreateAzureVMFromPackerTemplate.ps1) script.
```powershell
Import-Module .\helpers\CreateAzureVMFromPackerTemplate.ps1
CreateAzureVMFromPackerTemplate -SubscriptionId {YourSubscriptionId} -ResourceGroupName {ResourceGroupName} -TemplateFile "C:\BuildVmImages\temporaryTemplate.json" -VirtualMachineName "testvm1" -AdminUsername "shady1" -AdminPassword "SomeSecurePassword1" -AzureLocation "eastus"
CreateAzureVMFromPackerTemplate -SubscriptionId {YourSubscriptionId} -ResourceGroupName {ResourceGroupName} -ManagedImageName "Runner-Image-Ubuntu2204" -VirtualMachineName "testvm1" -AdminUsername "shady1" -AdminPassword "SomeSecurePassword1" -AzureLocation "eastus"
```
Where:
- `SubscriptionId` - The Azure subscription Id where resources will be created.
- `ResourceGroupName` - The Azure resource group name where the Azure virtual machine will be created.
- `TemplateFilePath` - The path to the json ARM-template generated by packer during image generation locally.*
- `VirtualMachineName` - The name of the virtual machine to be generated.
- `AdminUserName` - The administrator username for the virtual machine to be created.
- `AdminPassword` - The administrator password for the virtual machine to be created.
- `AzureLocation` - The location where the Azure virtual machine will be provisioned. Example: "eastus"
\* *ARM-template can be obtained from the Packer output. For now, it seems like there is an [Az CLI bug](https://github.com/Azure/azure-cli/issues/5899) with specifying the template through a URI, so download the template from URI, that will be printed at the bottom of image-generation log, and use the local path of the template file.*
- `SubscriptionId` - the Azure subscription ID where resources will be created;
- `ResourceGroupName` - the Azure resource group name where the Azure virtual machine will be created;
- `ManagedImageName` - the name of the managed image to be used for the virtual machine creation;
- `VirtualMachineName` - the name of the virtual machine to be generated;
- `AdminUserName` - the administrator username for the virtual machine to be created;
- `AdminPassword` - the administrator password for the virtual machine to be created;
- `AzureLocation` - the location where the Azure virtual machine will be provisioned (e.g., "eastus").
The function creates an Azure VM from a template and generates network resources in Azure to make the VM accessible.
This function creates an Azure VM and generates network resources in Azure to make the VM accessible.
## Additional
### User variables
The Packer template includes `variables` section containing user variables used in image generation. Each variable is defined as a key/value strings. User variables can be passed to packer via predefined environment variables, or as direct arguments, in case if packer started manually.
## Automated image generation
- `build_resource_group_name` - Specify an existing resource group to run the build in it. By default, a temporary resource group will be created and destroyed as part of the build. If you do not have permission to do so, use build_resource_group_name to specify an existing resource group to run the build in it.
- `client_id` - The application ID of the AAD Service Principal. Requires `client_secret`.
- `object_id` - The object ID for the AAD SP. Will be derived from the oAuth token if empty.
- `client_secret` - A password/secret registered for the AAD SP.
- `subscription_id` - The subscription to use.
- `tenant_id` - The Active Directory tenant identifier with which your `client_id` and `subscription_id` are associated. If not specified, `tenant_id` will be looked up using `subscription_id`.
- `resource_group` - Resource group under which the final artifact will be stored.
- `storage_account` - Storage account under which the final artifact will be stored.
- `location` - Azure datacenter in which your VM will be built.
- `temp_resource_group_name` - Name assigned to the temporary resource group created during the build. If this value is not set, a random value will be assigned. This resource group is deleted at the end of the build.
- `private_virtual_network_with_public_ip` - This value allows you to set a `virtual_network_name` and obtain a public IP. If this value is not set and `virtual_network_name` is defined Packer is only allowed to be executed from a host on the same subnet / virtual network.
- `virtual_network_name` - Use a pre-existing virtual network for the VM. This option enables private communication with the VM, no public IP address is used or provisioned (unless you set `private_virtual_network_with_public_ip`).
- `virtual_network_resource_group_name` - If `virtual_network_name` is set, this value may also be set. If `virtual_network_name` is set, and this value is not set the builder attempts to determine the resource group containing the virtual network. If the resource group cannot be found, or it cannot be disambiguated, this value should be set.
- `virtual_network_subnet_name` - If `virtual_network_name` is set, this value may also be set. If `virtual_network_name` is set, and this value is not set the builder attempts to determine the subnet to use with the virtual network. If the subnet cannot be found, or it cannot be disambiguated, this value should be set.
- `capture_name_prefix` - VHD prefix. The final artifacts will be named PREFIX-osDisk.UUID and PREFIX-vmTemplate.UUID.
If you want to generate images automatically (e.g., as a part of a CI/CD pipeline),
you can use Packer directly. To do this, you will need:
- a build agent configured as described in the
[Build agent preparation](#build-agent-preparation) section;
- an Azure subscription and Service Principal configured as described in the
[Azure subscription authentication](#azure-subscription-authentication) section;
- a resource group created in your Azure subscription where the managed image will be stored;
- a string to be used as a password for the user used to install software (Windows only).
Then, you can invoke Packer in your CI/CD pipeline using the following commands:
```powershell
packer plugins install github.com/hashicorp/azure 2.2.1
packer build -only "$BuildName*" `
-var "subscription_id=$SubscriptionId" `
-var "client_id=$ClientId" `
-var "client_secret=$ClientSecret" `
-var "install_password=$InstallPassword" `
-var "location=$Location" `
-var "image_os=$ImageOS" `
-var "managed_image_name=$ImageName" `
-var "managed_image_resource_group_name=$ImageResourceGroupName" `
-var "tenant_id=$TenantId" `
$TemplatePath
```
Where:
- `BuildName` - name of the build defined in Packer template's `build{}` block (e.g. "ubuntu-24_04", "windows-2025");
- `SubscriptionId` - your Azure Subscription ID;
- `ClientId` and `ClientSecret` - Service Principal credentials;
- `TenantId` - Azure Tenant ID;
- `InstallPassword` - password for the user used to install software (Windows only);
- `Location` - location where resources will be created (e.g., "East US");
- `ImageOS` - the type of OS that will be deployed as a temporary VM (e.g. "ubuntu24", "win25");
- `ImageName` and `ImageResourceGroupName` - name of the resource group where the managed image will be stored;
- `TemplatePath` - path to the folder with Packer template files (e.g., "images/windows/templates").
### Required variables
The following variables are required to be passed to the Packer process:
| Template var | Env var | Description
| ------------ | ------- | -----------
| `subscription_id` | `ARM_SUBSCRIPTION_ID` | The subscription under which the build will be performed.
| `client_id` | `ARM_CLIENT_ID` | The Active Directory service principal associated with your builder.
| `client_secret` | `ARM_CLIENT_SECRET` | The password or secret for your service principal; may be omitted if `client_cert_path` is set.
| `client_cert_path` | `ARM_CLIENT_CERT_PATH` | The location of a PEM file containing a certificate and private key for the service principal; may be omitted if `client_secret` is set.
| `location` | `ARM_RESOURCE_LOCATION` | The Azure datacenter in which your VM will be built.
| `managed_image_resource_group_name` | `ARM_RESOURCE_GROUP` | The resource group under which the final artifact will be stored.
### Optional variables
The following variables are optional:
- `managed_image_name` - the name of the managed image to create. If not specified, "Runner-Image-{{ImageType}}" will be used;
- `build_resource_group_name` - specify an existing resource group to run the build in; by default, a temporary resource group will be created and destroyed as part of the build; if you do not have permission to do so, use `build_resource_group_name` to specify an existing resource group to run the build in;
- `object_id` - the object ID for the AAD SP; will be derived from the oAuth token if empty;
- `tenant_id` - the Active Directory tenant identifier with which your `client_id` and `subscription_id` are associated; if not specified, `tenant_id` will be looked up using `subscription_id`;
- `temp_resource_group_name` - the name assigned to the temporary resource group created during the build; if this value is not set, a random value will be assigned; this resource group is deleted at the end of the build;
- `private_virtual_network_with_public_ip` - this value allows you to set a `virtual_network_name` and obtain a public IP; if this value is not set and `virtual_network_name` is defined, Packer is only allowed to be executed from a host on the same subnet / virtual network;
- `virtual_network_name` - use a pre-existing virtual network for the VM; this option enables private communication with the VM, no public IP address is used or provisioned (unless you set `private_virtual_network_with_public_ip`);
- `virtual_network_resource_group_name` - if `virtual_network_name` is set, this value may also be set; if `virtual_network_name` is set, and this value is not set, the builder attempts to determine the resource group containing the virtual network; if the resource group cannot be found, or it cannot be disambiguated, this value should be set;
- `virtual_network_subnet_name` - if `virtual_network_name` is set, this value may also be set; if `virtual_network_name` is set, and this value is not set, the builder attempts to determine the subnet to use with the virtual network; if the subnet cannot be found, or it cannot be disambiguated, this value should be set.
## Builder variables
### Builder variables
The `builders` section contains variables for the `azure-arm` builder used in the project. Most of the builder variables are inherited from the `user variables` section, however, the variables can be overwritten to adjust image-generation performance.
- `vm_size` - Size of the VM used for building. This can be changed when you deploy a VM from your VHD.
- `image_os` - Type of OS that will be deployed as a temporary VM.
- `image_version` - Specify version of an OS to boot from.
- `vm_size` - the size of the VM used for building; this can be changed when you deploy a VM from your image;
- `image_os` - the type of OS that will be deployed as a temporary VM;
- `image_version` - specify the version of an OS to boot from.
**Detailed Azure builders documentation can be found in [packer documentation](https://www.packer.io/docs/builders/azure).**
**Detailed Azure builders documentation can be found in the [packer documentation](https://www.packer.io/docs/builders/azure).**
### Toolset
Configuration for some installed software is located in `toolset.json` files. These files define the list of Ruby, Python, Go versions, the list of PowerShell modules and VS components that will be installed to image. They can be changed if these tools are not required to reduce image generation time or image size.
## Toolset
The configuration for some installed software is located in `toolset.json` files. These files define the list of Ruby, Python, Go versions, the list of PowerShell modules and VS components that will be installed on the image. They can be changed if these tools are not required, to reduce image generation time or image size.
Generated tool versions and details can be found in related projects:
- [Python](https://github.com/actions/python-versions/)
- [Go](https://github.com/actions/go-versions)
- [Node](https://github.com/actions/node-versions)
### Post-generation scripts
## Post-generation scripts
> :warning: These scripts are intended to run on a VM deployed in Azure
> :warning: These scripts are intended to be run on a VM deployed in Azure
The user, created during the image generation, does not exist in the result VHD hence some configuration files related to the user's home directory need to be changed as well as the file permissions for some directories. Scripts for that are located in the `post-generation` folder in the repository:
- Windows: https://github.com/actions/virtual-environments/tree/main/images/win/post-generation
- Linux: https://github.com/actions/virtual-environments/tree/main/images/linux/post-generation
The user, created during the image generation, does not exist in the resulting image. Hence, some configuration files related to the user's home directory need to be changed, as well as the file permissions for some directories. Scripts for that are located in the `post-gen` folder in the repository:
- Windows: <https://github.com/actions/runner-images/tree/main/images/windows/assets/post-gen>
- Linux: <https://github.com/actions/runner-images/tree/main/images/ubuntu/assets/post-gen>
**Note:** The default user for Linux should have `sudo privileges`.
The scripts are copied to the VHD during the image generation process to the following paths:
The scripts are copied to the image during the generation process to the following paths:
- Windows: `C:\post-generation`
- Linux: `/opt/post-generation`
- Linux: `/opt/post-generation`
#### Running scripts
### Running scripts
##### Ubuntu
- Ubuntu
sudo su -c "find /opt/post-generation -mindepth 1 -maxdepth 1 -type f -name '*.sh' -exec bash {} \;"
```bash
sudo su -c "find /opt/post-generation -mindepth 1 -maxdepth 1 -type f -name '*.sh' -exec bash {} \;"
```
##### Windows
- Windows
Get-ChildItem C:\post-generation -Filter *.ps1 | ForEach-Object { & $_.FullName }
```powershell
Get-ChildItem C:\post-generation -Filter *.ps1 | ForEach-Object { & $_.FullName }
```
#### Script details
### Script Details: Ubuntu
##### Ubuntu
- **cleanup-logs.sh** - removes all build process logs from the machine;
- **environment-variables.sh** - replaces `$HOME` with the default user's home directory for environment variables related to the default user home directory;
- **homebrew-permissions.sh** - resets the Homebrew repository directory by running `git reset --hard` to make the working tree clean after changing permissions in /home and changes the repository directory owner to the current user;
- **rust-permissions.sh** - fixes permissions for the Rust folder; a detailed issue explanation is provided in [runner-images/issues/572](https://github.com/actions/runner-images/issues/572).
- **cleanup-logs.sh** - removes all build process logs from the machine
- **environment-variables.sh** - replaces `$HOME` with the default user's home directory for environmental variables related to the default user home directory
- **homebrew-permissions.sh** - Resets homebrew repository directory by running `git reset --hard` to make the working tree clean after chmoding /home and changes the repository directory owner to the current user
- **rust-permissions.sh** - fixes permissions for the Rust folder. Detailed issue explanation is provided in [virtual-environments/issues/572](https://github.com/actions/virtual-environments/issues/572).
### Script Details: Windows
##### Windows
- **Choco.ps1** - contains dummy command to cleanup orphaned packages to avoid initial delay for future choco commands
- **Dotnet.ps1** - adds `$env:USERPROFILE\.dotnet\tools` directory to the PATH
- **InternetExplorerConfiguration** - turns off the Internet Explorer Enhanced Security feature
- **Msys2FirstLaunch.ps1** - initializes bash user profile in MSYS2
- **RustJunction.ps1** - creates Rust junction points to cargo and rustup folders
- **VSConfiguration.ps1** - performs initial Visual Studio configuration
- **GenerateIISExpressCertificate.ps1** - generates and imports a certificate to run applications with IIS Express through HTTPS;
- **InternetExplorerConfiguration.ps1** - turns off the Internet Explorer Enhanced Security feature;
- **Msys2FirstLaunch.ps1** - initializes the bash user profile in MSYS2;
- **VSConfiguration.ps1** - performs initial Visual Studio configuration.
-27
View File
@@ -1,27 +0,0 @@
# Debugging Failed Packer Builds
## Step 1: Run packer build `-on-error=ask`
When you run the `packer build` command, give it the `-on-error=ask` flag.
By default, `packer build` will delete the resource group as soon as the build fails.
`-on-error=ask` will pause it and wait for your input so you have time to remote in to the VM and diagnose the failure.
When the build fails, you will see this:
![Ask on error screenshot](/docs/resources/askOnError.png "Ask on error screenshot")
## Step 2: Find the resource group name in the build log
At the beginning of the build log (written to console), find the resource group name for the VM:
![Resource group from log screenshot](/docs/resources/resourceGroupName.png "Resource group from log screenshot")
Log into the Azure Portal. Find that resource group under `Resource groups`. You should see the resources for the Packer build:
![Packer resource group in Azure screenshot](/docs/resources/packerResourceGroup.png "Packer resource group in Azure screenshot")
## Step 3: Connect to the VM
Select the VM in the resource group. Click `Connect:`
This will download an RDP file. Open that and enter the credentials found in the JSON file you pass to `packer build`:
![VM credentials screenshot](/docs/resources/vmCredentials.png "VM credentials screenshot")
+34
View File
@@ -0,0 +1,34 @@
# Ubuntu .NET Core Versions
.NET has changed the recommended install methods for Ubuntu from 2404.
This document gives an overview of these change and the impact this has on the `runner-images`.
## .NET Core for Ubuntu 2004 and 2204
2004 and 2204 use the [Microsoft Package repository](https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-install?tabs=dotnet8&pivots=os-linux-ubuntu-2004) to install .NET deb files built and published by the .NET team.
## .NET Core Versions from Ubuntu 2404
The .NET Core team have worked with Canonical and Ubuntu now provides its own .NET packages.
These are the recommended install path and, as-such what is installed on the image.
> The release of Ubuntu 24.04 is just around the corner. Canonical-produced .NET 6, 7, and 8 packages will be available on day one, for "Noble Numbat". Microsoft will not be publishing .NET packages to the 24.04 feed at packages.microsoft.com.
You can read the [full announcement from .NET team here](https://github.com/dotnet/core/discussions/9258). We'll briefly summarize how this change may impact users of the image.
### [`Feature Bands`](https://learn.microsoft.com/dotnet/core/porting/versioning-sdk-msbuild-vs)
Going forward only the `1xx` feature band will be present in the image as Ubuntu only build and publish this band.
> Most distros, including Ubuntu, stick to the .1xx feature band for the lifetime of a major .NET version. They make this choice because .1xx is (effectively) the "compatibility band". Higher bands can have breaking changes.
> This means there will no longer be packages available for .2xx and later feature bands. Such packages have been exclusively available from Microsoft. If users see an incompatibility between .1xx and higher feature bands, we ask that you please report it in the dotnet/sdk repo. [link: dotnet/core discussion](https://github.com/dotnet/core/discussions/9258)
If you need a higher feature band for your Actions the recommendation is to use the [`setup-dotnet`](https://github.com/actions/setup-dotnet) action to install the desired version.
### .NET MAUI
.NET MAUI is [not included](https://github.com/dotnet/core/discussions/9258#discussioncomment-9548857) in the Ubuntu .NET package. There is work [ongoing to fix.](https://github.com/dotnet/core/discussions/9258#discussioncomment-9548857)
You should be able to resolve this by using the [`setup-dotnet`](https://github.com/actions/setup-dotnet) action to install the desired version.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

-38
View File
@@ -1,38 +0,0 @@
# Software and image guidelines
## Software preinstallation policy
In general, these are the guidelines we consider when deciding what to pre-install:
- Tools and ecosystems that are broadly popular and widely-used will be given priority.
- Recent versions of tools will be given priority over older versions.
- Tools and versions that are deprecated or have reached end-of-life will not be added.
- If a tool can be installed during the build, we will evaluate how much time is saved
and how much space is used by having the tool pre-installed.
- MIT, Apache, and GNU licenses are ok, anything else we'll have to check with lawyers.
- If a tool takes much space we will evaluate space usage and provide a decision if this tool can be pre-installed.
- If a tool requires the support of more than one version, we will consider the cost of this maintenance, how often new versions bring dangerous updates.
**Note:** For new tools, please, create an issue and get an approval from us to add this tool to the image before creating the pull request.
## Software and images support policy
These are the guidelines we follow in software and images supporting routine:
- Tools and versions will typically be removed 6 months after they are deprecated or have reached end-of-life.
- We support at least 2 latest OS versions. We begin the deprecation process of the oldest image label once a new OS version has been released.
- The images generally contain the latest versions of packages installed except for Ubuntu LTS where we rely on the Canonical-provided repositories mostly.
- Popular tools can have several versions installed side-by-side with the following strategy:
| Tool name | Installation strategy |
|-----------|-----------------------|
| Docker images | not more than 3 latest LTS OS\tool versions. New images or new versions of current images are added using the standard tool request process |
| Java | all LTS versions |
| Node.js | 3 latest LTS versions |
| Go | 3 latest minor versions |
| Python <br/> Ruby | 5 most popular `major.minor` versions |
| PyPy | 3 most popular `major.minor` versions |
| .NET Core | 2 latest LTS versions and 1 latest version. For each feature version only latest patch is installed |
| GCC <br/> GNU Fortran <br/> Clang <br/> GNU C++ | 3 latest major versions |
| Android NDK | 1 latest non-LTS, 2 latest LTS versions |
| Xcode | - all OS compatible versions side-by-side <br/> - for beta, GM versions - latest beta only <br/> - old patch versions are deprecated in 3 months |
## Software default versions update policy for tools with multiple versions installed
In general, once a new version is installed on the image, we announce the default version update 2 weeks prior to deploying it to give time to adapt to upcoming changes. For potentially dangerous updates, we can extend the timeline up to 1 month between the announcement and deployment.
+42
View File
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'
# A JSON schema validator which supports outputting line numbers for errors
# this allows us to put annotations on builds for errors in the JSON files
# `Test-Json` built in cmdline doesn't. No existing cli tool supports this
# that I could find either. See: https://github.com/lawrencegripper/gripdev-json-schema-validator
Install-Module -Name GripDevJsonSchemaValidator -Force -Scope CurrentUser
# Find all toolset JSON files
$toolsetFiles = Get-ChildItem -Recurse -Filter "toolset-*.json" | Where-Object { $_.Name -notlike "*schema.json" }
$schemaFilePath = "./schemas/toolset-schema.json"
$toolsetHasErrors = $false
foreach ($file in $toolsetFiles) {
Write-Host ""
Write-Host "🔍 Validating $($file.FullName)" -ForegroundColor Cyan
$validationResult = Test-JsonSchema -SchemaPath $schemaFilePath -JsonPath $file.FullName -PrettyPrint $false
if ($validationResult.Valid) {
Write-Host "✅ JSON is valid." -ForegroundColor Green
} else {
# File has been modified since the commit, enforce validation
$toolsetHasErrors = $true
Write-Host "`n❌ JSON validation failed!" -ForegroundColor Red
Write-Host " Found the following errors:`n" -ForegroundColor Yellow
$validationResult.Errors | ForEach-Object {
Write-Host $_.UserMessage
if ($env:GITHUB_ACTIONS -eq 'true') {
Write-Host "Adding annotation"
Write-Host "::error file=$($file.Name),line=$($_.LineNumber)::$($_.UserMessage.Replace("`n", '%0A'))"
}
}
}
}
if ($toolsetHasErrors) {
Write-Error "One or more toolset JSON files failed schema validation. See the error output above for more details."
} else {
Write-Host "Schema validation completed successfully"
}
+85
View File
@@ -0,0 +1,85 @@
$ErrorActionPreference = 'Stop'
# Find all toolset JSON files
$toolsetFiles = Get-ChildItem -Recurse -Filter "toolset-*.json" | Where-Object { $_.Name -notlike "*schema.json" }
$expiringPins = @()
$now = Get-Date
$warningDays = 30 # Warn if expiring within 30 days
foreach ($file in $toolsetFiles) {
Write-Host "Processing $($file.Name)"
$content = Get-Content $file.FullName | ConvertFrom-Json
# Recursively search for pinnedDetails in the JSON
function Search-PinnedDetails {
param($obj, $path)
$foundPins = @()
if ($obj -is [System.Management.Automation.PSCustomObject]) {
foreach ($prop in $obj.PSObject.Properties) {
if ($prop.Name -eq "pinnedDetails") {
Write-Host "Found pinned version at $path"
$reviewAt = [DateTime]::Parse($prop.Value.'review-at')
$daysUntilExpiry = ($reviewAt - $now).Days
if ($daysUntilExpiry -lt $warningDays) {
Write-Host "Adding to expiringPins array"
$foundPins += @{
Path = $path
File = $file.Name
ReviewAt = $reviewAt
DaysUntilExpiry = $daysUntilExpiry
Reason = $prop.Value.reason
Link = $prop.Value.link
}
}
} else {
$foundPins += Search-PinnedDetails -obj $prop.Value -path "$path.$($prop.Name)"
}
}
} elseif ($obj -is [Array]) {
for ($i = 0; $i -lt $obj.Count; $i++) {
$foundPins += Search-PinnedDetails -obj $obj[$i] -path "$path[$i]"
}
}
return $foundPins
}
$expiringPins += Search-PinnedDetails -obj $content -path $file.Name
}
if ($expiringPins) {
$issueBody = "# Version Pinning Review Required`n`n"
$issueBody += "The following pinned versions need review:`n`n"
foreach ($pin in $expiringPins) {
$status = if ($pin.DaysUntilExpiry -lt 0) { "EXPIRED" } else { "Expiring Soon" }
$issueBody += "## $($status) - $($pin.Path)`n"
$issueBody += "- **File**: $($pin.File)`n"
$issueBody += "- **Review Date**: $($pin.ReviewAt.ToString('yyyy-MM-dd'))`n"
$issueBody += "- **Days until expiry**: $($pin.DaysUntilExpiry)`n"
$issueBody += "- **Reason**: $($pin.Reason)`n"
$issueBody += "- **Original PR**: $($pin.Link)`n`n"
}
if ($env:GITHUB_ACTIONS -eq 'true') {
# In GitHub Actions, create an issue
Write-Host "Creating issue"
$tempFile = [System.IO.Path]::GetTempFileName()
Set-Content -Path $tempFile -Value $issueBody
gh issue create --title "Version Pinning Review Found Expired Pinned Versions" --body-file $tempFile
Remove-Item -Path $tempFile
}
Write-Host "`nIssue Content:`n"
Write-Host $issueBody
}
else {
Write-Host "No expiring pins found."
if ($env:GITHUB_ACTIONS -eq 'true') {
"expired_pins=0" >> $env:GITHUB_OUTPUT
}
}
+17 -8
View File
@@ -12,8 +12,8 @@ Function CreateAzureVMFromPackerTemplate {
.PARAMETER ResourceGroupName
The Azure resource group name where the Azure virtual machine will be created.
.PARAMETER TemplatFilePath
The path for the json template generated by packer during image generation locally.
.PARAMETER ManagedImageName
The name of the managed image to be used to create the virtual machine.
.PARAMETER VirtualMachineName
The name of the virtual machine to be generated.
@@ -28,7 +28,7 @@ Function CreateAzureVMFromPackerTemplate {
The location where the Azure virtual machine will be provisioned. Example: "eastus"
.EXAMPLE
CreateAzureVMFromPackerTemplate -SubscriptionId {YourSubscriptionId} -ResourceGroupName {ResourceGroupName} -TemplateFile "C:\BuildVmImages\temporaryTemplate.json" -VirtualMachineName "testvm1" -AdminUsername "shady1" -AdminPassword "SomeSecurePassword1" -AzureLocation "eastus"
CreateAzureVMFromPackerTemplate -SubscriptionId {SubscriptionId} -ResourceGroupName {ResourceGroupName} -VirtualMachineName "testvm1" -ManagedImageName {ManagedImageName} -AdminUsername "shady1" -AdminPassword "SomeSecurePassword1" -AzureLocation "eastus"
#>
param (
[Parameter(Mandatory = $True)]
@@ -36,7 +36,7 @@ Function CreateAzureVMFromPackerTemplate {
[Parameter(Mandatory = $True)]
[string] $ResourceGroupName,
[Parameter(Mandatory = $True)]
[string] $TemplateFilePath,
[string] $ManagedImageName,
[Parameter(Mandatory = $True)]
[string] $VirtualMachineName,
[Parameter(Mandatory = $True)]
@@ -52,7 +52,7 @@ Function CreateAzureVMFromPackerTemplate {
$vnetName = $env:UserName + "vnet-" + $guid
$subnetName = $env:UserName + "subnet-" + $guid
$nicName = $env:UserName + "nic-" + $guid
$publicIpName = $env:UserName + "pip-" + $guid
$publicIpName = $env:UserName + "pip-" + $guid
Write-Host "Creating a virtual network and subnet"
($vnet = az network vnet create -g $ResourceGroupName -l $AzureLocation -n $vnetName --address-prefixes 10.0.0.0/16 --subnet-name $subnetName --subnet-prefixes 10.0.1.0/24 --subscription $subscriptionId -o json)
@@ -63,14 +63,23 @@ Function CreateAzureVMFromPackerTemplate {
$networkId = ($nic | ConvertFrom-Json).NewNIC.id
Write-Host "`nCreating a public IP address"
($publicIp = az network public-ip create -g $ResourceGroupName -l $AzureLocation -n $publicIpName --allocation-method Static --sku Standard --version IPv4 --subscription $subscriptionId -o json)
($publicIp = az network public-ip create -g $ResourceGroupName -l $AzureLocation -n $publicIpName --allocation-method Static --sku Basic --version IPv4 --subscription $subscriptionId -o json)
$publicIpId = ($publicIp | ConvertFrom-Json).publicIp.id
Write-Host "`nAdding the public IP to the NIC"
az network nic ip-config update -g $ResourceGroupName -n ipconfig1 --nic-name $nicName --public-ip-address $publicIpId --subscription $subscriptionId
Write-Host "`nCreating the VM"
az group deployment create -g $ResourceGroupName -n $VirtualMachineName --subscription $subscriptionId --template-file $templateFilePath --parameters vmSize=$vmSize vmName=$VirtualMachineName adminUserName=$AdminUsername adminPassword=$AdminPassword networkInterfaceId=$networkId
az vm create `
--resource-group $ResourceGroupName `
--name $VirtualMachineName `
--image $ManagedImageName `
--size $vmSize `
--admin-username $AdminUsername `
--admin-password $AdminPassword `
--nics $networkId `
--subscription $subscriptionId `
--location $AzureLocation
Write-Host "`nCreated in ${ResourceGroupName}:`n vnet ${vnetName}`n subnet ${subnetName}`n nic ${nicName}`n publicip ${publicIpName}`n vm ${VirtualMachineName}"
}
+236 -189
View File
@@ -1,14 +1,14 @@
$ErrorActionPreference = 'Stop'
enum ImageType {
Windows2016 = 0
Windows2019 = 1
Windows2022 = 2
Ubuntu1804 = 3
Ubuntu2004 = 4
Windows2019 = 1
Windows2022 = 2
Windows2025 = 3
Ubuntu2204 = 4
Ubuntu2404 = 5
}
Function Get-PackerTemplatePath {
Function Get-PackerTemplate {
param (
[Parameter(Mandatory = $True)]
[string] $RepositoryRoot,
@@ -17,87 +17,109 @@ Function Get-PackerTemplatePath {
)
switch ($ImageType) {
([ImageType]::Windows2016) {
$relativeTemplatePath = Join-Path "win" "windows2016.json"
}
# Note: Double Join-Path is required to support PowerShell 5.1
([ImageType]::Windows2019) {
$relativeTemplatePath = Join-Path "win" "windows2019.json"
$relativeTemplatePath = Join-Path (Join-Path "windows" "templates") "build.windows-2019.pkr.hcl"
$imageOS = "win19"
}
([ImageType]::Windows2022) {
$relativeTemplatePath = Join-Path "win" "windows2022.json"
$relativeTemplatePath = Join-Path (Join-Path "windows" "templates") "build.windows-2022.pkr.hcl"
$imageOS = "win22"
}
([ImageType]::Ubuntu1804) {
$relativeTemplatePath = Join-Path "linux" "ubuntu1804.json"
([ImageType]::Windows2025) {
$relativeTemplatePath = Join-Path (Join-Path "windows" "templates") "build.windows-2025.pkr.hcl"
$imageOS = "win25"
}
([ImageType]::Ubuntu2004) {
$relativeTemplatePath = Join-Path "linux" "ubuntu2004.json"
([ImageType]::Ubuntu2204) {
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "build.ubuntu-22_04.pkr.hcl"
$imageOS = "ubuntu22"
}
([ImageType]::Ubuntu2404) {
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "build.ubuntu-24_04.pkr.hcl"
$imageOS = "ubuntu24"
}
default { throw "Unknown type of image" }
}
$imageTemplatePath = [IO.Path]::Combine($RepositoryRoot, "images", $relativeTemplatePath)
# Specific template selection using Packer's "-only" functionality
$buildName = [IO.Path]::GetFileName($imageTemplatePath).Split(".")[1]
if (-not (Test-Path $imageTemplatePath)) {
throw "Template for image '$ImageType' doesn't exist on path '$imageTemplatePath'"
throw "Template for image '$ImageType' doesn't exist on path '$imageTemplatePath'."
}
return $imageTemplatePath;
return [PSCustomObject] @{
"BuildName" = $buildName
"ImageOS" = $imageOS
"Path" = [IO.Path]::GetDirectoryName($imageTemplatePath)
}
}
Function Get-LatestCommit {
Function Show-LatestCommit {
[CmdletBinding()]
param()
process {
Write-Host "Latest commit:"
git --no-pager log --pretty=format:"Date: %cd; Commit: %H - %s; Author: %an <%ae>" -1
$latestCommit = (git --no-pager log --pretty=format:"Date: %cd; Commit: %H - %s; Author: %an <%ae>" -1)
Write-Host "Latest commit: $latestCommit."
}
}
function Start-Sleep($seconds) {
$doneDT = (Get-Date).AddSeconds($seconds)
while ($doneDT -gt (Get-Date)) {
$secondsLeft = $doneDT.Subtract((Get-Date)).TotalSeconds
$percent = ($seconds - $secondsLeft) / $seconds * 100
Write-Progress -Activity "Sleeping" -Status "Sleeping..." -SecondsRemaining $secondsLeft -PercentComplete $percent
[System.Threading.Thread]::Sleep(500)
}
Write-Progress -Activity "Sleeping" -Status "Sleeping..." -SecondsRemaining 0 -Completed
}
Function GenerateResourcesAndImage {
<#
.SYNOPSIS
A helper function to help generate an image.
.DESCRIPTION
Creates Azure resources and kicks off a packer image generation for the selected image type.
This function will generate the Azure resources and image for the specified image type.
.PARAMETER SubscriptionId
The Azure subscription Id where resources will be created.
The Azure subscription id where the Azure resources will be created.
.PARAMETER ResourceGroupName
The Azure resource group name where the Azure resources will be created.
.PARAMETER ImageGenerationRepositoryRoot
The root path of the image generation repository source.
The name of the resource group to store the resulting artifact. Resource group must already exist.
.PARAMETER ImageType
The type of the image being generated. Valid options are: {"Windows2016", "Windows2019", "Windows2022", "Ubuntu1804", "Ubuntu2004"}.
The type of image to generate. Valid values are: Windows2019, Windows2022, Windows2025, Ubuntu2204, Ubuntu2404.
.PARAMETER ManagedImageName
The name of the managed image to create. The default is "Runner-Image-{{ImageType}}".
.PARAMETER AzureLocation
The location of the resources being created in Azure. For example "East US".
.PARAMETER Force
Delete the resource group if it exists without user confirmation.
The Azure location where the Azure resources will be created. For example: "East US"
.PARAMETER ImageGenerationRepositoryRoot
The root directory of the image generation repository. This is used to locate the packer template.
.PARAMETER SecondsToWaitForServicePrincipalSetup
The number of seconds to wait for the service principal to be setup. The default is 120 seconds.
.PARAMETER AzureClientId
Client id needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
The Azure client id to use to authenticate with Azure. If not specified, the current user's credentials will be used.
.PARAMETER AzureClientSecret
Client secret needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
The Azure client secret to use to authenticate with Azure. If not specified, the current user's credentials will be used.
.PARAMETER AzureTenantId
Tenant needs to be provided for optional authentication via service principal. Example: "11111111-1111-1111-1111-111111111111"
The Azure tenant id to use to authenticate with Azure. If not specified, the current user's credentials will be used.
.PARAMETER RestrictToAgentIpAddress
If set, access to the VM used by packer to generate the image is restricted to the public IP address this script is run from.
This parameter cannot be used in combination with the virtual_network_name packer parameter.
.PARAMETER AllowBlobPublicAccess
The Azure storage account will be created with this option.
.PARAMETER OnError
Specify how packer handles an error during image creation.
Options:
abort - abort immediately
ask - ask user for input
cleanup - attempt to cleanup and then abort
run-cleanup-provisioner - run the cleanup provisioner and then abort
The default is 'ask'.
.PARAMETER Tags
Tags to be applied to the Azure resources created.
.PARAMETER PluginVersion
Specify the version of the packer Azure plugin to use. The default is "2.2.1".
.EXAMPLE
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "shsamytest1" -ImageGenerationRepositoryRoot "C:\virtual-environments" -ImageType Ubuntu1804 -AzureLocation "East US"
GenerateResourcesAndImage -SubscriptionId {YourSubscriptionId} -ResourceGroupName "shsamytest1" -ImageGenerationRepositoryRoot "C:\runner-images" -ImageType Ubuntu2204 -AzureLocation "East US"
#>
param (
[Parameter(Mandatory = $True)]
@@ -106,12 +128,14 @@ Function GenerateResourcesAndImage {
[string] $ResourceGroupName,
[Parameter(Mandatory = $True)]
[ImageType] $ImageType,
[Parameter(Mandatory = $False)]
[string] $ManagedImageName = "Runner-Image-$($ImageType)",
[Parameter(Mandatory = $True)]
[string] $AzureLocation,
[Parameter(Mandatory = $False)]
[string] $ImageGenerationRepositoryRoot = $pwd,
[Parameter(Mandatory = $False)]
[int] $SecondsToWaitForServicePrincipalSetup = 30,
[int] $SecondsToWaitForServicePrincipalSetup = 120,
[Parameter(Mandatory = $False)]
[string] $AzureClientId,
[Parameter(Mandatory = $False)]
@@ -119,159 +143,182 @@ Function GenerateResourcesAndImage {
[Parameter(Mandatory = $False)]
[string] $AzureTenantId,
[Parameter(Mandatory = $False)]
[Switch] $RestrictToAgentIpAddress,
[string] $PluginVersion = "2.2.1",
[Parameter(Mandatory = $False)]
[Switch] $Force,
[switch] $RestrictToAgentIpAddress,
[Parameter(Mandatory = $False)]
[bool] $AllowBlobPublicAccess = $False,
[ValidateSet("abort", "ask", "cleanup", "run-cleanup-provisioner")]
[string] $OnError = "ask",
[Parameter(Mandatory = $False)]
[bool] $EnableHttpsTrafficOnly = $False
[hashtable] $Tags = @{}
)
$builderScriptPath = Get-PackerTemplatePath -RepositoryRoot $ImageGenerationRepositoryRoot -ImageType $ImageType
$ServicePrincipalClientSecret = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
Show-LatestCommit -ErrorAction SilentlyContinue
# Validate packer is installed
$PackerBinary = Get-Command "packer"
if (-not ($PackerBinary)) {
throw "'packer' binary is not found on PATH."
}
# Get template path
$PackerTemplate = Get-PackerTemplate -RepositoryRoot $ImageGenerationRepositoryRoot -ImageType $ImageType
Write-Debug "Template path: $($PackerTemplate.Path)."
# Prepare list of allowed inbound IP addresses
if ($RestrictToAgentIpAddress) {
$AgentIp = (Invoke-RestMethod https://ipinfo.io/json).ip
if (-not $AgentIp) {
throw "Unable to determine agent IP address."
}
Write-Host "Access to packer generated VM will be restricted to agent IP Address: $AgentIp."
if ($PSVersionTable.PSVersion.Major -eq 5) {
Write-Verbose "PowerShell 5 detected. Replacing double quotes with escaped double quotes in allowed inbound IP addresses."
$AllowedInboundIpAddresses = '[\"{0}\"]' -f $AgentIp
}
elseif ($PSVersionTable.PSVersion.Major -eq 7 -and $PSVersionTable.PSVersion.Minor -le 2) {
Write-Verbose "PowerShell 7.0-7.2 detected. Replacing double quotes with escaped double quotes in allowed inbound IP addresses."
$AllowedInboundIpAddresses = '[\"{0}\"]' -f $AgentIp
}
else {
$AllowedInboundIpAddresses = '["{0}"]' -f $AgentIp
}
}
else {
$AllowedInboundIpAddresses = "[]"
}
Write-Debug "Allowed inbound IP addresses: $AllowedInboundIpAddresses."
# Prepare tags
$TagsList = $Tags.GetEnumerator() | ForEach-Object { "$($_.Key)=$($_.Value)" }
Write-Debug "Tags list: $TagsList."
$TagsJson = $Tags | ConvertTo-Json -Compress
if ($PSVersionTable.PSVersion.Major -eq 5) {
Write-Verbose "PowerShell 5 detected. Replacing double quotes with escaped double quotes in tags JSON."
$TagsJson = $TagsJson -replace '"', '\"'
}
elseif ($PSVersionTable.PSVersion.Major -eq 7 -and $PSVersionTable.PSVersion.Minor -le 2) {
Write-Verbose "PowerShell 7.0-7.2 detected. Replacing double quotes with escaped double quotes in tags JSON."
$TagsJson = $TagsJson -replace '"', '\"'
}
Write-Debug "Tags JSON: $TagsJson."
$InstallPassword = $env:UserName + [System.GUID]::NewGuid().ToString().ToUpper()
if ([string]::IsNullOrEmpty($AzureClientId))
{
Connect-AzAccount
} else {
$AzSecureSecret = ConvertTo-SecureString $AzureClientSecret -AsPlainText -Force
$AzureAppCred = New-Object System.Management.Automation.PSCredential($AzureClientId, $AzSecureSecret)
Connect-AzAccount -ServicePrincipal -Credential $AzureAppCred -Tenant $AzureTenantId
}
Set-AzContext -SubscriptionId $SubscriptionId
Write-Host "Downloading packer plugins..."
& $PackerBinary plugins install github.com/hashicorp/azure $PluginVersion
if ($LastExitCode -ne 0) {
throw "Packer plugins download failed."
}
Write-Host "Validating packer template..."
& $PackerBinary validate `
"-only=$($PackerTemplate.BuildName)*" `
"-var=client_id=fake" `
"-var=client_secret=fake" `
"-var=subscription_id=$($SubscriptionId)" `
"-var=tenant_id=fake" `
"-var=location=$($AzureLocation)" `
"-var=image_os=$($PackerTemplate.ImageOS)" `
"-var=managed_image_name=$($ManagedImageName)" `
"-var=managed_image_resource_group_name=$($ResourceGroupName)" `
"-var=install_password=$($InstallPassword)" `
"-var=allowed_inbound_ip_addresses=$($AllowedInboundIpAddresses)" `
"-var=azure_tags=$($TagsJson)" `
$PackerTemplate.Path
if ($LastExitCode -ne 0) {
throw "Packer template validation failed."
}
$alreadyExists = $true;
try {
Get-AzResourceGroup -Name $ResourceGroupName
Write-Verbose "Resource group was found, will delete and recreate it."
}
catch {
Write-Verbose "Resource group was not found, will create it."
$alreadyExists = $false;
}
if ($alreadyExists) {
if($Force -eq $true) {
# Cleanup the resource group if it already exitsted before
Remove-AzResourceGroup -Name $ResourceGroupName -Force
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
} else {
$title = "Delete Resource Group"
$message = "The resource group you specified already exists. Do you want to clean it up?"
$yes = New-Object System.Management.Automation.Host.ChoiceDescription "&Yes", `
"Delete the resource group including all resources."
$no = New-Object System.Management.Automation.Host.ChoiceDescription "&No", `
"Keep the resource group and continue."
$stop = New-Object System.Management.Automation.Host.ChoiceDescription "&Stop", `
"Stop the current action."
$options = [System.Management.Automation.Host.ChoiceDescription[]]($yes, $no, $stop)
$result = $host.ui.PromptForChoice($title, $message, $options, 0)
switch ($result)
{
0 { Remove-AzResourceGroup -Name $ResourceGroupName -Force; New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation }
1 { <# Do nothing #> }
2 { exit }
}
# Login to Azure subscription
if ([string]::IsNullOrEmpty($AzureClientId)) {
Write-Verbose "No AzureClientId was provided, will use interactive login."
az login --output none
}
} else {
New-AzResourceGroup -Name $ResourceGroupName -Location $AzureLocation
}
# This script should follow the recommended naming conventions for azure resources
$storageAccountName = if($ResourceGroupName.EndsWith("-rg")) {
$ResourceGroupName.Substring(0, $ResourceGroupName.Length -3)
} else { $ResourceGroupName }
# Resource group names may contain special characters, that are not allowed in the storage account name
$storageAccountName = $storageAccountName.Replace("-", "").Replace("_", "").Replace("(", "").Replace(")", "").ToLower()
$storageAccountName += "001"
# Storage Account Name can only be 24 characters long
if ($storageAccountName.Length -gt 24){
$storageAccountName = $storageAccountName.Substring(0, 24)
}
New-AzStorageAccount -ResourceGroupName $ResourceGroupName -AccountName $storageAccountName -Location $AzureLocation -SkuName "Standard_LRS" -AllowBlobPublicAccess $AllowBlobPublicAccess -EnableHttpsTrafficOnly $EnableHttpsTrafficOnly
if ([string]::IsNullOrEmpty($AzureClientId)) {
# Interactive authentication: A service principal is created during runtime.
$spDisplayName = [System.GUID]::NewGuid().ToString().ToUpper()
$startDate = Get-Date
$endDate = $startDate.AddYears(1)
if ('Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential' -as [type]) {
$credentials = [Microsoft.Azure.Commands.ActiveDirectory.PSADPasswordCredential]@{
StartDate = $startDate
EndDate = $endDate
Password = $ServicePrincipalClientSecret
}
$sp = New-AzADServicePrincipal -DisplayName $spDisplayName -PasswordCredential $credentials
$spClientId = $sp.ApplicationId
$azRoleParam = @{
RoleDefinitionName = "Contributor"
ServicePrincipalName = $spClientId
}
else {
Write-Verbose "AzureClientId was provided, will use service principal login."
az login --service-principal --username $AzureClientId --password=$AzureClientSecret --tenant $AzureTenantId --output none
}
az account set --subscription $SubscriptionId
if ($LastExitCode -ne 0) {
throw "Failed to login to Azure subscription '$SubscriptionId'."
}
if ('Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordCredential' -as [type]) {
$credentials = [Microsoft.Azure.PowerShell.Cmdlets.Resources.MSGraph.Models.ApiV10.MicrosoftGraphPasswordCredential]@{
StartDateTime = $startDate
EndDateTime = $endDate
}
$sp = New-AzADServicePrincipal -DisplayName $spDisplayName
$appCred = New-AzADAppCredential -ApplicationId $sp.AppId -PasswordCredentials $credentials
$spClientId = $sp.AppId
$azRoleParam = @{
RoleDefinitionName = "Contributor"
PrincipalId = $sp.Id
}
$ServicePrincipalClientSecret = $appCred.SecretText
# Check resource group
$ResourceGroupExists = [System.Convert]::ToBoolean((az group exists --name $ResourceGroupName));
if ($ResourceGroupExists) {
Write-Verbose "Resource group '$ResourceGroupName' already exists."
}
else {
throw "Resource group '$ResourceGroupName' does not exist."
}
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
New-AzRoleAssignment @azRoleParam
Start-Sleep -Seconds $SecondsToWaitForServicePrincipalSetup
$sub = Get-AzSubscription -SubscriptionId $SubscriptionId
$tenantId = $sub.TenantId
# "", "Note this variable-setting script for running Packer with these Azure resources in the future:", "==============================================================================================", "`$spClientId = `"$spClientId`"", "`$ServicePrincipalClientSecret = `"$ServicePrincipalClientSecret`"", "`$SubscriptionId = `"$SubscriptionId`"", "`$tenantId = `"$tenantId`"", "`$spObjectId = `"$spObjectId`"", "`$AzureLocation = `"$AzureLocation`"", "`$ResourceGroupName = `"$ResourceGroupName`"", "`$storageAccountName = `"$storageAccountName`"", "`$install_password = `"$install_password`"", ""
} else {
# Parametrized Authentication via given service principal: The service principal with the data provided via the command line
# is used for all authentication purposes.
$spClientId = $AzureClientId
$credentials = $AzureAppCred
$ServicePrincipalClientSecret = $AzureClientSecret
$tenantId = $AzureTenantId
# Create service principal
if ([string]::IsNullOrEmpty($AzureClientId)) {
Write-Host "Creating service principal for packer..."
$ADCleanupRequired = $true
$ServicePrincipalName = "packer-" + [System.GUID]::NewGuid().ToString().ToUpper()
$ServicePrincipal = az ad sp create-for-rbac --name $ServicePrincipalName --role Contributor --scopes /subscriptions/$SubscriptionId --only-show-errors | ConvertFrom-Json
if ($LastExitCode -ne 0) {
throw "Failed to create service principal '$ServicePrincipalName'."
}
$ServicePrincipalAppId = $ServicePrincipal.appId
$ServicePrincipalPassword = $ServicePrincipal.password
$TenantId = $ServicePrincipal.tenant
Write-Verbose "Waiting for service principal to propagate..."
Start-Sleep $SecondsToWaitForServicePrincipalSetup
Write-Host "Service principal created with id '$ServicePrincipalAppId'. It will be deleted after the build."
}
else {
$ServicePrincipalAppId = $AzureClientId
$ServicePrincipalPassword = $AzureClientSecret
$TenantId = $AzureTenantId
}
Write-Debug "Service principal app id: $ServicePrincipalAppId."
Write-Debug "Tenant id: $TenantId."
& $PackerBinary build -on-error="$($OnError)" `
-only "$($PackerTemplate.BuildName)*" `
-var "client_id=$($ServicePrincipalAppId)" `
-var "client_secret=$($ServicePrincipalPassword)" `
-var "subscription_id=$($SubscriptionId)" `
-var "tenant_id=$($TenantId)" `
-var "location=$($AzureLocation)" `
-var "image_os=$($PackerTemplate.ImageOS)" `
-var "managed_image_name=$($ManagedImageName)" `
-var "managed_image_resource_group_name=$($ResourceGroupName)" `
-var "install_password=$($InstallPassword)" `
-var "allowed_inbound_ip_addresses=$($AllowedInboundIpAddresses)" `
-var "azure_tags=$($TagsJson)" `
$PackerTemplate.Path
if ($LastExitCode -ne 0) {
throw "Failed to build image."
}
} catch {
Write-Error $_
} finally {
Write-Verbose "`nCleaning up..."
# Remove ADServicePrincipal and ADApplication
if ($ADCleanupRequired) {
Write-Host "Removing ADServicePrincipal..."
if (az ad sp show --id $ServicePrincipalAppId --query id) {
az ad sp delete --id $ServicePrincipalAppId
}
Write-Host "Removing ADApplication..."
if (az ad app show --id $ServicePrincipalAppId --query id) {
az ad app delete --id $ServicePrincipalAppId
}
}
Write-Verbose "Cleanup completed."
}
Get-LatestCommit -ErrorAction SilentlyContinue
$packerBinary = Get-Command "packer"
if (-not ($packerBinary)) {
throw "'packer' binary is not found on PATH"
}
if($RestrictToAgentIpAddress -eq $true) {
$AgentIp = (Invoke-RestMethod http://ipinfo.io/json).ip
Write-Host "Restricting access to packer generated VM to agent IP Address: $AgentIp"
}
& $packerBinary build -on-error=ask `
-var "client_id=$($spClientId)" `
-var "client_secret=$($ServicePrincipalClientSecret)" `
-var "subscription_id=$($SubscriptionId)" `
-var "tenant_id=$($tenantId)" `
-var "location=$($AzureLocation)" `
-var "resource_group=$($ResourceGroupName)" `
-var "storage_account=$($storageAccountName)" `
-var "install_password=$($InstallPassword)" `
-var "allowed_inbound_ip_addresses=$($AgentIp)" `
$builderScriptPath
}
+97
View File
@@ -0,0 +1,97 @@
class GithubApi
{
[string] $Repository
[object] hidden $AuthHeader
GithubApi(
[string] $Repository,
[string] $AccessToken
) {
$this.Repository = $Repository
$this.AuthHeader = $this.BuildAuth($AccessToken)
}
[object] hidden BuildAuth([string]$AccessToken) {
if ([string]::IsNullOrEmpty($AccessToken)) {
return $null
}
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("'':${AccessToken}"))
return @{
Authorization = "Basic ${base64AuthInfo}"
}
}
[string] hidden BuildBaseUrl([string]$Repository, [string]$ApiPrefix) {
return "https://$ApiPrefix.github.com/repos/$Repository"
}
[object] GetWorkflowRuns([string]$WorkflowId) {
$url = "actions/workflows/$WorkflowId/runs"
$response = $this.InvokeRestMethod($url, 'GET', $null, $null)
return $response
}
[object] GetWorkflowRun([string]$WorkflowRunId) {
$url = "actions/runs/$WorkflowRunId"
$response = $this.InvokeRestMethod($url, 'GET', $null, $null)
return $response
}
[object] DispatchWorkflow([string]$EventType, [object]$EventPayload) {
$url = "dispatches"
$body = @{
"event_type" = $EventType
"client_payload" = $EventPayload
} | ConvertTo-Json
$response = $this.InvokeRestMethod($url, 'POST', $null, $body)
return $response
}
[object] CancelWorkflowRun([string]$workflowRunId) {
$url = "actions/runs/$workflowRunId/cancel"
$response = $this.InvokeRestMethod($url, 'POST', $null, $null)
return $response
}
[string] hidden BuildUrl([string]$url, [string]$RequestParams, [string]$ApiPrefix) {
$baseUrl = $this.BuildBaseUrl($this.Repository, $ApiPrefix)
if ([string]::IsNullOrEmpty($RequestParams)) {
return "$($baseUrl)/$($url)"
} else {
return "$($baseUrl)/$($url)?$($requestParams)"
}
}
[object] hidden InvokeRestMethod(
[string] $url,
[string] $Method,
[string] $RequestParams,
[string] $body
) {
$requestUrl = $this.BuildUrl($url, $RequestParams, "api")
$params = @{
Method = $Method
ContentType = "application/json"
Uri = $requestUrl
Headers = @{}
}
if ($this.AuthHeader) {
$params.Headers += $this.AuthHeader
}
if (![string]::IsNullOrEmpty($body)) {
$params.Body = $body
}
$response = Invoke-RestMethod @params
return $response
}
}
function Get-GithubApi {
param (
[string] $Repository,
[string] $AccessToken
)
return [GithubApi]::New($Repository, $AccessToken)
}
+47
View File
@@ -0,0 +1,47 @@
Param (
[Parameter(Mandatory)]
[string] $WorkflowRunId,
[Parameter(Mandatory)]
[string] $Repository,
[Parameter(Mandatory)]
[string] $AccessToken,
[int] $RetryIntervalSeconds = 300,
[int] $MaxRetryCount = 0
)
Import-Module (Join-Path $PSScriptRoot "GitHubApi.psm1")
function Wait-ForWorkflowCompletion($WorkflowRunId, $RetryIntervalSeconds) {
do {
Start-Sleep -Seconds $RetryIntervalSeconds
$workflowRun = $gitHubApi.GetWorkflowRun($WorkflowRunId)
} until ($workflowRun.status -eq "completed")
return $workflowRun
}
$gitHubApi = Get-GithubApi -Repository $Repository -AccessToken $AccessToken
$attempt = 1
do {
$finishedWorkflowRun = Wait-ForWorkflowCompletion -WorkflowRunId $WorkflowRunId -RetryIntervalSeconds $RetryIntervalSeconds
Write-Host "Workflow run finished with result: $($finishedWorkflowRun.conclusion)"
if ($finishedWorkflowRun.conclusion -in ("success", "cancelled", "timed_out")) {
break
} elseif ($finishedWorkflowRun.conclusion -eq "failure") {
if ($attempt -le $MaxRetryCount) {
Write-Host "Workflow run will be restarted. Attempt $attempt of $MaxRetryCount"
$gitHubApi.ReRunFailedJobs($WorkflowRunId)
$attempt += 1
} else {
break
}
}
} while ($true)
Write-Host "Last result: $($finishedWorkflowRun.conclusion)."
"CI_WORKFLOW_RUN_RESULT=$($finishedWorkflowRun.conclusion)" | Out-File -Append -FilePath $env:GITHUB_ENV
if ($finishedWorkflowRun.conclusion -in ("failure", "cancelled", "timed_out")) {
exit 1
}
@@ -0,0 +1,66 @@
using module ./SoftwareReport.psm1
using module ./SoftwareReport.DifferenceCalculator.psm1
<#
.SYNOPSIS
Calculates the difference between two software reports and saves it to a file.
.PARAMETER PreviousJsonReportPath
Path to the previous software report.
.PARAMETER CurrentJsonReportPath
Path to the current software report.
.PARAMETER OutputFile
Path to the file where the difference will be saved.
.PARAMETER ReleaseBranchName
Name of the release branch to build image docs URL.
.PARAMETER ReadmePath
Path to the README file in repository to build image docs URL.
#>
Param (
[Parameter(Mandatory=$true)]
[string] $PreviousJsonReportPath,
[Parameter(Mandatory=$true)]
[string] $CurrentJsonReportPath,
[Parameter(Mandatory=$true)]
[string] $OutputFile,
[Parameter(Mandatory=$false)]
[string] $ReleaseBranchName,
[Parameter(Mandatory=$false)]
[string] $ReadmePath
)
$ErrorActionPreference = "Stop"
$global:ErrorView = "NormalView"
function Read-SoftwareReport {
Param (
[Parameter(Mandatory=$true)]
[string] $JsonReportPath
)
if (-not (Test-Path $JsonReportPath)) {
throw "File '$JsonReportPath' does not exist"
}
$jsonReport = Get-Content -Path $JsonReportPath -Raw
$report = [SoftwareReport]::FromJson($jsonReport)
return $report
}
$previousReport = Read-SoftwareReport -JsonReportPath $PreviousJsonReportPath
$currentReport = Read-SoftwareReport -JsonReportPath $CurrentJsonReportPath
$comparer = [SoftwareReportDifferenceCalculator]::new($previousReport, $currentReport)
$comparer.CompareReports()
$diff = $comparer.GetMarkdownReport()
if ($ReleaseBranchName -and $ReadmePath) {
# https://github.com/actions/runner-images/blob/releases/macOS-12/20221215/images/macos/macos-12-Readme.md
$ImageDocsUrl = "https://github.com/actions/runner-images/blob/${ReleaseBranchName}/${ReadmePath}"
$diff += "`n`n`nFor comprehensive list of software installed on this image please click [here]($ImageDocsUrl)."
}
$parentDirectory = Split-Path $OutputFile -Parent
if (-not (Test-Path $parentDirectory)) { New-Item -Path $parentDirectory -ItemType Directory | Out-Null }
$diff | Out-File -Path $OutputFile -Encoding utf8NoBOM
@@ -0,0 +1,56 @@
############################
### Abstract base nodes ####
############################
# Abstract base class for all nodes
class BaseNode {
[Boolean] ShouldBeIncludedToDiff() {
return $false
}
[String] ToMarkdown() {
return $this.ToMarkdown(1)
}
[String] ToMarkdown([Int32] $Level) {
throw "Abstract method 'ToMarkdown(level)' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
throw "Abstract method 'IsSimilarTo' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
throw "Abstract method 'IsIdenticalTo' is not implemented for '$($this.GetType().Name)'"
}
}
# Abstract base class for all nodes that describe a tool and should be rendered inside diff table
class BaseToolNode: BaseNode {
[ValidateNotNullOrEmpty()]
[String] $ToolName
BaseToolNode([String] $ToolName) {
$this.ToolName = $ToolName
}
[Boolean] ShouldBeIncludedToDiff() {
return $true
}
[String] GetValue() {
throw "Abstract method 'GetValue' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
if ($this.GetType() -ne $OtherNode.GetType()) {
return $false
}
return $this.ToolName -eq $OtherNode.ToolName
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
return $this.IsSimilarTo($OtherNode) -and ($this.GetValue() -eq $OtherNode.GetValue())
}
}
@@ -0,0 +1,136 @@
using module ./SoftwareReport.psm1
using module ./SoftwareReport.BaseNodes.psm1
using module ./SoftwareReport.Nodes.psm1
using module ./SoftwareReport.DifferenceRender.psm1
class SoftwareReportDifferenceCalculator {
[ValidateNotNullOrEmpty()]
hidden [SoftwareReport] $PreviousReport
[ValidateNotNullOrEmpty()]
hidden [SoftwareReport] $CurrentReport
hidden [Collections.Generic.List[ReportDifferenceItem]] $AddedItems
hidden [Collections.Generic.List[ReportDifferenceItem]] $ChangedItems
hidden [Collections.Generic.List[ReportDifferenceItem]] $DeletedItems
SoftwareReportDifferenceCalculator([SoftwareReport] $PreviousReport, [SoftwareReport] $CurrentReport) {
$this.PreviousReport = $PreviousReport
$this.CurrentReport = $CurrentReport
}
[void] CompareReports() {
$this.AddedItems = @()
$this.ChangedItems = @()
$this.DeletedItems = @()
$this.CompareInternal($this.PreviousReport.Root, $this.CurrentReport.Root, @())
}
[String] GetMarkdownReport() {
$reporter = [SoftwareReportDifferenceRender]::new()
$report = $reporter.GenerateMarkdownReport($this.CurrentReport, $this.PreviousReport, $this.AddedItems, $this.ChangedItems, $this.DeletedItems)
return $report
}
hidden [void] CompareInternal([HeaderNode] $previousReportPointer, [HeaderNode] $currentReportPointer, [String[]] $Headers) {
$currentReportPointer.Children ?? @() | Where-Object { $_.ShouldBeIncludedToDiff() -and $this.FilterExcludedNodes($_) } | ForEach-Object {
$currentReportNode = $_
$sameNodeInPreviousReport = $previousReportPointer ? $previousReportPointer.FindSimilarChildNode($currentReportNode) : $null
if ($currentReportNode -is [HeaderNode]) {
# Compare HeaderNode recursively
$this.CompareInternal($sameNodeInPreviousReport, $currentReportNode, $Headers + $currentReportNode.Title)
} else {
if ($sameNodeInPreviousReport -and ($currentReportNode.IsIdenticalTo($sameNodeInPreviousReport))) {
# Nodes are identical, nothing changed, just ignore it
} elseif ($sameNodeInPreviousReport) {
# Nodes are equal but not identical, something was changed
if ($currentReportNode -is [TableNode]) {
$this.CompareSimilarTableNodes($sameNodeInPreviousReport, $currentReportNode, $Headers)
} elseif ($currentReportNode -is [ToolVersionsListNode]) {
$this.CompareSimilarToolVersionsListNodes($sameNodeInPreviousReport, $currentReportNode, $Headers)
} else {
$this.ChangedItems.Add([ReportDifferenceItem]::new($sameNodeInPreviousReport, $currentReportNode, $Headers))
}
} else {
# Node was not found in previous report, new node was added
$this.AddedItems.Add([ReportDifferenceItem]::new($null, $currentReportNode, $Headers))
}
}
}
# Detecting nodes that were removed
$previousReportPointer.Children ?? @() | Where-Object { $_.ShouldBeIncludedToDiff() -and $this.FilterExcludedNodes($_) } | ForEach-Object {
$previousReportNode = $_
$sameNodeInCurrentReport = $currentReportPointer ? $currentReportPointer.FindSimilarChildNode($previousReportNode) : $null
if (-not $sameNodeInCurrentReport) {
if ($previousReportNode -is [HeaderNode]) {
# Compare removed HeaderNode recursively
$this.CompareInternal($previousReportNode, $null, $Headers + $previousReportNode.Title)
} else {
# Node was not found in current report, node was removed
$this.DeletedItems.Add([ReportDifferenceItem]::new($previousReportNode, $null, $Headers))
}
}
}
}
hidden [void] CompareSimilarTableNodes([TableNode] $PreviousReportNode, [TableNode] $CurrentReportNode, [String[]] $Headers) {
$addedRows = $CurrentReportNode.Rows | Where-Object { $_ -notin $PreviousReportNode.Rows }
$deletedRows = $PreviousReportNode.Rows | Where-Object { $_ -notin $CurrentReportNode.Rows }
if (($addedRows.Count -eq 0) -and ($deletedRows.Count -eq 0)) {
# Unexpected state: TableNodes are identical
return
}
if ($PreviousReportNode.Headers -ne $CurrentReportNode.Headers) {
# If headers are changed and rows are changed at the same time, we should track it as removing table and adding new one
$this.DeletedItems.Add([ReportDifferenceItem]::new($PreviousReportNode, $null, $Headers))
$this.AddedItems.Add([ReportDifferenceItem]::new($null, $CurrentReportNode, $Headers))
} elseif (($addedRows.Count -gt 0) -and ($deletedRows.Count -eq 0)) {
# If new rows were added and no rows were deleted, then it is AddedItem
$this.AddedItems.Add([ReportDifferenceItem]::new($PreviousReportNode, $CurrentReportNode, $Headers))
} elseif (($deletedRows.Count -gt 0) -and ($addedRows.Count -eq 0)) {
# If no rows were added and some rows were deleted, then it is DeletedItem
$this.DeletedItems.Add([ReportDifferenceItem]::new($PreviousReportNode, $CurrentReportNode, $Headers))
} else {
# If some rows were added and some rows were removed, then it is UpdatedItem
$this.ChangedItems.Add([ReportDifferenceItem]::new($PreviousReportNode, $CurrentReportNode, $Headers))
}
}
hidden [void] CompareSimilarToolVersionsListNodes([ToolVersionsListNode] $PreviousReportNode, [ToolVersionsListNode] $CurrentReportNode, [String[]] $Headers) {
$previousReportMajorVersions = $PreviousReportNode.Versions | ForEach-Object { $PreviousReportNode.ExtractMajorVersion($_) }
$currentReportMajorVersion = $CurrentReportNode.Versions | ForEach-Object { $CurrentReportNode.ExtractMajorVersion($_) }
$addedVersions = $CurrentReportNode.Versions | Where-Object { $CurrentReportNode.ExtractMajorVersion($_) -notin $previousReportMajorVersions }
$deletedVersions = $PreviousReportNode.Versions | Where-Object { $PreviousReportNode.ExtractMajorVersion($_) -notin $currentReportMajorVersion }
$changedPreviousVersions = $PreviousReportNode.Versions | Where-Object { ($PreviousReportNode.ExtractMajorVersion($_) -in $currentReportMajorVersion) -and ($_ -notin $CurrentReportNode.Versions) }
$changedCurrentVersions = $CurrentReportNode.Versions | Where-Object { ($CurrentReportNode.ExtractMajorVersion($_) -in $previousReportMajorVersions) -and ($_ -notin $PreviousReportNode.Versions) }
if ($addedVersions.Count -gt 0) {
$this.AddedItems.Add([ReportDifferenceItem]::new($null, [ToolVersionsListNode]::new($CurrentReportNode.ToolName, $addedVersions, $CurrentReportNode.MajorVersionRegex, "List"), $Headers))
}
if ($deletedVersions.Count -gt 0) {
$this.DeletedItems.Add([ReportDifferenceItem]::new([ToolVersionsListNode]::new($PreviousReportNode.ToolName, $deletedVersions, $PreviousReportNode.MajorVersionRegex, "List"), $null, $Headers))
}
$previousChangedNode = ($changedPreviousVersions.Count -gt 0) ? [ToolVersionsListNode]::new($PreviousReportNode.ToolName, $changedPreviousVersions, $PreviousReportNode.MajorVersionRegex, "List") : $null
$currentChangedNode = ($changedCurrentVersions.Count -gt 0) ? [ToolVersionsListNode]::new($CurrentReportNode.ToolName, $changedCurrentVersions, $CurrentReportNode.MajorVersionRegex, "List") : $null
if ($previousChangedNode -and $currentChangedNode) {
$this.ChangedItems.Add([ReportDifferenceItem]::new($previousChangedNode, $currentChangedNode, $Headers))
}
}
hidden [Boolean] FilterExcludedNodes([BaseNode] $Node) {
# We shouldn't show "Image Version" diff because it is already shown in report header
if (($Node -is [ToolVersionNode]) -and ($Node.ToolName -eq "Image Version:")) {
return $false
}
return $true
}
}
@@ -0,0 +1,225 @@
using module ./SoftwareReport.psm1
using module ./SoftwareReport.BaseNodes.psm1
using module ./SoftwareReport.Nodes.psm1
class SoftwareReportDifferenceRender {
[String] GenerateMarkdownReport([SoftwareReport] $CurrentReport, [SoftwareReport] $PreviousReport, [ReportDifferenceItem[]] $AddedItems, [ReportDifferenceItem[]] $ChangedItems, [ReportDifferenceItem[]] $DeletedItems) {
$sb = [System.Text.StringBuilder]::new()
$rootNode = $CurrentReport.Root
$imageVersion = $CurrentReport.GetImageVersion()
$previousImageVersion = $PreviousReport.GetImageVersion()
#############################
### Render report header ####
#############################
$sb.AppendLine("# :desktop_computer: Actions Runner Image: $($rootNode.Title)")
# ToolVersionNodes on root level contains main image description so just copy-paste them to final report
$rootNode.Children | Where-Object { $_ -is [ToolVersionNode] } | ForEach-Object {
$sb.AppendLine($_.ToMarkdown())
}
$sb.AppendLine()
$sb.AppendLine("## :mega: What's changed?").AppendLine()
###########################
### Render added items ####
###########################
[ReportDifferenceItem[]] $addedItemsBaseTools = $AddedItems | Where-Object { $_.IsBaseToolNode() }
[ReportDifferenceItem[]] $addedItemsTables = $AddedItems | Where-Object { $_.IsTableNode() }
if ($addedItemsBaseTools.Count + $addedItemsTables.Count -gt 0) {
$sb.AppendLine("### Added :heavy_plus_sign:").AppendLine()
}
if ($addedItemsBaseTools.Count -gt 0) {
$tableItems = $addedItemsBaseTools | ForEach-Object {
[PSCustomObject]@{
"Category" = $this.RenderCategory($_.Headers, $true);
"Tool name" = $this.RenderToolName($_.CurrentReportNode.ToolName);
"Current ($imageVersion)" = $_.CurrentReportNode.GetValue();
}
}
$sb.AppendLine($this.RenderHtmlTable($tableItems, "Category"))
}
if ($addedItemsTables.Count -gt 0) {
$addedItemsTables | ForEach-Object {
$sb.AppendLine($this.RenderTableNodesDiff($_))
}
}
#############################
### Render deleted items ####
#############################
[ReportDifferenceItem[]] $deletedItemsBaseTools = $DeletedItems | Where-Object { $_.IsBaseToolNode() }
[ReportDifferenceItem[]] $deletedItemsTables = $DeletedItems | Where-Object { $_.IsTableNode() }
if ($deletedItemsBaseTools.Count + $deletedItemsTables.Count -gt 0) {
$sb.AppendLine("### Deleted :heavy_minus_sign:").AppendLine()
}
if ($deletedItemsBaseTools.Count -gt 0) {
$tableItems = $deletedItemsBaseTools | ForEach-Object {
[PSCustomObject]@{
"Category" = $this.RenderCategory($_.Headers, $true);
"Tool name" = $this.RenderToolName($_.PreviousReportNode.ToolName);
"Previous ($previousImageVersion)" = $_.PreviousReportNode.GetValue();
}
}
$sb.AppendLine($this.RenderHtmlTable($tableItems, "Category"))
}
if ($deletedItemsTables.Count -gt 0) {
$deletedItemsTables | ForEach-Object {
$sb.AppendLine($this.RenderTableNodesDiff($_))
}
}
#############################
### Render updated items ####
#############################
[ReportDifferenceItem[]] $changedItemsBaseTools = $ChangedItems | Where-Object { $_.IsBaseToolNode() }
[ReportDifferenceItem[]] $changedItemsTables = $ChangedItems | Where-Object { $_.IsTableNode() }
if ($changedItemsBaseTools.Count + $changedItemsTables.Count -gt 0) {
$sb.AppendLine("### Updated").AppendLine()
}
if ($changedItemsBaseTools.Count -gt 0) {
$tableItems = $changedItemsBaseTools | ForEach-Object {
[PSCustomObject]@{
"Category" = $this.RenderCategory($_.Headers, $true);
"Tool name" = $this.RenderToolName($_.CurrentReportNode.ToolName);
"Previous ($previousImageVersion)" = $_.PreviousReportNode.GetValue();
"Current ($imageVersion)" = $_.CurrentReportNode.GetValue();
}
}
$sb.AppendLine($this.RenderHtmlTable($tableItems, "Category"))
}
if ($changedItemsTables.Count -gt 0) {
$changedItemsTables | ForEach-Object {
$sb.AppendLine($this.RenderTableNodesDiff($_))
}
}
return $sb.ToString()
}
[String] RenderHtmlTable([PSCustomObject[]] $Table, [String] $RowSpanColumnName) {
$headers = $Table[0].PSObject.Properties.Name
$sb = [System.Text.StringBuilder]::new()
$sb.AppendLine("<table>")
$sb.AppendLine(" <thead>")
$headers | ForEach-Object {
$sb.AppendLine(" <th>$_</th>")
}
$sb.AppendLine(" </thead>")
$sb.AppendLine(" <tbody>")
$tableRowSpans = $this.CalculateHtmlTableRowSpan($Table, $RowSpanColumnName)
for ($rowIndex = 0; $rowIndex -lt $Table.Count; $rowIndex++) {
$row = $Table[$rowIndex]
$sb.AppendLine(" <tr>")
$headers | ForEach-Object {
if ($_ -eq $RowSpanColumnName) {
if ($tableRowSpans[$rowIndex] -gt 0) {
$sb.AppendLine(" <td rowspan=`"$($tableRowSpans[$rowIndex])`">$($row.$_)</td>")
} else {
# Skip rendering this cell at all
}
} else {
$sb.AppendLine(" <td>$($row.$_)</td>")
}
}
$sb.AppendLine(" </tr>")
}
$sb.AppendLine(" </tbody>")
$sb.AppendLine("</table>")
return $sb.ToString()
}
[int[]] CalculateHtmlTableRowSpan([PSCustomObject[]] $Table, [String] $keyColumn) {
$result = @(0) * $Table.Count
for ($rowIndex = $Table.Count - 1; $rowIndex -ge 0; $rowIndex--) {
if (($rowIndex -lt ($Table.Count - 1)) -and ($Table[$rowIndex].$keyColumn -eq $Table[$rowIndex + 1].$keyColumn)) {
# If the current row is the same as the next row
# Then rowspan of current row should be equal to rowspan of the next row + 1
# And rowspan of the next row should be 0 because it is already included in the rowspan of the current row
$result[$rowIndex] = $result[$rowIndex + 1] + 1
$result[$rowIndex + 1] = 0
} else {
$result[$rowIndex] = 1
}
}
return $result
}
[String] RenderTableNodesDiff([ReportDifferenceItem] $DiffItem) {
# Use the simplest approach for now: first, print all removed lines. Then print added lines
# It will work well for most cases like changing existing rows, adding new rows and removing rows
# But can produce not so pretty results for cases when some rows are changed and some rows are added at the same time
# Let's see how it works in practice and improve it later if needed
[String] $tableHeaders = ($DiffItem.CurrentReportNode ?? $DiffItem.PreviousReportNode).Headers
[Collections.Generic.List[String]] $tableRows = @()
$DiffItem.PreviousReportNode.Rows ?? @() | Where-Object { $_ -notin $DiffItem.CurrentReportNode.Rows } | ForEach-Object {
$tableRows.Add($this.StrikeTableRow($_))
}
$DiffItem.CurrentReportNode.Rows ?? @() | Where-Object { $_ -notin $DiffItem.PreviousReportNode.Rows } | ForEach-Object {
$tableRows.Add($_)
}
$sb = [System.Text.StringBuilder]::new()
$sb.AppendLine("#### $($this.RenderCategory($DiffItem.Headers, $false))")
$sb.AppendLine([TableNode]::new($tableHeaders, $tableRows).ToMarkdown())
return $sb.ToString()
}
[String] RenderCategory([String[]] $Headers, [Boolean] $AddLineSeparator) {
# Always skip the first header because it is "Installed Software"
[String[]] $takeHeaders = $Headers | Select-Object -Skip 1
if ($takeHeaders.Count -eq 0) {
return ""
}
$lineSeparator = $AddLineSeparator ? "<br>": ""
return [String]::Join(" >$lineSeparator ", $takeHeaders)
}
[String] RenderToolName([String] $ToolName) {
return $ToolName.TrimEnd(":")
}
[String] StrikeTableRow([String] $Row) {
# Convert "a|b|c" to "~~a~~|~~b~~|~~c~~
$cells = $Row.Split("|")
$strikedCells = $cells | ForEach-Object { "~~$($_)~~"}
return [String]::Join("|", $strikedCells)
}
}
# Temporary structure to store the single difference between two reports
class ReportDifferenceItem {
[BaseNode] $PreviousReportNode
[BaseNode] $CurrentReportNode
[String[]] $Headers
ReportDifferenceItem([BaseNode] $PreviousReportNode, [BaseNode] $CurrentReportNode, [String[]] $Headers) {
$this.PreviousReportNode = $PreviousReportNode
$this.CurrentReportNode = $CurrentReportNode
$this.Headers = $Headers
}
[Boolean] IsBaseToolNode() {
$node = $this.CurrentReportNode ?? $this.PreviousReportNode
return $node -is [BaseToolNode]
}
[Boolean] IsTableNode() {
$node = $this.CurrentReportNode ?? $this.PreviousReportNode
return $node -is [TableNode]
}
}
@@ -0,0 +1,439 @@
using module ./SoftwareReport.BaseNodes.psm1
#########################################
### Nodes to describe image software ####
#########################################
# NodesFactory is used to simplify parsing different types of notes
# Every node has own logic of parsing and this method just invokes "FromJsonObject" of correct node type
class NodesFactory {
static [BaseNode] ParseNodeFromObject([object] $JsonObj) {
if ($JsonObj.NodeType -eq [HeaderNode].Name) {
return [HeaderNode]::FromJsonObject($JsonObj)
} elseif ($JsonObj.NodeType -eq [ToolVersionNode].Name) {
return [ToolVersionNode]::FromJsonObject($JsonObj)
} elseif ($JsonObj.NodeType -eq [ToolVersionsListNode].Name) {
return [ToolVersionsListNode]::FromJsonObject($JsonObj)
} elseif ($JsonObj.NodeType -eq [TableNode].Name) {
return [TableNode]::FromJsonObject($JsonObj)
} elseif ($JsonObj.NodeType -eq [NoteNode].Name) {
return [NoteNode]::FromJsonObject($JsonObj)
}
throw "Unknown node type in ParseNodeFromObject '$($JsonObj.NodeType)'"
}
}
class HeaderNode: BaseNode {
[ValidateNotNullOrEmpty()]
[String] $Title
[Collections.Generic.List[BaseNode]] $Children
HeaderNode([String] $Title) {
$this.Title = $Title
$this.Children = @()
}
[Boolean] ShouldBeIncludedToDiff() {
return $true
}
[void] AddNode([BaseNode] $node) {
$similarNode = $this.FindSimilarChildNode($node)
if ($similarNode) {
throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.`nFound node: $($similarNode.ToJsonObject() | ConvertTo-Json)`nNew node: $($node.ToJsonObject() | ConvertTo-Json)"
}
if (-not $this.IsNodeHasMarkdownHeader($node)) {
# If the node doesn't print own header to markdown, we should check that there is no other nodes that print header to markdown before it.
# It is done to avoid unexpected situation like this:
#
# HeaderNode A -> # A
# HeaderNode B -> ## B
# ToolVersionNode C -> - C
# ToolVersionNode D -> - D
#
# In this example, we add 'HeaderNode B" to 'HeaderNode A' and add 'ToolVersionNode C' to 'HeaderNode B'.
# Then we add 'ToolVersionNode D' to 'HeaderNode A'.
# But the result markdown will look like 'ToolVersionNode D' belongs to 'HeaderNode B' instead of 'HeaderNode A'.
$this.Children | Where-Object { $this.IsNodeHasMarkdownHeader($_) } | ForEach-Object {
throw "It is not allowed to add the non-header node after the header node. Consider adding the separate HeaderNode for this node"
}
}
$this.Children.Add($node)
}
[void] AddNodes([BaseNode[]] $nodes) {
$nodes | ForEach-Object {
$this.AddNode($_)
}
}
[HeaderNode] AddHeader([String] $Title) {
$node = [HeaderNode]::new($Title)
$this.AddNode($node)
return $node
}
[void] AddToolVersion([String] $ToolName, [String] $Version) {
$this.AddNode([ToolVersionNode]::new($ToolName, $Version))
}
[void] AddToolVersionsList([String] $ToolName, [String[]] $Version, [String] $MajorVersionRegex) {
$this.AddNode([ToolVersionsListNode]::new($ToolName, $Version, $MajorVersionRegex, "List"))
}
[void] AddToolVersionsListInline([String] $ToolName, [String[]] $Version, [String] $MajorVersionRegex) {
$this.AddNode([ToolVersionsListNode]::new($ToolName, $Version, $MajorVersionRegex, "Inline"))
}
[void] AddTable([PSCustomObject[]] $Table) {
$this.AddNode([TableNode]::FromObjectsArray($Table))
}
[void] AddNote([String] $Content) {
$this.AddNode([NoteNode]::new($Content))
}
[String] ToMarkdown([Int32] $Level) {
$sb = [System.Text.StringBuilder]::new()
$sb.AppendLine()
$sb.AppendLine("$("#" * $Level) $($this.Title)")
$this.Children | ForEach-Object {
$sb.AppendLine($_.ToMarkdown($Level + 1))
}
return $sb.ToString().TrimEnd()
}
[PSCustomObject] ToJsonObject() {
return [PSCustomObject]@{
NodeType = $this.GetType().Name
Title = $this.Title
Children = $this.Children | ForEach-Object { $_.ToJsonObject() }
}
}
static [HeaderNode] FromJsonObject([Object] $JsonObj) {
$node = [HeaderNode]::new($JsonObj.Title)
$JsonObj.Children | Where-Object { $_ } | ForEach-Object { $node.AddNode([NodesFactory]::ParseNodeFromObject($_)) }
return $node
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
if ($OtherNode.GetType() -ne [HeaderNode]) {
return $false
}
return $this.Title -eq $OtherNode.Title
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
return $this.IsSimilarTo($OtherNode)
}
[BaseNode] FindSimilarChildNode([BaseNode] $Find) {
foreach ($childNode in $this.Children) {
if ($childNode.IsSimilarTo($Find)) {
return $childNode
}
}
return $null
}
hidden [Boolean] IsNodeHasMarkdownHeader([BaseNode] $node) {
if ($node -is [HeaderNode]) {
return $true
}
if (($node -is [ToolVersionsListNode]) -and ($node.ListType -eq "List")) {
return $true
}
return $false
}
}
class ToolVersionNode: BaseToolNode {
[ValidateNotNullOrEmpty()]
[String] $Version
ToolVersionNode([String] $ToolName, [String] $Version): base($ToolName) {
if ([String]::IsNullOrEmpty($Version)) {
throw "ToolVersionNode '$($this.ToolName)' has empty version"
}
$this.Version = $Version
}
[String] ToMarkdown([Int32] $Level) {
return "- $($this.ToolName) $($this.Version)"
}
[String] GetValue() {
return $this.Version
}
[PSCustomObject] ToJsonObject() {
return [PSCustomObject]@{
NodeType = $this.GetType().Name
ToolName = $this.ToolName
Version = $this.Version
}
}
static [BaseNode] FromJsonObject([Object] $JsonObj) {
return [ToolVersionNode]::new($JsonObj.ToolName, $JsonObj.Version)
}
}
class ToolVersionsListNode: BaseToolNode {
[ValidateNotNullOrEmpty()]
[String[]] $Versions
[Regex] $MajorVersionRegex
[ValidateSet("List", "Inline")]
[String] $ListType
ToolVersionsListNode([String] $ToolName, [String[]] $Versions, [String] $MajorVersionRegex, [String] $ListType): base($ToolName) {
$this.Versions = $Versions
if ([String]::IsNullOrEmpty($Versions)) {
throw "ToolVersionsListNode '$($this.ToolName)' has empty versions list"
}
$this.MajorVersionRegex = [Regex]::new($MajorVersionRegex)
$this.ListType = $ListType
$this.ValidateMajorVersionRegex()
}
[String] ToMarkdown([Int32] $Level) {
if ($this.ListType -eq "Inline") {
return "- $($this.ToolName): $($this.Versions -join ', ')"
}
$sb = [System.Text.StringBuilder]::new()
$sb.AppendLine()
$sb.AppendLine("$("#" * $Level) $($this.ToolName)")
$this.Versions | ForEach-Object {
$sb.AppendLine("- $_")
}
return $sb.ToString().TrimEnd()
}
[String] GetValue() {
return $this.Versions -join ', '
}
[String] ExtractMajorVersion([String] $Version) {
$match = $this.MajorVersionRegex.Match($Version)
if (($match.Success -ne $true) -or [String]::IsNullOrEmpty($match.Groups[0].Value)) {
throw "Version '$Version' doesn't match regex '$($this.PrimaryVersionRegex)'"
}
return $match.Groups[0].Value
}
[PSCustomObject] ToJsonObject() {
return [PSCustomObject]@{
NodeType = $this.GetType().Name
ToolName = $this.ToolName
Versions = $this.Versions
MajorVersionRegex = $this.MajorVersionRegex.ToString()
ListType = $this.ListType
}
}
static [ToolVersionsListNode] FromJsonObject([Object] $JsonObj) {
return [ToolVersionsListNode]::new($JsonObj.ToolName, $JsonObj.Versions, $JsonObj.MajorVersionRegex, $JsonObj.ListType)
}
hidden [void] ValidateMajorVersionRegex() {
$this.Versions | Group-Object { $this.ExtractMajorVersion($_) } | ForEach-Object {
if ($_.Count -gt 1) {
throw "Multiple versions from list '$($this.GetValue())' return the same result from regex '$($this.MajorVersionRegex)': $($_.Name)"
}
}
}
}
class TableNode: BaseNode {
# It is easier to store the table as rendered lines because it will simplify finding differences in rows later
[ValidateNotNullOrEmpty()]
[String] $Headers
[ValidateNotNullOrEmpty()]
[String[]] $Rows
TableNode([String] $Headers, [String[]] $Rows) {
$this.Headers = $Headers
$this.Rows = $Rows
$columnsCount = $this.Headers.Split("|").Count
$this.Rows | ForEach-Object {
if ($_.Split("|").Count -ne $columnsCount) {
throw "Table has different number of columns in different rows"
}
}
}
[Boolean] ShouldBeIncludedToDiff() {
return $true
}
[String] ToMarkdown([Int32] $Level) {
$maxColumnWidths = $this.CalculateColumnsWidth()
$columnsCount = $maxColumnWidths.Count
$delimiterLine = [String]::Join("|", @("-") * $columnsCount)
$sb = [System.Text.StringBuilder]::new()
@($this.Headers) + @($delimiterLine) + $this.Rows | ForEach-Object {
$sb.Append("|")
$row = $_.Split("|")
for ($colIndex = 0; $colIndex -lt $columnsCount; $colIndex++) {
$padSymbol = $row[$colIndex] -eq "-" ? "-" : " "
$cellContent = $row[$colIndex].PadRight($maxColumnWidths[$colIndex], $padSymbol)
$sb.Append(" $($cellContent) |")
}
$sb.AppendLine()
}
return $sb.ToString().TrimEnd()
}
hidden [Int32[]] CalculateColumnsWidth() {
$maxColumnWidths = $this.Headers.Split("|") | ForEach-Object { $_.Length }
$columnsCount = $maxColumnWidths.Count
$this.Rows | ForEach-Object {
$columnWidths = $_.Split("|") | ForEach-Object { $_.Length }
for ($colIndex = 0; $colIndex -lt $columnsCount; $colIndex++) {
$maxColumnWidths[$colIndex] = [Math]::Max($maxColumnWidths[$colIndex], $columnWidths[$colIndex])
}
}
return $maxColumnWidths
}
[PSCustomObject] ToJsonObject() {
return [PSCustomObject]@{
NodeType = $this.GetType().Name
Headers = $this.Headers
Rows = $this.Rows
}
}
static [TableNode] FromJsonObject([Object] $JsonObj) {
return [TableNode]::new($JsonObj.Headers, $JsonObj.Rows)
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
if ($OtherNode.GetType() -ne [TableNode]) {
return $false
}
# We don't support having multiple TableNode instances on the same header level so such check is fine
return $true
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
if (-not $this.IsSimilarTo($OtherNode)) {
return $false
}
# We don't compare $this.Headers intentionally
# It is fine to ignore the tables where headers are changed but rows are not changed
if ($this.Rows.Count -ne $OtherNode.Rows.Count) {
return $false
}
for ($rowIndex = 0; $rowIndex -lt $this.Rows.Count; $rowIndex++) {
if ($this.Rows[$rowIndex] -ne $OtherNode.Rows[$rowIndex]) {
return $false
}
}
return $true
}
static [TableNode] FromObjectsArray([PSCustomObject[]] $Table) {
if ($Table.Count -eq 0) {
throw "Failed to create TableNode from empty objects array"
}
[String] $tableHeaders = [TableNode]::ArrayToTableRow($Table[0].PSObject.Properties.Name)
[Collections.Generic.List[String]] $tableRows = @()
$Table | ForEach-Object {
$rowHeaders = [TableNode]::ArrayToTableRow($_.PSObject.Properties.Name)
if (($rowHeaders -ne $tableHeaders)) {
throw "Failed to create TableNode from objects array because objects have different properties"
}
$tableRows.Add([TableNode]::ArrayToTableRow($_.PSObject.Properties.Value))
}
return [TableNode]::new($tableHeaders, $tableRows)
}
hidden static [String] ArrayToTableRow([String[]] $Values) {
if ($Values.Count -eq 0) {
throw "Failed to create TableNode because some objects are empty"
}
$Values | ForEach-Object {
if ($_.Contains("|")) {
throw "Failed to create TableNode because some cells '$_' contains forbidden symbol '|'"
}
}
return [String]::Join("|", $Values)
}
}
class NoteNode: BaseNode {
[ValidateNotNullOrEmpty()]
[String] $Content
NoteNode([String] $Content) {
$this.Content = $Content
}
[String] ToMarkdown([Int32] $Level) {
return @(
'```',
$this.Content,
'```'
) -join "`n"
}
[PSCustomObject] ToJsonObject() {
return [PSCustomObject]@{
NodeType = $this.GetType().Name
Content = $this.Content
}
}
static [NoteNode] FromJsonObject([Object] $JsonObj) {
return [NoteNode]::new($JsonObj.Content)
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
if ($OtherNode.GetType() -ne [NoteNode]) {
return $false
}
return $this.Content -eq $OtherNode.Content
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
return $this.IsSimilarTo($OtherNode)
}
}
@@ -0,0 +1,34 @@
using module ./SoftwareReport.BaseNodes.psm1
using module ./SoftwareReport.Nodes.psm1
class SoftwareReport {
[ValidateNotNullOrEmpty()]
[HeaderNode] $Root
SoftwareReport([String] $Title) {
$this.Root = [HeaderNode]::new($Title)
}
SoftwareReport([HeaderNode] $Root) {
$this.Root = $Root
}
[String] ToJson() {
return $this.Root.ToJsonObject() | ConvertTo-Json -Depth 10
}
static [SoftwareReport] FromJson([String] $JsonString) {
$jsonObj = $JsonString | ConvertFrom-Json
$rootNode = [NodesFactory]::ParseNodeFromObject($jsonObj)
return [SoftwareReport]::new($rootNode)
}
[String] ToMarkdown() {
return $this.Root.ToMarkdown().Trim()
}
[String] GetImageVersion() {
$imageVersionNode = $this.Root.Children ?? @() | Where-Object { ($_ -is [ToolVersionNode]) -and ($_.ToolName -eq "Image Version:") } | Select-Object -First 1
return $imageVersionNode.Version ?? "Unknown version"
}
}
@@ -0,0 +1,558 @@
using module ../SoftwareReport.psm1
using module ../SoftwareReport.DifferenceCalculator.psm1
Describe "Comparer.E2E" {
It "Some tools are updated" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.1 (20G817)")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevTools = $prevInstalledSoftware.AddHeader("Tools")
$prevTools.AddToolVersion("ToolWillBeUpdated1", "1.0.0")
$prevTools.AddToolVersion("ToolWillBeUpdated2", "3.0.1")
$prevTools.AddToolVersionsList("ToolWillBeUpdated3", @("14.0.0", "15.5.1"), "^\d+")
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.1 (20G817)")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.1")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextTools = $nextInstalledSoftware.AddHeader("Tools")
$nextTools.AddToolVersion("ToolWillBeUpdated1", "2.5.0")
$nextTools.AddToolVersion("ToolWillBeUpdated2", "3.0.2")
$nextTools.AddToolVersionsList("ToolWillBeUpdated3", @("14.2.0", "15.5.1"), "^\d+")
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- OS Version: macOS 11.7.1 (20G817)
- Image Version: 20220922.1
## :mega: What's changed?
### Updated
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Previous (20220918.1)</th>
<th>Current (20220922.1)</th>
</thead>
<tbody>
<tr>
<td rowspan="3">Tools</td>
<td>ToolWillBeUpdated1</td>
<td>1.0.0</td>
<td>2.5.0</td>
</tr>
<tr>
<td>ToolWillBeUpdated2</td>
<td>3.0.1</td>
<td>3.0.2</td>
</tr>
<tr>
<td>ToolWillBeUpdated3</td>
<td>14.0.0</td>
<td>14.2.0</td>
</tr>
</tbody>
</table>
'@
}
It "Some tools are updated, added and removed" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.1 (20G817)")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevLanguagesAndRuntimes = $prevInstalledSoftware.AddHeader("Language and Runtime")
$prevLanguagesAndRuntimes.AddToolVersion("ToolWillBeRemoved", "5.1.16(1)-release")
$prevLanguagesAndRuntimes.AddToolVersionsListInline("ToolWithMultipleVersions3", @("1.2.100", "1.2.200", "1.3.500", "1.4.100", "1.4.200"), "^\d+\.\d+\.\d")
$prevLanguagesAndRuntimes.AddToolVersion("ToolWithoutChanges", "5.34.0")
$prevLanguagesAndRuntimes.AddToolVersion("ToolWillBeUpdated", "8.1.0")
$prevCachedTools = $prevInstalledSoftware.AddHeader("Cached Tools")
$prevCachedTools.AddToolVersionsList("ToolWithMultipleVersions1", @("2.7.3", "2.8.1", "3.1.2"), "^\d+\.\d+")
$prevCachedTools.AddToolVersionsList("ToolWithMultipleVersions2", @("14.8.0", "15.1.0", "16.4.2"), "^\d+")
$prevSQLSection = $prevInstalledSoftware.AddHeader("Databases")
$prevSQLSection.AddToolVersion("MineSQL", "6.1.0")
$prevSQLSection.AddNote("First Note")
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.2 (20G922)")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.0")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextLanguagesAndRuntimes = $nextInstalledSoftware.AddHeader("Language and Runtime")
$nextLanguagesAndRuntimes.AddToolVersion("ToolWillBeAdded", "16.18.0")
$nextLanguagesAndRuntimes.AddToolVersionsListInline("ToolWithMultipleVersions3", @("1.2.200", "1.3.515", "1.4.100", "1.4.200", "1.5.800"), "^\d+\.\d+\.\d")
$nextLanguagesAndRuntimes.AddToolVersion("ToolWithoutChanges", "5.34.0")
$nextLanguagesAndRuntimes.AddToolVersion("ToolWillBeUpdated", "8.3.0")
$nextCachedTools = $nextInstalledSoftware.AddHeader("Cached Tools")
$nextCachedTools.AddToolVersionsList("ToolWithMultipleVersions1", @("2.7.3", "2.8.1", "3.1.2"), "^\d+\.\d+")
$nextCachedTools.AddToolVersionsList("ToolWithMultipleVersions2", @("15.1.0", "16.4.2", "17.0.1"), "^\d+")
$nextSQLSection = $nextInstalledSoftware.AddHeader("Databases")
$nextSQLSection.AddToolVersion("MineSQL", "6.1.1")
$nextSQLSection.AddNote("Second Note")
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- OS Version: macOS 11.7.2 (20G922)
- Image Version: 20220922.0
## :mega: What's changed?
### Added :heavy_plus_sign:
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Current (20220922.0)</th>
</thead>
<tbody>
<tr>
<td rowspan="2">Language and Runtime</td>
<td>ToolWillBeAdded</td>
<td>16.18.0</td>
</tr>
<tr>
<td>ToolWithMultipleVersions3</td>
<td>1.5.800</td>
</tr>
<tr>
<td rowspan="1">Cached Tools</td>
<td>ToolWithMultipleVersions2</td>
<td>17.0.1</td>
</tr>
</tbody>
</table>
### Deleted :heavy_minus_sign:
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Previous (20220918.1)</th>
</thead>
<tbody>
<tr>
<td rowspan="2">Language and Runtime</td>
<td>ToolWithMultipleVersions3</td>
<td>1.2.100</td>
</tr>
<tr>
<td>ToolWillBeRemoved</td>
<td>5.1.16(1)-release</td>
</tr>
<tr>
<td rowspan="1">Cached Tools</td>
<td>ToolWithMultipleVersions2</td>
<td>14.8.0</td>
</tr>
</tbody>
</table>
### Updated
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Previous (20220918.1)</th>
<th>Current (20220922.0)</th>
</thead>
<tbody>
<tr>
<td rowspan="1"></td>
<td>OS Version</td>
<td>macOS 11.7.1 (20G817)</td>
<td>macOS 11.7.2 (20G922)</td>
</tr>
<tr>
<td rowspan="2">Language and Runtime</td>
<td>ToolWithMultipleVersions3</td>
<td>1.3.500</td>
<td>1.3.515</td>
</tr>
<tr>
<td>ToolWillBeUpdated</td>
<td>8.1.0</td>
<td>8.3.0</td>
</tr>
<tr>
<td rowspan="1">Databases</td>
<td>MineSQL</td>
<td>6.1.0</td>
<td>6.1.1</td>
</tr>
</tbody>
</table>
'@
}
It "Header tree changes" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevInstalledSoftware.AddToolVersion("ToolWithoutChanges", "5.34.0")
$prevInstalledSoftware.AddHeader("HeaderWillBeRemoved").AddHeader("SubheaderWillBeRemoved").AddToolVersion("ToolWillBeRemoved", "1.0.0")
$prevInstalledSoftware.AddHeader("Header1").AddToolVersion("ToolWillBeMovedToAnotherHeader", "3.0.0")
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.0")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextInstalledSoftware.AddToolVersion("ToolWithoutChanges", "5.34.0")
$nextInstalledSoftware.AddHeader("HeaderWillBeAdded").AddHeader("SubheaderWillBeAdded").AddToolVersion("ToolWillBeAdded", "5.0.0")
$nextInstalledSoftware.AddHeader("Header2").AddToolVersion("ToolWillBeMovedToAnotherHeader", "3.0.0")
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- Image Version: 20220922.0
## :mega: What's changed?
### Added :heavy_plus_sign:
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Current (20220922.0)</th>
</thead>
<tbody>
<tr>
<td rowspan="1">HeaderWillBeAdded ><br> SubheaderWillBeAdded</td>
<td>ToolWillBeAdded</td>
<td>5.0.0</td>
</tr>
<tr>
<td rowspan="1">Header2</td>
<td>ToolWillBeMovedToAnotherHeader</td>
<td>3.0.0</td>
</tr>
</tbody>
</table>
### Deleted :heavy_minus_sign:
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Previous (20220918.1)</th>
</thead>
<tbody>
<tr>
<td rowspan="1">HeaderWillBeRemoved ><br> SubheaderWillBeRemoved</td>
<td>ToolWillBeRemoved</td>
<td>1.0.0</td>
</tr>
<tr>
<td rowspan="1">Header1</td>
<td>ToolWillBeMovedToAnotherHeader</td>
<td>3.0.0</td>
</tr>
</tbody>
</table>
'@
}
It "Tables are added and removed" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevInstalledSoftware.AddHeader("HeaderWillExist").AddTable(@(
[PSCustomObject]@{TableInExistingHeaderWillBeRemoved = "Q"; Value = "25"},
[PSCustomObject]@{TableInExistingHeaderWillBeRemoved = "O"; Value = "24"}
))
$prevTools = $prevInstalledSoftware.AddHeader("Tools")
$prevTools.AddHeader("HeaderWillBeRemoved").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "Z"; Value = "30"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "W"; Value = "29"}
))
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.1")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextInstalledSoftware.AddHeader("HeaderWillExist")
$nextTools = $nextInstalledSoftware.AddHeader("Tools")
$nextTools.AddToolVersion("ToolWillBeAdded", "3.0.1")
$nextTools.AddTable(@(
[PSCustomObject]@{NewTableInExistingHeader = "A"; Value = "1"},
[PSCustomObject]@{NewTableInExistingHeader = "B"; Value = "2"}
))
$nextTools.AddHeader("NewHeaderWithTable").AddTable(@(
[PSCustomObject]@{NewTableInNewHeader = "C"; Value = "3"},
[PSCustomObject]@{NewTableInNewHeader = "D"; Value = "4"}
))
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- Image Version: 20220922.1
## :mega: What's changed?
### Added :heavy_plus_sign:
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Current (20220922.1)</th>
</thead>
<tbody>
<tr>
<td rowspan="1">Tools</td>
<td>ToolWillBeAdded</td>
<td>3.0.1</td>
</tr>
</tbody>
</table>
#### Tools
| NewTableInExistingHeader | Value |
| ------------------------ | ----- |
| A | 1 |
| B | 2 |
#### Tools > NewHeaderWithTable
| NewTableInNewHeader | Value |
| ------------------- | ----- |
| C | 3 |
| D | 4 |
### Deleted :heavy_minus_sign:
#### HeaderWillExist
| TableInExistingHeaderWillBeRemoved | Value |
| ---------------------------------- | ------ |
| ~~Q~~ | ~~25~~ |
| ~~O~~ | ~~24~~ |
#### Tools > HeaderWillBeRemoved
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ------ |
| ~~Z~~ | ~~30~~ |
| ~~W~~ | ~~29~~ |
'@
}
It "Tables are changed" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevTools = $prevInstalledSoftware.AddHeader("Tools")
$prevTools.AddHeader("TableWithAddedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "AA"; Value = "10"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "AB"; Value = "11"}
))
$prevTools.AddHeader("TableWithRemovedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "BA"; Value = "32"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "BB"; Value = "33"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "BC"; Value = "34"}
))
$prevTools.AddHeader("TableWithUpdatedRow").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CA"; Value = "42"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CB"; Value = "43"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CC"; Value = "44"}
))
$prevTools.AddHeader("TableWithUpdatedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DA"; Value = "50"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DB"; Value = "51"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DC"; Value = "52"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DD"; Value = "53"}
))
$prevTools.AddHeader("TableWithComplexChanges").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EA"; Value = "62"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EB"; Value = "63"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EC"; Value = "64"}
[PSCustomObject]@{TableWillBeRemovedWithHeader = "ED"; Value = "65"}
))
$prevTools.AddHeader("TableWithOnlyHeaderChanged").AddTable(@(
[PSCustomObject]@{TableWithOnlyHeaderChanged = "FA"; Value = "72"},
[PSCustomObject]@{TableWithOnlyHeaderChanged = "FB"; Value = "73"}
))
$prevTools.AddHeader("TableWithHeaderAndRowsChanges").AddTable(@(
[PSCustomObject]@{TableWithHeaderAndRowsChanges = "GA"; Value = "82"},
[PSCustomObject]@{TableWithHeaderAndRowsChanges = "GB"; Value = "83"},
[PSCustomObject]@{TableWithHeaderAndRowsChanges = "GC"; Value = "84"}
))
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.1")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextTools = $nextInstalledSoftware.AddHeader("Tools")
$nextTools.AddHeader("TableWithAddedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "AA"; Value = "10"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "AB"; Value = "11"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "AC"; Value = "12"}
))
$nextTools.AddHeader("TableWithRemovedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "BB"; Value = "33"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "BC"; Value = "34"}
))
$nextTools.AddHeader("TableWithUpdatedRow").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CA"; Value = "42"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CB"; Value = "500"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "CC"; Value = "44"}
))
$nextTools.AddHeader("TableWithUpdatedRows").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DA"; Value = "50"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DB"; Value = "5100"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DC"; Value = "5200"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "DD"; Value = "53"}
))
$nextTools.AddHeader("TableWithComplexChanges").AddTable(@(
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EB"; Value = "63"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EC"; Value = "640"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "ED"; Value = "65"},
[PSCustomObject]@{TableWillBeRemovedWithHeader = "EE"; Value = "66"}
))
$nextTools.AddHeader("TableWithOnlyHeaderChanged").AddTable(@(
[PSCustomObject]@{TableWithOnlyHeaderChanged2 = "FA"; Value = "72"},
[PSCustomObject]@{TableWithOnlyHeaderChanged2 = "FB"; Value = "73"}
))
$nextTools.AddHeader("TableWithHeaderAndRowsChanges").AddTable(@(
[PSCustomObject]@{TableWithHeaderAndRowsChanges2 = "GA"; Value = "82"},
[PSCustomObject]@{TableWithHeaderAndRowsChanges2 = "GE"; Value = "850"},
[PSCustomObject]@{TableWithHeaderAndRowsChanges2 = "GC"; Value = "840"}
))
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- Image Version: 20220922.1
## :mega: What's changed?
### Added :heavy_plus_sign:
#### Tools > TableWithAddedRows
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ----- |
| AC | 12 |
#### Tools > TableWithHeaderAndRowsChanges
| TableWithHeaderAndRowsChanges2 | Value |
| ------------------------------ | ----- |
| GA | 82 |
| GE | 850 |
| GC | 840 |
### Deleted :heavy_minus_sign:
#### Tools > TableWithRemovedRows
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ------ |
| ~~BA~~ | ~~32~~ |
#### Tools > TableWithHeaderAndRowsChanges
| TableWithHeaderAndRowsChanges | Value |
| ----------------------------- | ------ |
| ~~GA~~ | ~~82~~ |
| ~~GB~~ | ~~83~~ |
| ~~GC~~ | ~~84~~ |
### Updated
#### Tools > TableWithUpdatedRow
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ------ |
| ~~CB~~ | ~~43~~ |
| CB | 500 |
#### Tools > TableWithUpdatedRows
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ------ |
| ~~DB~~ | ~~51~~ |
| ~~DC~~ | ~~52~~ |
| DB | 5100 |
| DC | 5200 |
#### Tools > TableWithComplexChanges
| TableWillBeRemovedWithHeader | Value |
| ---------------------------- | ------ |
| ~~EA~~ | ~~62~~ |
| ~~EC~~ | ~~64~~ |
| EC | 640 |
| EE | 66 |
'@
}
It "Reports are identical" {
# Previous report
$prevSoftwareReport = [SoftwareReport]::new("macOS 11")
$prevSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.1 (20G817)")
$prevSoftwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$prevInstalledSoftware = $prevSoftwareReport.Root.AddHeader("Installed Software")
$prevTools = $prevInstalledSoftware.AddHeader("Tools")
$prevTools.AddToolVersion("ToolA", "1.0.0")
$prevTools.AddToolVersion("ToolB", "3.0.1")
# Next report
$nextSoftwareReport = [SoftwareReport]::new("macOS 11")
$nextSoftwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7.1 (20G817)")
$nextSoftwareReport.Root.AddToolVersion("Image Version:", "20220922.1")
$nextInstalledSoftware = $nextSoftwareReport.Root.AddHeader("Installed Software")
$nextTools = $nextInstalledSoftware.AddHeader("Tools")
$nextTools.AddToolVersion("ToolA", "1.0.0")
$nextTools.AddToolVersion("ToolB", "3.0.1")
# Compare reports
$comparer = [SoftwareReportDifferenceCalculator]::new($prevSoftwareReport, $nextSoftwareReport)
$comparer.CompareReports()
$comparer.GetMarkdownReport() | Should -BeExactly @'
# :desktop_computer: Actions Runner Image: macOS 11
- OS Version: macOS 11.7.1 (20G817)
- Image Version: 20220922.1
## :mega: What's changed?
'@
}
}
@@ -0,0 +1,603 @@
using module ../SoftwareReport.Nodes.psm1
using module ../SoftwareReport.DifferenceCalculator.psm1
BeforeDiscovery {
Import-Module $(Join-Path $PSScriptRoot "TestHelpers.psm1") -DisableNameChecking
}
Describe "Comparer.UnitTests" {
Describe "Headers Tree" {
It "Add Node to existing header" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersion("MyTool1", "2.1.3")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Version | Should -Be "2.1.3"
$comparer.AddedItems[0].Headers | Should -BeArray @("MyHeader")
}
It "Add new header with Node" {
$prevReport = [HeaderNode]::new("Version 1")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddHeader("MySubHeader").AddToolVersion("MyTool1", "2.1.3")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Version | Should -Be "2.1.3"
$comparer.AddedItems[0].Headers | Should -BeArray @("MyHeader", "MySubHeader")
}
It "Remove Node from existing header" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
$comparer.DeletedItems[0].Headers | Should -BeArray @("MyHeader")
}
It "Remove header with Node" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
$comparer.DeletedItems[0].Headers | Should -BeArray @("MyHeader", "MySubheader")
}
It "Node with minor changes" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.4")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Version | Should -Be "2.1.4"
$comparer.ChangedItems[0].Headers | Should -BeArray @("MyHeader", "MySubHeader")
}
It "Node without changes" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.3")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
}
It "Node is moved to different header" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddHeader("MySubheader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddHeader("MySubheader2").AddToolVersion("MyTool1", "2.1.3")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Version | Should -Be "2.1.3"
$comparer.AddedItems[0].Headers | Should -BeArray @("MyHeader", "MySubheader2")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
$comparer.DeletedItems[0].Headers | Should -BeArray @("MyHeader", "MySubheader")
}
It "Complex structure" {
$prevReport = [HeaderNode]::new("Version 1")
$prevSubHeader = $prevReport.AddHeader("MyHeader").AddHeader("MySubheader")
$prevSubHeader.AddToolVersion("MyTool1", "2.1.3")
$prevSubHeader.AddHeader("MySubSubheader").AddToolVersion("MyTool2", "2.9.1")
$prevReport.AddHeader("MyHeader2")
$prevReport.AddHeader("MyHeader3").AddHeader("MySubheader3").AddToolVersion("MyTool3", "14.2.1")
$nextReport = [HeaderNode]::new("Version 2")
$nextSubHeader = $nextReport.AddHeader("MyHeader").AddHeader("MySubheader")
$nextSubHeader.AddToolVersion("MyTool1", "2.1.4")
$nextSubSubHeader = $nextSubHeader.AddHeader("MySubSubheader")
$nextSubSubHeader.AddToolVersion("MyTool2", "2.9.1")
$nextSubSubHeader.AddToolVersion("MyTool4", "2.7.6")
$nextReport.AddHeader("MyHeader2")
$nextReport.AddHeader("MyHeader3")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool4"
$comparer.AddedItems[0].CurrentReportNode.Version | Should -Be "2.7.6"
$comparer.AddedItems[0].Headers | Should -BeArray @("MyHeader", "MySubheader", "MySubSubheader")
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Version | Should -Be "2.1.4"
$comparer.ChangedItems[0].Headers | Should -BeArray @("MyHeader", "MySubheader")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool3"
$comparer.DeletedItems[0].PreviousReportNode.Version | Should -Be "14.2.1"
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
$comparer.DeletedItems[0].Headers | Should -BeArray @("MyHeader3", "MySubheader3")
}
}
Describe "ToolVersionNode" {
It "ToolVersionNode is updated" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersion("MyTool1", "2.1.3")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersion("MyTool1", "2.1.4")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Version | Should -Be "2.1.3"
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Version | Should -Be "2.1.4"
$comparer.ChangedItems[0].Headers | Should -BeArray @("MyHeader")
}
}
Describe "ToolVersionsListNode" {
It "Single version is not changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3"), "^.+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3"), "^.+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
}
It "Single version is changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3"), "^\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.4"), "^\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Versions | Should -BeArray @("2.1.3")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Versions | Should -BeArray @("2.1.4")
}
It "Major version is added" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3"), "^\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3", "3.1.4"), "^\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Versions | Should -BeArray @("3.1.4")
}
It "Major version is removed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3", "3.1.4"), "^\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("3.1.4"), "^\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Versions | Should -BeArray @("2.1.3")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
}
It "Major version is changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("3.1.4"), "^\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("3.2.0"), "^\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Versions | Should -BeArray @("3.1.4")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Versions | Should -BeArray @("3.2.0")
}
It "Major version is added, removed and updated at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("1.0.0", "2.1.3", "3.1.4", "4.0.2"), "^\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.1.3", "3.2.0", "4.0.2", "5.1.0"), "^\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Versions | Should -BeArray @("5.1.0")
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Versions | Should -BeArray @("3.1.4")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Versions | Should -BeArray @("3.2.0")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Versions | Should -BeArray @("1.0.0")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
}
It "Minor version is added, removed and updated at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.3.8", "2.4.9", "2.5.3", "2.6.0", "2.7.4", "2.8.0"), "^\d+\.\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.5.3", "2.6.2", "2.7.5", "2.8.0", "2.9.2", "2.10.3"), "^\d+\.\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Versions | Should -BeArray @("2.9.2", "2.10.3")
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].PreviousReportNode.Versions | Should -BeArray @("2.6.0", "2.7.4")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.ChangedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.ChangedItems[0].CurrentReportNode.Versions | Should -BeArray @("2.6.2", "2.7.5")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Versions | Should -BeArray @("2.3.8", "2.4.9")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
}
It "Patch version is added, removed and updated at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.3.8", "2.4.9", "2.5.3", "2.6.0", "2.7.4"), "^\d+\.\d+\.\d+")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddToolVersionsList("MyTool1", @("2.4.9", "2.5.4", "2.6.0", "2.7.5", "2.8.2"), "^\d+\.\d+\.\d+")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.AddedItems[0].CurrentReportNode.ToolName | Should -Be "MyTool1"
$comparer.AddedItems[0].CurrentReportNode.Versions | Should -BeArray @("2.5.4", "2.7.5", "2.8.2")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([ToolVersionsListNode])
$comparer.DeletedItems[0].PreviousReportNode.ToolName | Should -Be "MyTool1"
$comparer.DeletedItems[0].PreviousReportNode.Versions | Should -BeArray @("2.3.8", "2.5.3", "2.7.4")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
}
}
Describe "TableNode" {
It "Rows are added" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2", "C1|C2", "D1|D2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
$comparer.AddedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.AddedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.AddedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2")
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.AddedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value"
$comparer.AddedItems[0].CurrentReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2", "C1|C2", "D1|D2")
}
It "Rows are deleted" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2", "C1|C2", "D1|D2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("C1|C2", "D1|D2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.DeletedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.DeletedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2", "C1|C2", "D1|D2")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.DeletedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value"
$comparer.DeletedItems[0].CurrentReportNode.Rows | Should -BeArray @("C1|C2", "D1|D2")
}
It "Rows are changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B3|B4")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].CurrentReportNode.Rows | Should -BeArray @("A1|A2", "B3|B4")
}
It "Rows are changed and updated at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B3|B4", "C1|C2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].CurrentReportNode.Rows | Should -BeArray @("A1|A2", "B3|B4", "C1|C2")
}
It "Rows are changed and removed at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2", "C1|C2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B3|B4")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 1
$comparer.DeletedItems | Should -HaveCount 0
$comparer.ChangedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2", "C1|C2")
$comparer.ChangedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.ChangedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value"
$comparer.ChangedItems[0].CurrentReportNode.Rows | Should -BeArray @("A1|A2", "B3|B4")
}
It "Rows are not changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
}
It "Rows are not changed but header is changed" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value2", @("A1|A2", "B1|B2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
}
It "Rows are changed and header is changed at the same time" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value", @("A1|A2", "B1|B2")))
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddHeader("MyHeader").AddNode([TableNode]::new("Name|Value2", @("A1|A2", "B1|B2", "C1|C2")))
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 1
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 1
$comparer.AddedItems[0].PreviousReportNode | Should -BeNullOrEmpty
$comparer.AddedItems[0].CurrentReportNode | Should -BeOfType ([TableNode])
$comparer.AddedItems[0].CurrentReportNode.Headers | Should -Be "Name|Value2"
$comparer.AddedItems[0].CurrentReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2", "C1|C2")
$comparer.DeletedItems[0].PreviousReportNode | Should -BeOfType ([TableNode])
$comparer.DeletedItems[0].PreviousReportNode.Headers | Should -Be "Name|Value"
$comparer.DeletedItems[0].PreviousReportNode.Rows | Should -BeArray @("A1|A2", "B1|B2")
$comparer.DeletedItems[0].CurrentReportNode | Should -BeNullOrEmpty
}
}
Describe "NoteNode" {
It "NoteNode is ignored from report" {
$prevReport = [HeaderNode]::new("Version 1")
$prevReport.AddNote("MyFirstNote")
$prevReport.AddHeader("MyFirstHeader").AddNote("MyFirstSubNote")
$nextReport = [HeaderNode]::new("Version 2")
$nextReport.AddNote("MySecondNote")
$nextReport.AddHeader("MySecondHeader").AddNote("MySecondSubNote")
$comparer = [SoftwareReportDifferenceCalculator]::new($prevReport, $nextReport)
$comparer.CompareReports()
$comparer.AddedItems | Should -HaveCount 0
$comparer.ChangedItems | Should -HaveCount 0
$comparer.DeletedItems | Should -HaveCount 0
}
}
}
@@ -0,0 +1,291 @@
using module ../SoftwareReport.Nodes.psm1
using module ../SoftwareReport.DifferenceRender.psm1
BeforeDiscovery {
Import-Module $(Join-Path $PSScriptRoot "TestHelpers.psm1") -DisableNameChecking
}
Describe "ComparerReport.UnitTests" {
BeforeAll {
$script:DifferenceRender = [SoftwareReportDifferenceRender]::new()
}
Context "CalculateHtmlTableRowSpan" {
It "Without the equal cells" {
$table = @(
[PSCustomObject]@{ Key = "A"; Value = "1" }
[PSCustomObject]@{ Key = "B"; Value = "2" }
[PSCustomObject]@{ Key = "C"; Value = "3" }
)
$actual = $DifferenceRender.CalculateHtmlTableRowSpan($table, "Key")
$actual | Should -BeArray @(1, 1, 1)
}
It "Only equal cells" {
$table = @(
[PSCustomObject]@{ Key = "A"; Value = "D" }
[PSCustomObject]@{ Key = "B"; Value = "D" }
[PSCustomObject]@{ Key = "C"; Value = "D" }
)
$actual = $DifferenceRender.CalculateHtmlTableRowSpan($table, "Value")
$actual | Should -BeArray @(3, 0, 0)
}
It "Single row" {
$table = @(
[PSCustomObject]@{ Key = "A"; Value = "1" }
)
$actual = $DifferenceRender.CalculateHtmlTableRowSpan($table, "Key")
$actual | Should -BeArray @(1)
}
It "Different cells" {
$table = @(
[PSCustomObject]@{ Key = "A"; Value = "1" }
[PSCustomObject]@{ Key = "B"; Value = "2" }
[PSCustomObject]@{ Key = "B"; Value = "3" }
[PSCustomObject]@{ Key = "C"; Value = "4" }
[PSCustomObject]@{ Key = "C"; Value = "5" }
[PSCustomObject]@{ Key = "C"; Value = "6" }
[PSCustomObject]@{ Key = "D"; Value = "7" }
[PSCustomObject]@{ Key = "E"; Value = "8" }
[PSCustomObject]@{ Key = "E"; Value = "9" }
[PSCustomObject]@{ Key = "F"; Value = "10" }
)
$actual = $DifferenceRender.CalculateHtmlTableRowSpan($table, "Key")
$actual | Should -BeArray @(1, 2, 0, 3, 0, 0, 1, 2, 0, 1)
}
}
Context "RenderCategory" {
It "With line separator" {
$actual = $DifferenceRender.RenderCategory(@("Header 1", "Header 2", "Header 3"), $true)
$actual | Should -Be "Header 2 ><br> Header 3"
}
It "Without line separator" {
$actual = $DifferenceRender.RenderCategory(@("Header 1", "Header 2", "Header 3"), $false)
$actual | Should -Be "Header 2 > Header 3"
}
It "One header" {
$actual = $DifferenceRender.RenderCategory(@("Header 1"), $false)
$actual | Should -Be ""
}
It "Empty headers" {
$actual = $DifferenceRender.RenderCategory(@(), $false)
$actual | Should -Be ""
}
}
Context "RenderToolName" {
It "Clear tool name" {
$actual = $DifferenceRender.RenderToolName("My Tool 1")
$actual | Should -Be "My Tool 1"
}
It "Name with colon symbol" {
$actual = $DifferenceRender.RenderToolName("My Tool 1:")
$actual | Should -Be "My Tool 1"
}
}
Context "StrikeTableRow" {
It "Simple row" {
$actual = $DifferenceRender.StrikeTableRow("Test1|Test2|Test3")
$actual | Should -Be "~~Test1~~|~~Test2~~|~~Test3~~"
}
It "Row with spaces" {
$actual = $DifferenceRender.StrikeTableRow("Test 1|Test 2|Test 3")
$actual | Should -Be "~~Test 1~~|~~Test 2~~|~~Test 3~~"
}
}
Context "RenderHtmlTable" {
It "Simple table" {
$table = @(
[PSCustomObject]@{ "Category" = "A"; "Tool name" = "My Tool 1"; "Version" = "1.0" },
[PSCustomObject]@{ "Category" = "B"; "Tool name" = "My Tool 2"; "Version" = "2.0" },
[PSCustomObject]@{ "Category" = "C"; "Tool name" = "My Tool 3"; "Version" = "3.0" }
)
$renderedTable = $DifferenceRender.RenderHtmlTable($table, "Category")
$renderedTable | Should -Be @'
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Version</th>
</thead>
<tbody>
<tr>
<td rowspan="1">A</td>
<td>My Tool 1</td>
<td>1.0</td>
</tr>
<tr>
<td rowspan="1">B</td>
<td>My Tool 2</td>
<td>2.0</td>
</tr>
<tr>
<td rowspan="1">C</td>
<td>My Tool 3</td>
<td>3.0</td>
</tr>
</tbody>
</table>
'@
}
It "Table with the same category" {
$table = @(
[PSCustomObject]@{ "Category" = "A"; "Tool name" = "My Tool 1"; "Version" = "1.0" },
[PSCustomObject]@{ "Category" = "A"; "Tool name" = "My Tool 2"; "Version" = "2.0" },
[PSCustomObject]@{ "Category" = "A"; "Tool name" = "My Tool 3"; "Version" = "3.0" },
[PSCustomObject]@{ "Category" = "B"; "Tool name" = "My Tool 4"; "Version" = "4.0" }
)
$renderedTable = $DifferenceRender.RenderHtmlTable($table, "Category")
$renderedTable | Should -Be @'
<table>
<thead>
<th>Category</th>
<th>Tool name</th>
<th>Version</th>
</thead>
<tbody>
<tr>
<td rowspan="3">A</td>
<td>My Tool 1</td>
<td>1.0</td>
</tr>
<tr>
<td>My Tool 2</td>
<td>2.0</td>
</tr>
<tr>
<td>My Tool 3</td>
<td>3.0</td>
</tr>
<tr>
<td rowspan="1">B</td>
<td>My Tool 4</td>
<td>4.0</td>
</tr>
</tbody>
</table>
'@
}
}
Context "RenderTableNodesDiff" {
It "Add new table" {
$previousNode = $null
$currentNode = [TableNode]::new("Name|Value", @("A|1", "B|2"))
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ---- | ----- |
| A | 1 |
| B | 2 |
'@
}
It "Remove existing table" {
$previousNode = [TableNode]::new("Name|Value", @("A|1", "B|2"))
$currentNode = $null
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ----- | ----- |
| ~~A~~ | ~~1~~ |
| ~~B~~ | ~~2~~ |
'@
}
It "Add new rows to existing table" {
$previousNode = [TableNode]::new("Name|Value", @("A|1", "B|2"))
$currentNode = [TableNode]::new("Name|Value", @("A|1", "B|2", "C|3", "D|4"))
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ---- | ----- |
| C | 3 |
| D | 4 |
'@
}
It "Remove rows from existing table" {
$previousNode = [TableNode]::new("Name|Value", @("A|1", "B|2", "C|3", "D|4"))
$currentNode = [TableNode]::new("Name|Value", @("C|3", "D|4"))
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ----- | ----- |
| ~~A~~ | ~~1~~ |
| ~~B~~ | ~~2~~ |
'@
}
It "Row is changed in existing table" {
$previousNode = [TableNode]::new("Name|Value", @("A|1", "B|2"))
$currentNode = [TableNode]::new("Name|Value", @("A|1", "B|3"))
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ----- | ----- |
| ~~B~~ | ~~2~~ |
| B | 3 |
'@
}
It "Row is changed, added and removed at the same time in existing table" {
$previousNode = [TableNode]::new("Name|Value", @("A|1", "B|2", "C|3", "D|4"))
$currentNode = [TableNode]::new("Name|Value", @("B|2", "C|4", "D|4", "E|5"))
$reportItem = [ReportDifferenceItem]::new($previousNode, $currentNode, @("Header 1", "Header 2", "Header 3"))
$actual = $DifferenceRender.RenderTableNodesDiff($reportItem)
$actual | Should -Be @'
#### Header 2 > Header 3
| Name | Value |
| ----- | ----- |
| ~~A~~ | ~~1~~ |
| ~~C~~ | ~~3~~ |
| C | 4 |
| E | 5 |
'@
}
}
}
@@ -0,0 +1,93 @@
using module ../SoftwareReport.psm1
using module ../SoftwareReport.Nodes.psm1
Describe "SoftwareReport.E2E" {
Context "Report example 1" {
BeforeEach {
$softwareReport = [SoftwareReport]::new("macOS 11")
$softwareReport.Root.AddToolVersion("OS Version:", "macOS 11.7 (20G817)")
$softwareReport.Root.AddToolVersion("Image Version:", "20220918.1")
$installedSoftware = $softwareReport.Root.AddHeader("Installed Software")
$languagesAndRuntimes = $installedSoftware.AddHeader("Language and Runtime")
$languagesAndRuntimes.AddToolVersion("Bash", "5.1.16(1)-release")
$languagesAndRuntimes.AddToolVersionsListInline(".NET Core SDK", @("1.2.100", "1.2.200", "3.1.414"), "^\d+\.\d+\.\d")
$languagesAndRuntimes.AddNode([ToolVersionNode]::new("Perl", "5.34.0"))
$cachedTools = $installedSoftware.AddHeader("Cached Tools")
$cachedTools.AddToolVersionsList("Ruby", @("2.7.3", "2.8.1", "3.1.2"), "^\d+\.\d+")
$cachedTools.AddToolVersionsList("Node.js", @("14.8.0", "15.1.0", "16.4.2"), "^\d+")
$javaSection = $installedSoftware.AddHeader("Java")
$javaSection.AddTable(@(
[PSCustomObject] @{ Version = "8.0.125"; Vendor = "My Vendor"; "Environment Variable" = "JAVA_HOME_8_X64" },
[PSCustomObject] @{ Version = "11.3.103"; Vendor = "My Vendor"; "Environment Variable" = "JAVA_HOME_11_X64" }
))
$sqlSection = $installedSoftware.AddHeader("MySQL")
$sqlSection.AddToolVersion("MySQL", "6.1.0")
$sqlSection.AddNote("MySQL service is disabled by default.`nUse the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'")
$expectedMarkdown = @'
# macOS 11
- OS Version: macOS 11.7 (20G817)
- Image Version: 20220918.1
## Installed Software
### Language and Runtime
- Bash 5.1.16(1)-release
- .NET Core SDK: 1.2.100, 1.2.200, 3.1.414
- Perl 5.34.0
### Cached Tools
#### Ruby
- 2.7.3
- 2.8.1
- 3.1.2
#### Node.js
- 14.8.0
- 15.1.0
- 16.4.2
### Java
| Version | Vendor | Environment Variable |
| -------- | --------- | -------------------- |
| 8.0.125 | My Vendor | JAVA_HOME_8_X64 |
| 11.3.103 | My Vendor | JAVA_HOME_11_X64 |
### MySQL
- MySQL 6.1.0
```
MySQL service is disabled by default.
Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
'@
}
It "ToMarkdown" {
$softwareReport.ToMarkdown() | Should -Be $expectedMarkdown
}
It "Serialization + Deserialization" {
$json = $softwareReport.ToJson()
$deserializedReport = [SoftwareReport]::FromJson($json)
$deserializedReport.ToMarkdown() | Should -Be $expectedMarkdown
}
}
Context "GetImageVersion" {
It "Image version exists" {
$softwareReport = [SoftwareReport]::new("MyReport")
$softwareReport.Root.AddToolVersion("Image Version:", "123.4")
$softwareReport.GetImageVersion() | Should -Be "123.4"
}
It "Empty report" {
$softwareReport = [SoftwareReport]::new("MyReport")
$softwareReport.GetImageVersion() | Should -Be "Unknown version"
}
}
}
@@ -0,0 +1,511 @@
using module ../SoftwareReport.Nodes.psm1
BeforeDiscovery {
Import-Module $(Join-Path $PSScriptRoot "TestHelpers.psm1") -DisableNameChecking
}
Describe "Nodes.UnitTests" {
Context "ToolVersionNode" {
It "ToMarkdown" {
$node = [ToolVersionNode]::new("MyTool", "2.1.3")
$node.ToMarkdown() | Should -Be "- MyTool 2.1.3"
}
It "GetValue" {
$node = [ToolVersionNode]::new("MyTool", "2.1.3")
$node.GetValue() | Should -Be "2.1.3"
}
It "Serialization" {
$node = [ToolVersionNode]::new("MyTool", "2.1.3")
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "ToolVersionNode"
$json.ToolName | Should -Be "MyTool"
$json.Version | Should -Be "2.1.3"
}
It "Deserialization" {
{ [ToolVersionNode]::FromJsonObject(@{ NodeType = "ToolVersionNode"; ToolName = ""; Version = "2.1.3" }) } | Should -Throw '*Exception setting "ToolName": "The argument is null or empty.*'
{ [ToolVersionNode]::FromJsonObject(@{ NodeType = "ToolVersionNode"; ToolName = "MyTool"; Version = "" }) } | Should -Throw 'ToolVersionNode ''MyTool'' has empty version'
{ [ToolVersionNode]::FromJsonObject(@{ NodeType = "ToolVersionNode"; ToolName = "MyTool"; Version = "2.1.3" }) } | Should -Not -Throw
}
It "Serialization + Deserialization" {
$node = [ToolVersionNode]::new("MyTool", "2.1.3")
$json = $node.ToJsonObject()
$node2 = [ToolVersionNode]::FromJsonObject($json)
$json2 = $node2.ToJsonObject()
$($json | ConvertTo-Json) | Should -Be $($json2 | ConvertTo-Json)
}
It "IsSimilarTo" {
[ToolVersionNode]::new("MyTool", "2.1.3").IsSimilarTo([ToolVersionNode]::new("MyTool", "2.1.3")) | Should -BeTrue
[ToolVersionNode]::new("MyTool", "2.1.3").IsSimilarTo([ToolVersionNode]::new("MyTool", "1.0.0")) | Should -BeTrue
[ToolVersionNode]::new("MyTool", "2.1.3").IsSimilarTo([ToolVersionNode]::new("MyTool2", "2.1.3")) | Should -BeFalse
}
It "IsIdenticalTo" {
[ToolVersionNode]::new("MyTool", "2.1.3").IsIdenticalTo([ToolVersionNode]::new("MyTool", "2.1.3")) | Should -BeTrue
[ToolVersionNode]::new("MyTool", "2.1.3").IsIdenticalTo([ToolVersionNode]::new("MyTool", "1.0.0")) | Should -BeFalse
[ToolVersionNode]::new("MyTool", "2.1.3").IsIdenticalTo([ToolVersionNode]::new("MyTool2", "2.1.3")) | Should -BeFalse
}
}
Context "ToolVersionsListNode" {
It "ToMarkdown - List" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "List")
$expected = @(
"",
"# MyTool"
"- 2.7.7"
"- 3.0.5"
"- 3.1.3"
) -join "`n"
$node.ToMarkdown() | Should -Be $expected
}
It "ToMarkdown - Inline" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "Inline")
$node.ToMarkdown() | Should -Be "- MyTool: 2.7.7, 3.0.5, 3.1.3"
}
It "GetValue" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "List")
$node.GetValue() | Should -Be "2.7.7, 3.0.5, 3.1.3"
}
It "Serialization - List" {
$node = [ToolVersionsListNode]::new("Ruby", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "List")
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "ToolVersionsListNode"
$json.ToolName | Should -Be "Ruby"
$json.Versions | Should -BeArray @("2.7.7", "3.0.5", "3.1.3")
$json.MajorVersionRegex | Should -Be "^.+"
$json.ListType | Should -Be "List"
}
It "Serialization - Inline" {
$node = [ToolVersionsListNode]::new("Ruby", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "Inline")
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "ToolVersionsListNode"
$json.ToolName | Should -Be "Ruby"
$json.Versions | Should -BeArray @("2.7.7", "3.0.5", "3.1.3")
$json.MajorVersionRegex | Should -Be "^.+"
$json.ListType | Should -Be "Inline"
}
It "Deserialization" {
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = ""; Versions = @("2.1.3", "3.1.4"); MajorVersionRegex = "^\d+"; ListType = "List" }) } | Should -Throw '*Exception setting "ToolName": "The argument is null or empty.*'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; MajorVersionRegex = "^\d+"; ListType = "List" }) } | Should -Throw '*Exception setting "Versions": "The argument is null or empty.*'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @(); MajorVersionRegex = "^\d+"; ListType = "List" }) } | Should -Throw '*Exception setting "Versions": "The argument is null, empty,*'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @("2.1.3", '2.2.4'); MajorVersionRegex = "^\d+"; ListType = "List" }) } | Should -Throw 'Multiple versions from list * return the same result from regex *'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @("2.1.3", "3.1.4"); MajorVersionRegex = ""; ListType = "List" }) } | Should -Throw 'Version * doesn''t match regex *'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @("2.1.3", "3.1.4"); MajorVersionRegex = "^\d+"; ListType = "Fake" }) } | Should -Throw '*Exception setting "ListType": "The argument * does not belong to the set*'
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @("2.1.3", "3.1.4"); MajorVersionRegex = "^\d+"; ListType = "List" }) } | Should -Not -Throw
{ [ToolVersionsListNode]::FromJsonObject(@{ NodeType = "ToolVersionsListNode"; ToolName = "MyTool"; Versions = @("2.1.3", "3.1.4"); MajorVersionRegex = "^\d+"; ListType = "Inline" }) } | Should -Not -Throw
}
It "Serialization + Deserialization" {
$node = [ToolVersionsListNode]::new("Ruby", @("2.7.7", "3.0.5", "3.1.3"), "^.+", "List")
$json = $node.ToJsonObject()
$node2 = [ToolVersionsListNode]::FromJsonObject($json)
$json2 = $node2.ToJsonObject()
$($json | ConvertTo-Json) | Should -Be $($json2 | ConvertTo-Json)
}
It "IsSimilarTo" {
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsSimilarTo(
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List")
) | Should -BeTrue
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsSimilarTo(
[ToolVersionsListNode]::new("MyTool", @("2.1.5", "5.0.0"), "^.+", "List")
) | Should -BeTrue
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsSimilarTo(
[ToolVersionsListNode]::new("MyTool2", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List")
) | Should -BeFalse
}
It "IsIdenticalTo" {
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsIdenticalTo(
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List")
) | Should -BeTrue
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsIdenticalTo(
[ToolVersionsListNode]::new("MyTool", @("2.1.5", "5.0.0"), "^.+", "List")
) | Should -BeFalse
[ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List").IsIdenticalTo(
[ToolVersionsListNode]::new("MyTool2", @("2.1.3", "3.1.5", "4.0.0"), "^.+", "List")
) | Should -BeFalse
}
It "ExtractMajorVersion" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^\d+\.\d+", "List")
$node.ExtractMajorVersion("2.1.3") | Should -Be "2.1"
$node.ExtractMajorVersion("3.1.5") | Should -Be "3.1"
$node.ExtractMajorVersion("4.0.0") | Should -Be "4.0"
}
Context "ValidateMajorVersionRegex" {
It "Major version regex - unique versions" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "4.0.0"), "^\d+", "List")
$node.Versions | Should -BeArray @("2.1.3", "3.1.5", "4.0.0")
}
It "Major version regex - non-unique versions" {
{ [ToolVersionsListNode]::new("MyTool", @("2.1.3", "3.1.5", "3.2.0", "4.0.0"), "^\d+", "List") } | Should -Throw "Multiple versions from list * return the same result from regex *"
}
It "Minor version regex - unique versions" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.1.3", "2.4.0", "3.1.2"), "^\d+\.\d+", "List")
$node.Versions | Should -BeArray @("2.1.3", "2.4.0", "3.1.2")
}
It "Minor version regex - non-unique versions" {
{ [ToolVersionsListNode]::new("MyTool", @("2.1.3", "2.1.4", "3.1.2"), "^\d+\.\d+", "List") } | Should -Throw "Multiple versions from list * return the same result from regex *"
}
It "Patch version regex - unique versions" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.1.3", "2.1.4", "2.1.5"), "^\d+\.\d+\.\d+", "List")
$node.Versions | Should -BeArray @("2.1.3", "2.1.4", "2.1.5")
}
It "Patch version regex - non-unique versions" {
{ [ToolVersionsListNode]::new("MyTool", @("2.1.3", "2.1.4", "2.1.4"), "^\d+\.\d+\.\d+", "List") } | Should -Throw "Multiple versions from list * return the same result from regex *"
}
It ".NET Core version regex - unique versions" {
$node = [ToolVersionsListNode]::new("MyTool", @("2.1.100", "2.1.205", "2.1.303"), "^\d+\.\d+\.\d", "List")
$node.Versions | Should -BeArray @("2.1.100", "2.1.205", "2.1.303")
}
It ".NET Core version regex - non-unique versions" {
{ [ToolVersionsListNode]::new("MyTool", @("2.1.100", "2.1.205", "2.1.230", "3.1.0"), "^\d+\.\d+\.\d", "List") } | Should -Throw "Multiple versions from list * return the same result from regex *"
}
}
}
Context "TableNode" {
It "ToMarkdown (Simple table)" {
$node = [TableNode]::new("Name|Value", @("A|B", "C|D"))
$node.ToMarkdown() | Should -Be @'
| Name | Value |
| ---- | ----- |
| A | B |
| C | D |
'@
}
It "ToMarkdown (Wide cells)" {
$node = [TableNode]::new("Name|Value", @("Very long value here|B", "C|And very long value here too"))
$node.ToMarkdown() | Should -Be @'
| Name | Value |
| -------------------- | ---------------------------- |
| Very long value here | B |
| C | And very long value here too |
'@
}
It "CalculateColumnsWidth" {
[TableNode]::new("Name|Value", @("A|B", "C|D")).CalculateColumnsWidth() | Should -BeArray @(4, 5)
[TableNode]::new("Name|Value", @("Very long value here|B", "C|And very long value here too")).CalculateColumnsWidth() | Should -BeArray @(20, 28)
}
It "Serialization" {
$node = [TableNode]::new("Name|Value", @("A|B", "C|D"))
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "TableNode"
$json.Headers | Should -Be "Name|Value"
$json.Rows | Should -BeArray @("A|B", "C|D")
}
It "Deserialization" {
{ [TableNode]::FromJsonObject(@{ NodeType = "TableNode"; Headers = ""; Rows = @("A|1", "B|2") }) } | Should -Throw 'Exception setting "Headers": "The argument is null or empty. *'
{ [TableNode]::FromJsonObject(@{ NodeType = "TableNode"; Headers = "Name|Value"; Rows = @() }) } | Should -Throw 'Exception setting "Rows": "The argument is null, empty, *'
{ [TableNode]::FromJsonObject(@{ NodeType = "TableNode"; Headers = "Name|Value"; Rows = @("A|1", "B|2|T", "C|3") }) } | Should -Throw 'Table has different number of columns in different rows'
{ [TableNode]::FromJsonObject(@{ NodeType = "TableNode"; Headers = "Name|Value"; Rows = @("A|1", "B|2") }) } | Should -Not -Throw
}
It "Serialization + Deserialization" {
$node = [TableNode]::new("Name|Value", @("A|B", "C|D"))
$json = $node.ToJsonObject()
$node2 = [TableNode]::FromJsonObject($json)
$json2 = $node2.ToJsonObject()
$($json | ConvertTo-Json) | Should -Be $($json2 | ConvertTo-Json)
}
It "IsSimilarTo" {
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsSimilarTo([TableNode]::new("Name|Value", @("A|B", "C|D"))) | Should -BeTrue
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsSimilarTo([TableNode]::new("Name|Value", @("A|B", "C|D", "F|W"))) | Should -BeTrue
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsSimilarTo([TableNode]::new("Name|Value", @("A|B", "C|E"))) | Should -BeTrue
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsSimilarTo([TableNode]::new("Name|Key", @("A|B", "C|D"))) | Should -BeTrue
}
It "IsIdenticalTo" {
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsIdenticalTo([TableNode]::new("Name|Value", @("A|B", "C|D"))) | Should -BeTrue
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsIdenticalTo([TableNode]::new("Name|Key", @("A|B", "C|D"))) | Should -BeTrue
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsIdenticalTo([TableNode]::new("Name|Value", @("A|B", "C|D", "F|W"))) | Should -BeFalse
[TableNode]::new("Name|Value", @("A|B", "C|D")).IsIdenticalTo([TableNode]::new("Name|Value", @("A|B", "C|E"))) | Should -BeFalse
}
Context "FromObjectsArray" {
It "Correct table" {
$table = @(
[PSCustomObject]@{Name = "A"; Value = "B"}
[PSCustomObject]@{Name = "C"; Value = "D"}
)
$tableNode = [TableNode]::FromObjectsArray($table)
$tableNode.Headers | Should -Be "Name|Value"
$tableNode.Rows | Should -BeArray @("A|B", "C|D")
}
It "Correct table with spaces" {
$table = @(
[PSCustomObject]@{Name = "A B"; "My Value" = "1 2"}
[PSCustomObject]@{Name = "C D"; "My Value" = "3 4"}
)
$tableNode = [TableNode]::FromObjectsArray($table)
$tableNode.Headers | Should -Be "Name|My Value"
$tableNode.Rows | Should -BeArray @("A B|1 2", "C D|3 4")
}
It "Throw on empty table" {
{ [TableNode]::FromObjectsArray(@()) } | Should -Throw "Failed to create TableNode from empty objects array"
}
It "Throw on table with different columns" {
$table = @(
[PSCustomObject]@{Name = "A"; Value = "B"}
[PSCustomObject]@{Name = "C"; Value2 = "D"}
)
{ [TableNode]::FromObjectsArray($table) } | Should -Throw "Failed to create TableNode from objects array because objects have different properties"
}
It "Throw on empty row" {
$table = @(
[PSCustomObject]@{Name = "A"; Value = "B"},
[PSCustomObject]@{},
[PSCustomObject]@{Name = "C"; Value2 = "D"}
)
{ [TableNode]::FromObjectsArray($table) } | Should -Throw "Failed to create TableNode because some objects are empty"
}
It "Throw on incorrect symbols in table column names" {
$table = @(
[PSCustomObject]@{"Name|War" = "A"; Value = "B"}
[PSCustomObject]@{"Name|War" = "C"; Value = "D"}
)
{ [TableNode]::FromObjectsArray($table) } | Should -Throw "Failed to create TableNode because some cells * contains forbidden symbol*"
}
It "Throw on incorrect symbols in table rows" {
$table = @(
[PSCustomObject]@{Name = "A"; Value = "B|AA"}
[PSCustomObject]@{Name = "C"; Value = "D"}
)
{ [TableNode]::FromObjectsArray($table) } | Should -Throw "Failed to create TableNode because some cells * contains forbidden symbol*"
}
}
}
Context "NoteNode" {
It "ToMarkdown" {
$node = [NoteNode]::new("Hello world`nGood Bye world")
$node.ToMarkdown() | Should -Be @'
```
hello world
Good Bye world
```
'@
}
It "Serialization" {
$node = [NoteNode]::new("MyContent`nMyContent2")
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "NoteNode"
$json.Content | Should -Be "MyContent`nMyContent2"
}
It "Deserialization" {
{ [NoteNode]::FromJsonObject(@{ NodeType = "NoteNode" }) } | Should -Throw '*Exception setting "Content": "The argument is null or empty.*'
{ [NoteNode]::FromJsonObject(@{ NodeType = "NoteNode"; Content = "" }) } | Should -Throw '*Exception setting "Content": "The argument is null or empty.*'
{ [NoteNode]::FromJsonObject(@{ NodeType = "NoteNode"; Content = "MyTool" }) } | Should -Not -Throw
}
It "Serialization + Deserialization" {
$node = [NoteNode]::new("MyContent`nMyContent2")
$json = $node.ToJsonObject()
$node2 = [NoteNode]::FromJsonObject($json)
$json2 = $node2.ToJsonObject()
$($json | ConvertTo-Json) | Should -Be $($json2 | ConvertTo-Json)
}
It "IsSimilarTo" {
[NoteNode]::new("MyContent").IsSimilarTo([NoteNode]::new("MyContent")) | Should -BeTrue
[NoteNode]::new("MyContent").IsSimilarTo([NoteNode]::new("MyContent2")) | Should -BeFalse
}
It "IsIdenticalTo" {
[NoteNode]::new("MyContent").IsIdenticalTo([NoteNode]::new("MyContent")) | Should -BeTrue
[NoteNode]::new("MyContent").IsIdenticalTo([NoteNode]::new("MyContent2")) | Should -BeFalse
}
}
Context "HeaderNode" {
It "ToMarkdown" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$node.ToMarkdown(1) | Should -Be @'
# MyHeader
- MyTool 2.1.3
'@
}
It "ToMarkdown (level 3)" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$node.ToMarkdown(3) | Should -Be @'
### MyHeader
- MyTool 2.1.3
'@
}
It "ToMarkdown (multiple levels)" {
$node = [HeaderNode]::new("MyHeader")
$node.AddHeader("MyHeader 2").AddHeader("MyHeader 3").AddHeader("MyHeader 4").AddToolVersion("MyTool", "2.1.3")
$node.ToMarkdown(1) | Should -Be @'
# MyHeader
## MyHeader 2
### MyHeader 3
#### MyHeader 4
- MyTool 2.1.3
'@
}
It "Serialization" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$json = $node.ToJsonObject()
$json.NodeType | Should -Be "HeaderNode"
$json.Title | Should -Be "MyHeader"
$json.Children | Should -HaveCount 1
}
It "Deserialization" {
{ [HeaderNode]::FromJsonObject(@{ NodeType = "HeaderNode" }) } | Should -Throw '*Exception setting "Title": "The argument is null or empty.*'
{ [HeaderNode]::FromJsonObject(@{ NodeType = "HeaderNode"; Title = "" }) } | Should -Throw '*Exception setting "Title": "The argument is null or empty.*'
{ [HeaderNode]::FromJsonObject(@{ NodeType = "HeaderNode"; Title = "MyHeader" }) } | Should -Not -Throw
}
It "Serialization + Deserialization" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$json = $node.ToJsonObject()
$node2 = [HeaderNode]::FromJsonObject($json)
$json2 = $node2.ToJsonObject()
$($json | ConvertTo-Json) | Should -Be $($json2 | ConvertTo-Json)
}
It "IsSimilarTo" {
[HeaderNode]::new("MyHeader").IsSimilarTo([HeaderNode]::new("MyHeader")) | Should -BeTrue
[HeaderNode]::new("MyHeader").IsSimilarTo([HeaderNode]::new("MyHeader2")) | Should -BeFalse
}
It "IsIdenticalTo" {
[HeaderNode]::new("MyHeader").IsIdenticalTo([HeaderNode]::new("MyHeader")) | Should -BeTrue
[HeaderNode]::new("MyHeader").IsIdenticalTo([HeaderNode]::new("MyHeader2")) | Should -BeFalse
}
It "FindSimilarChildNode" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$node.FindSimilarChildNode([ToolVersionNode]::new("MyTool", "1.0.0")) | Should -Not -BeNullOrEmpty
$node.FindSimilarChildNode([ToolVersionNode]::New("MyTool2", "1.0.0")) | Should -BeNullOrEmpty
}
Context "Detect node duplicates" {
It "Similar HeaderNode on the same header" {
$node = [HeaderNode]::new("MyHeader")
$node.AddHeader("MySubHeader1")
$node.AddHeader("MySubHeader2")
{ $node.AddHeader("MySubHeader1") } | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "Similar ToolVersionNode on the same header" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersion("MyTool", "2.1.3")
$node.AddToolVersion("MyTool2", "2.1.3")
{ $node.AddToolVersion("MyTool", "2.1.3") } | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "Similar ToolVersionsListNode on the same header" {
$node = [HeaderNode]::new("MyHeader")
$node.AddToolVersionsListInline("MyTool", @("2.1.3", "3.0.0"), "^\d+")
$node.AddToolVersionsListInline("MyTool2", @("2.1.3", "3.0.0"), "^\d+")
{ $node.AddToolVersionsList("MyTool", @("2.1.3", "3.0.0"), "^\d+") } | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "Similar TableNode on the same header" {
$node = [HeaderNode]::new("MyHeader")
$node.AddTable(@(
[PSCustomObject]@{Name = "Value1"},
[PSCustomObject]@{Name = "Value2"}
))
{
$node.AddTable(@(
[PSCustomObject]@{Name = "Value1"},
[PSCustomObject]@{Name = "Value2"}
))
} | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "Similar NoteNode on the same header" {
$node = [HeaderNode]::new("MyHeader")
$node.AddNote("MyContent")
$node.AddNote("MyContent2")
{ $node.AddNote("MyContent") } | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "AddNode detects duplicates" {
$node = [HeaderNode]::new("MyHeader")
$node.AddNode([ToolVersionNode]::new("MyTool", "2.1.3"))
{ $node.AddNode([ToolVersionNode]::new("MyTool", "2.1.3")) } | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "AddNodes detects duplicates" {
$node = [HeaderNode]::new("MyHeader")
$node.AddNodes(@(
[ToolVersionNode]::new("MyTool", "2.1.3"),
[ToolVersionNode]::new("MyTool2", "2.1.4")
))
{
$node.AddNodes(@(
[ToolVersionNode]::new("MyTool3", "2.1.5"),
[ToolVersionNode]::new("MyTool", "2.1.3")
))
} | Should -Throw "This HeaderNode already contains the similar child node. It is not allowed to add the same node twice.*"
}
It "Doesn't allow adding non-header nodes after header node" {
$node = [HeaderNode]::new("MyHeader")
{ $node.AddToolVersion("MyTool", "2.1.3") } | Should -Not -Throw
{ $node.AddHeader("MySubHeader") } | Should -Not -Throw
{ $node.AddToolVersion("MyTool2", "2.1.4") } | Should -Throw "It is not allowed to add the non-header node after the header node. Consider adding the separate HeaderNode for this node"
{ $node.AddHeader("MySubHeader2") } | Should -Not -Throw
{ $node.AddToolVersionsListInline("MyTool3", @("2.1.4", "2.1.5"), "^.+") } | Should -Throw "It is not allowed to add the non-header node after the header node. Consider adding the separate HeaderNode for this node"
{ $node.AddToolVersionsList("MyTool4", @("2.1.4", "2.1.5"), "^.+") } | Should -Not -Throw
}
}
}
}
@@ -0,0 +1,34 @@
function ShouldBeArray([Array] $ActualValue, [Array]$ExpectedValue, [Switch] $Negate, [String] $Because) {
if ($Negate) {
throw "Negation is not supported for Should-BeArray"
}
if ($ExpectedValue.Count -eq 0) {
throw "Expected array cannot be empty. Use Should-BeNullOrEmpty instead."
}
$ExpectedValue | ForEach-Object {
if ($_.GetType() -notin @([String], [Int32])) {
throw "Only string or int arrays are supported in Should-BeArray"
}
}
$actualValueJson = $ActualValue | ConvertTo-Json
$expectedValueJson = $ExpectedValue | ConvertTo-Json
$succeeded = ($ActualValue.Count -eq $ExpectedValue.Count) -and ($actualValueJson -eq $expectedValueJson)
if (-not $succeeded) {
$failureMessage = "Expected array '$actualValueJson' to be equal to '$expectedValueJson'"
}
return [PSCustomObject]@{
Succeeded = $succeeded
FailureMessage = $failureMessage
}
}
Add-ShouldOperator -Name BeArray `
-InternalName 'ShouldBeArray' `
-Test ${function:ShouldBeArray} `
-SupportsArrayInput
-14
View File
@@ -1,14 +0,0 @@
param(
[String] [Parameter (Mandatory=$true)] $RepoUrl,
[String] [Parameter (Mandatory=$true)] $RepoBranch
)
Write-Host "Clean up default repository"
Remove-Item -path './*' -Recurse -Force
Write-Host "Download ${RepoBranch} branch from ${RepoUrl}"
$env:GIT_REDIRECT_STDERR = '2>&1'
git clone $RepoUrl . -b $RepoBranch --single-branch --depth 1
Write-Host "Latest commit:"
git --no-pager log --pretty=format:"Date: %cd; Commit: %H - %s; Author: %an <%ae>" -1
@@ -1,100 +0,0 @@
# Ideally we would use GitHub Actions for this, but since we use self-hosted machines to run image builds
# we need the following features to use GitHub Actions for Images CI:
# - https://github.community/t5/GitHub-Actions/Make-secrets-available-to-builds-of-forks/m-p/30678#M508
# - https://github.community/t5/GitHub-Actions/GitHub-Actions-Manual-Trigger-Approvals/td-p/31504
# - https://github.community/t5/GitHub-Actions/Protecting-github-workflows/td-p/30290
jobs:
- job:
displayName: Image Generation (${{ parameters.image_type }})
timeoutInMinutes: 600
cancelTimeoutInMinutes: 30
pool: ci-agent-pool
variables:
- group: Image Generation Variables
steps:
- task: PowerShell@2
displayName: 'Download custom repository'
condition: and(ne(variables['CUSTOM_REPOSITORY_URL'], ''), ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''))
inputs:
targetType: 'filePath'
filePath: ./images.CI/download-repo.ps1
arguments: -RepoUrl $(CUSTOM_REPOSITORY_URL) `
-RepoBranch $(CUSTOM_REPOSITORY_BRANCH)
- task: PowerShell@2
displayName: 'Set image template variables'
inputs:
targetType: 'inline'
script: |
$ImageType = "${{ parameters.image_type }}"
$TemplateDirectoryName = if ($ImageType.StartsWith("ubuntu")) { "linux" } else { "win" }
$TemplateDirectoryPath = Join-Path "images" $TemplateDirectoryName | Resolve-Path
$TemplatePath = Join-Path $TemplateDirectoryPath "$ImageType.json"
Write-Host "##vso[task.setvariable variable=TemplateDirectoryPath;]$TemplateDirectoryPath"
Write-Host "##vso[task.setvariable variable=TemplatePath;]$TemplatePath"
- task: PowerShell@2
displayName: 'Build VM'
inputs:
targetType: filePath
filePath: ./images.CI/linux-and-win/build-image.ps1
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-TemplatePath $(TemplatePath) `
-ResourceGroup $(AZURE_RESOURCE_GROUP) `
-StorageAccount $(AZURE_STORAGE_ACCOUNT) `
-SubscriptionId $(AZURE_SUBSCRIPTION) `
-TenantId $(AZURE_TENANT) `
-Location $(AZURE_LOCATION) `
-VirtualNetworkName $(BUILD_AGENT_VNET_NAME) `
-VirtualNetworkRG $(BUILD_AGENT_VNET_RESOURCE_GROUP) `
-VirtualNetworkSubnet $(BUILD_AGENT_SUBNET_NAME)
env:
PACKER_LOG: 1
PACKER_LOG_PATH: $(Build.ArtifactStagingDirectory)/packer-log.txt
- task: PowerShell@2
displayName: 'Output Readme file content'
inputs:
targetType: 'inline'
script: |
Get-Content -Path (Join-Path "$(TemplateDirectoryPath)" "${{ parameters.image_readme_name }}")
- task: PowerShell@2
displayName: 'Print provisioners duration'
inputs:
targetType: 'filePath'
filePath: ./images.CI/measure-provisioners-duration.ps1
arguments: -PackerLogPath "$(Build.ArtifactStagingDirectory)/packer-log.txt" `
-PrefixToPathTrim "$(TemplateDirectoryPath)" `
-PrintTopNLongest 25
- task: PowerShell@2
displayName: 'Create release for VM deployment'
inputs:
targetType: filePath
filePath: ./images.CI/linux-and-win/create-release.ps1
arguments: -BuildId $(Build.BuildId) `
-Organization $(RELEASE_TARGET_ORGANIZATION) `
-DefinitionId $(RELEASE_TARGET_DEFINITION_ID) `
-Project $(RELEASE_TARGET_PROJECT) `
-ImageName ${{ parameters.image_type }} `
-AccessToken $(RELEASE_TARGET_TOKEN)
- task: PowerShell@2
displayName: 'Clean up resources'
condition: always()
inputs:
targetType: filePath
filePath: ./images.CI/linux-and-win/cleanup.ps1
arguments: -ResourcesNamePrefix $(Build.BuildId) `
-Image ${{ parameters.image_type }} `
-StorageAccount $(AZURE_STORAGE_ACCOUNT) `
-SubscriptionId $(AZURE_SUBSCRIPTION) `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-TenantId $(AZURE_TENANT)
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu1804
image_readme_name: Ubuntu1804-Readme.md
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu2004
image_readme_name: Ubuntu2004-Readme.md
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: ubuntu2204
image_readme_name: Ubuntu2204-Readme.md
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: windows2016
image_readme_name: Windows2016-Readme.md
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: windows2019
image_readme_name: Windows2019-Readme.md
@@ -1,20 +0,0 @@
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_type: windows2022
image_readme_name: Windows2022-Readme.md
+32 -17
View File
@@ -1,16 +1,22 @@
param(
[String] [Parameter (Mandatory=$true)] $TemplatePath,
[String] [Parameter (Mandatory=$true)] $BuildTemplateName,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $ResourcesNamePrefix,
[String] [Parameter (Mandatory=$false)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $Location,
[String] [Parameter (Mandatory=$true)] $ResourceGroup,
[String] [Parameter (Mandatory=$true)] $StorageAccount,
[String] [Parameter (Mandatory=$true)] $ImageName,
[String] [Parameter (Mandatory=$true)] $ImageResourceGroupName,
[String] [Parameter (Mandatory=$true)] $TempResourceGroupName,
[String] [Parameter (Mandatory=$true)] $SubscriptionId,
[String] [Parameter (Mandatory=$true)] $TenantId,
[String] [Parameter (Mandatory=$true)] $VirtualNetworkName,
[String] [Parameter (Mandatory=$true)] $VirtualNetworkRG,
[String] [Parameter (Mandatory=$true)] $VirtualNetworkSubnet
[String] [Parameter (Mandatory=$true)] $ImageOS, # e.g. "ubuntu22", "ubuntu22" or "win19", "win22", "win25"
[String] [Parameter (Mandatory=$false)] $UseAzureCliAuth = "false",
[String] [Parameter (Mandatory=$false)] $PluginVersion = "2.3.3",
[String] [Parameter (Mandatory=$false)] $VirtualNetworkName,
[String] [Parameter (Mandatory=$false)] $VirtualNetworkRG,
[String] [Parameter (Mandatory=$false)] $VirtualNetworkSubnet,
[String] [Parameter (Mandatory=$false)] $AllowedInboundIpAddresses = "[]",
[hashtable] [Parameter (Mandatory=$false)] $Tags = @{}
)
if (-not (Test-Path $TemplatePath))
@@ -19,12 +25,9 @@ if (-not (Test-Path $TemplatePath))
exit 1
}
$Image = [io.path]::GetFileNameWithoutExtension($TemplatePath)
$TempResourceGroupName = "${ResourcesNamePrefix}_${Image}"
$buildName = $($BuildTemplateName).Split(".")[1]
$InstallPassword = [System.GUID]::NewGuid().ToString().ToUpper()
packer validate -syntax-only $TemplatePath
$SensitiveData = @(
'OSType',
'StorageAccountLocation',
@@ -35,28 +38,40 @@ $SensitiveData = @(
': ->'
)
$azure_tags = $Tags | ConvertTo-Json -Compress
Write-Host "Show Packer Version"
packer --version
Write-Host "Build $Image VM"
packer build -var "capture_name_prefix=$ResourcesNamePrefix" `
Write-Host "Download packer plugins"
packer plugins install github.com/hashicorp/azure $pluginVersion
Write-Host "Validate packer template"
packer validate -syntax-only -only "$buildName*" $TemplatePath
Write-Host "Build $buildName VM"
packer build -only "$buildName*" `
-var "client_id=$ClientId" `
-var "client_secret=$ClientSecret" `
-var "install_password=$InstallPassword" `
-var "location=$Location" `
-var "resource_group=$ResourceGroup" `
-var "storage_account=$StorageAccount" `
-var "image_os=$ImageOS" `
-var "managed_image_name=$ImageName" `
-var "managed_image_resource_group_name=$ImageResourceGroupName" `
-var "subscription_id=$SubscriptionId" `
-var "temp_resource_group_name=$TempResourceGroupName" `
-var "tenant_id=$TenantId" `
-var "virtual_network_name=$VirtualNetworkName" `
-var "virtual_network_resource_group_name=$VirtualNetworkRG" `
-var "virtual_network_subnet_name=$VirtualNetworkSubnet" `
-var "run_validation_diskspace=$env:RUN_VALIDATION_FLAG" `
-var "allowed_inbound_ip_addresses=$($AllowedInboundIpAddresses)" `
-var "use_azure_cli_auth=$UseAzureCliAuth" `
-var "azure_tags=$azure_tags" `
-color=false `
$TemplatePath `
| Where-Object {
#Filter sensitive data from Packer logs
$currentString = $_
$sensitiveString = $SensitiveData | Where-Object { $currentString -match $_ }
$sensitiveString -eq $null
}
}
+5 -19
View File
@@ -1,26 +1,12 @@
param(
[String] [Parameter (Mandatory=$true)] $Image,
[String] [Parameter (Mandatory=$true)] $ResourcesNamePrefix,
[String] [Parameter (Mandatory=$true)] $StorageAccount,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $SubscriptionId,
[String] [Parameter (Mandatory=$true)] $TenantId
[Parameter (Mandatory=$true)] [string] $TempResourceGroupName
)
az login --service-principal --username $ClientId --password $ClientSecret --tenant $TenantId | Out-Null
$TempResourceGroupName = "${ResourcesNamePrefix}_${Image}"
$groupExist = az group exists --name $TempResourceGroupName --subscription $SubscriptionId
$groupExist = az group exists --name $TempResourceGroupName
if ($groupExist -eq "true") {
$osDiskName = az group deployment list --resource-group $TempResourceGroupName --query "[].properties.parameters.osDiskName.value" -o tsv
Write-Host "Found a match, deleting temporary files"
az group delete --name $TempResourceGroupName --subscription $SubscriptionId --yes | Out-Null
Write-Host "Temporary group was deleted succesfully"
Write-Host "Deleting OS disk"
az storage remove --account-name $StorageAccount -c "images" -n "$osDiskName.vhd" --only-show-errors | Out-Null
Write-Host "OS disk deleted"
az group delete --name $TempResourceGroupName --yes | Out-Null
Write-Host "Temporary group was deleted successfully"
} else {
Write-Host "No temporary groups found"
}
}
+14 -9
View File
@@ -1,10 +1,11 @@
param(
[UInt32] [Parameter (Mandatory)] $BuildId,
[String] [Parameter (Mandatory)] $Organization,
[String] [Parameter (Mandatory)] $Project,
[String] [Parameter (Mandatory)] $ImageName,
[String] [Parameter (Mandatory)] $DefinitionId,
[String] [Parameter (Mandatory)] $AccessToken
[Parameter (Mandatory)] [UInt32] $BuildId,
[Parameter (Mandatory)] [string] $Organization,
[Parameter (Mandatory)] [string] $Project,
[Parameter (Mandatory)] [string] $ImageType,
[Parameter (Mandatory)] [string] $ManagedImageName,
[Parameter (Mandatory)] [string] $DefinitionId,
[Parameter (Mandatory)] [string] $AccessToken
)
$Body = @{
@@ -13,8 +14,11 @@ $Body = @{
ImageBuildId = @{
value = $BuildId
}
ImageName = @{
value = $ImageName
ImageType = @{
value = $ImageType
}
ManagedImageName = @{
value = $ManagedImageName
}
}
isDraft = "false"
@@ -26,6 +30,7 @@ $headers = @{
Authorization = "Basic ${base64AuthInfo}"
}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13
$NewRelease = Invoke-RestMethod $URL -Body $Body -Method "POST" -Headers $headers -ContentType "application/json"
Write-Host "Created release: $($NewRelease._links.web.href)"
Write-Host "Created release: $($NewRelease._links.web.href)"
-227
View File
@@ -1,227 +0,0 @@
function Push-AnkaTemplateToRegistry {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $RegistryUrl,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TagName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateName
)
# if registry uuid doesn't match than delete an image in registry
$images = anka --machine-readable registry --registry-path $RegistryUrl list | ConvertFrom-Json | ForEach-Object body
$images | Where-Object name -eq $TemplateName | ForEach-Object {
$id = $_.id
Show-StringWithFormat "Deleting '$TemplateName[$id]' VM and '$TagName' tag"
$uri = '{0}/registry/vm?id={1}' -f $RegistryUrl, $id
Invoke-WebRequest -Uri $uri -Method Delete | Out-Null
}
$command = "anka registry --registry-path $RegistryUrl push --force --tag $TagName $TemplateName"
Invoke-AnkaCommand -Command $command
}
function Get-AnkaVM {
param(
[string] $VMName
)
$command = "anka --machine-readable list"
if (-not [string]::IsNullOrEmpty($VMName)) {
$command = "anka --machine-readable show $VMName"
}
Invoke-AnkaCommand -Command $command | ConvertFrom-Json | Foreach-Object body
}
function Get-AnkaVMStatus {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka --machine-readable list $VMName"
Invoke-AnkaCommand -Command $command | ConvertFrom-Json | Foreach-Object { $_.body.status }
}
function Get-AnkaVMIPAddress {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
Get-AnkaVM -VMName $VMName | Foreach-Object ip
}
function Invoke-AnkaCommand {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Command
)
$result = bash -c "$Command 2>&1" | Out-String
if ($LASTEXITCODE -ne 0) {
Write-Error "There is an error during command execution:`n$result"
exit 1
}
$result
}
function New-AnkaVMTemplate {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $InstallerPath,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplateUsername,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplatePassword,
[Parameter(Mandatory)]
[int] $CPUCount,
[Parameter(Mandatory)]
[int] $RamSizeGb,
[Parameter(Mandatory)]
[int] $DiskSizeGb
)
$env:ANKA_DEFAULT_USER = $TemplateUsername
$env:ANKA_DEFAULT_PASSWD = $TemplatePassword
$env:ANKA_CREATE_SUSPEND = 0
$command = "anka create --cpu-count '$CPUCount' --ram-size '${RamSizeGb}G' --disk-size '${DiskSizeGb}G' --app '$InstallerPath' $TemplateName"
Invoke-AnkaCommand -Command $command
}
function Remove-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka delete $VMName --yes"
$isTemplateExists = Get-AnkaVM | Where-Object name -eq $VMName
if ($isTemplateExists) {
$null = Invoke-AnkaCommand -Command $command
}
}
function Set-AnkaVMVideoController {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $ShortMacOSVersion,
[ValidateSet("fbuf", "pg")]
[string] $Controller = "pg"
)
$command = "anka modify $VMName set display -c $Controller"
# Apple Metal is available starting from Big Sur
if (-not $ShortMacOSVersion.StartsWith("10.")) {
$null = Invoke-AnkaCommand -Command $command
}
}
function Set-AnkaVMDisplayResolution {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $DisplayResolution
)
$command = "anka modify $VMName set display -r $DisplayResolution"
$null = Invoke-AnkaCommand -Command $command
}
function Start-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka start $VMName"
$vmStatus = Get-AnkaVMStatus -VMName $VMName
if ($vmStatus -eq "stopped") {
$null = Invoke-AnkaCommand -Command $command
}
}
function Stop-AnkaVM {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName
)
$command = "anka stop $VMName"
$vmStatus = Get-AnkaVMStatus -VMName $VMName
if ($vmStatus -eq "running") {
$null = Invoke-AnkaCommand -Command $command
}
}
function Wait-AnkaVMIPAddress {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
$condition = { Get-AnkaVMIPAddress -VMName $VMName }
$null = Invoke-WithRetry -BreakCondition $condition -RetryCount $RetryCount -Seconds $Seconds
}
function Wait-AnkaVMSSHService {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
Start-Sleep -Seconds $Seconds
Write-Host "`t[*] Waiting for '$VMName' VM to get an IP address"
Wait-AnkaVMIPAddress -VMName $VMName -RetryCount $RetryCount -Seconds $Seconds
$ipAddress = Get-AnkaVMIPAddress -VMName $VMName
Write-Host "`t[*] The '$ipAddress' IP address for '$VMName' VM"
Write-Host "`t[*] Checking if SSH on a port is open"
$isSSHPortOpen = Test-SSHPort -IPAddress $ipAddress
if (-not $isSSHPortOpen) {
Write-Host "`t[x] SSH port is closed"
exit 1
}
}
@@ -1,184 +0,0 @@
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[version] $MacOSVersion,
[ValidateNotNullOrEmpty()]
[string] $TemplateUsername,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $TemplatePassword,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $RegistryUrl,
[ValidateNotNullOrEmpty()]
[string] $TemplateName,
[bool] $DownloadLatestVersion = $true,
[bool] $BetaSearch = $false,
[bool] $InstallSoftwareUpdate = $true,
[bool] $EnableAutoLogon = $true,
[int] $CPUCount = 6,
[int] $RamSizeGb = 7,
[int] $DiskSizeGb = 300,
[string] $DisplayResolution = "1920x1080",
[string] $TagName = [DateTimeOffset]::Now.ToUnixTimeSeconds()
)
$ErrorActionPreference = "Stop"
$WarningPreference = "SilentlyContinue"
# Import helper modules
Import-Module "$PSScriptRoot/Anka.Helpers.psm1"
Import-Module "$PSScriptRoot/Service.Helpers.psm1"
# Helper functions
function Invoke-EnableAutoLogon {
if (-not $EnableAutoLogon) {
Write-Host "`t[*] Skip configuring AutoLogon"
return
}
$ipAddress = Get-AnkaVMIPAddress -VMName $TemplateName
Write-Host "`t[*] Enable AutoLogon"
Enable-AutoLogon -HostName $ipAddress -UserName $TemplateUsername -Password $TemplatePassword
Write-Host "`t[*] Reboot '$TemplateName' VM to enable AutoLogon"
Restart-VMSSH -HostName $ipAddress | Show-StringWithFormat
Wait-AnkaVMSSHService -VMName $TemplateName -Seconds 30
Write-Host "`t[*] Checking if AutoLogon is enabled"
Test-AutoLogon -VMName $TemplateName -UserName $TemplateUsername
}
function Invoke-SoftwareUpdate {
if (-not $InstallSoftwareUpdate) {
Write-Host "`t[*] Skip installing software updates"
return
}
$ipAddress = Get-AnkaVMIPAddress -VMName $TemplateName
# Unenroll Seed
Write-Host "`t[*] Reseting the seed before requesting stable versions"
Remove-CurrentBetaSeed -HostName $ipAddress | Show-StringWithFormat
# Install Software Updates
# Security updates may not be able to install(hang, freeze) when AutoLogon is turned off
Write-Host "`t[*] Finding available software"
$newUpdates = Get-SoftwareUpdate -HostName $ipAddress
if (-not $newUpdates) {
Write-Host "`t[*] No Updates Available"
return
}
Write-Host "`t[*] Fetching Software Updates ready to install on '$TemplateName' VM:"
Show-StringWithFormat $newUpdates
Write-Host "`t[*] Installing Software Updates on '$TemplateName' VM:"
Install-SoftwareUpdate -HostName $ipAddress | Show-StringWithFormat
# Check if Action: restart
if ($newUpdates.Contains("Action: restart")) {
Write-Host "`t[*] Sleep 60 seconds before the software updates have been installed"
Start-Sleep -Seconds 60
Write-Host "`t[*] Waiting for loginwindow process"
Wait-LoginWindow -HostName $ipAddress | Show-StringWithFormat
# Re-enable AutoLogon after installing a new security software update
Invoke-EnableAutoLogon
# Check software updates have been installed
$updates = Get-SoftwareUpdate -HostName $ipAddress
if ($updates.Contains("Action: restart")) {
Write-Host "`t[x] Software updates failed to install: $updates"
Show-StringWithFormat $updates
exit 1
}
}
Write-Host "`t[*] Show the install history:"
$hUpdates = Get-SoftwareUpdateHistory -HostName $ipAddress
Show-StringWithFormat $hUpdates
}
function Invoke-UpdateSettings {
$isConfRequired = $InstallSoftwareUpdate -or $EnableAutoLogon
if (-not $isConfRequired) {
Write-Host "`t[*] Skip additional configuration"
return
}
Write-Host "`t[*] Starting '$TemplateName' VM"
Start-AnkaVM -VMName $TemplateName
Write-Host "`t[*] Waiting for SSH service on '$TemplateName' VM"
Wait-AnkaVMSSHService -VMName $TemplateName -Seconds 30
# Configure AutoLogon
Invoke-EnableAutoLogon
# Install software updates
Invoke-SoftwareUpdate
Write-Host "`t[*] Stopping '$TemplateName' VM"
Stop-AnkaVM -VMName $TemplateName
}
function Test-VMStopped {
$vmStatus = Get-AnkaVMStatus -VMName $TemplateName
if ($vmStatus -ne "stopped") {
Write-Host "`t[x] VM '$TemplateName' state is not stopped. The current state is '$vmStatus'"
exit 1
}
}
# Password is passed as env-var "SSHPASS"
$env:SSHUSER = $TemplateUsername
$env:SSHPASS = $TemplatePassword
Write-Host "`n[#1] Download macOS application installer:"
$macOSInstaller = Get-MacOSInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
$shortMacOSVersion = Get-ShortMacOSVersion -MacOSVersion $MacOSVersion
if ([string]::IsNullOrEmpty($TemplateName)) {
$TemplateName = "clean_macos_${shortMacOSVersion}_${DiskSizeGb}gb"
}
Write-Host "`n[#2] Create a VM template:"
Write-Host "`t[*] Deleting existed template with name '$TemplateName' before creating a new one"
Remove-AnkaVM -VMName $TemplateName
Write-Host "`t[*] Creating Anka VM template with name '$TemplateName' and '$TemplateUsername' user"
Write-Host "`t[*] CPU Count: $CPUCount, RamSize: ${RamSizeGb}G, DiskSizeGb: ${DiskSizeGb}G, InstallerPath: $macOSInstaller, TemplateName: $TemplateName"
New-AnkaVMTemplate -InstallerPath $macOSInstaller `
-TemplateName $TemplateName `
-TemplateUsername $TemplateUsername `
-TemplatePassword $TemplatePassword `
-CPUCount $CPUCount `
-RamSizeGb $RamSizeGb `
-DiskSizeGb $DiskSizeGb | Show-StringWithFormat
Write-Host "`n[#3] Configure AutoLogon and/or install software updates:"
Invoke-UpdateSettings
Write-Host "`n[#4] Finalization '$TemplateName' configuration and push to the registry:"
Write-Host "`t[*] The '$TemplateName' VM status is stopped"
Test-VMStopped
# Configure graphics settings
Write-Host "`t[*] Enabling Graphics Acceleration with Apple Metal for '$TemplateName' VM"
Set-AnkaVMVideoController -VMName $TemplateName -ShortMacOSVersion $ShortMacOSVersion
Write-Host "`t[*] Setting screen resolution to $DisplayResolution for $TemplateName"
Set-AnkaVMDisplayResolution -VMName $TemplateName -DisplayResolution $DisplayResolution
# Push a VM template (and tag) to the Cloud
Write-Host "`t[*] Pushing '$TemplateName' image with '$TagName' tag to the '$RegistryUrl' registry..."
Push-AnkaTemplateToRegistry -RegistryUrl $registryUrl -TagName $TagName -TemplateName $TemplateName
-337
View File
@@ -1,337 +0,0 @@
function Enable-AutoLogon {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $UserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Password
)
$url = "https://raw.githubusercontent.com/actions/virtual-environments/main/images/macos/provision/bootstrap-provisioner/setAutoLogin.sh"
$script = Invoke-RestMethod -Uri $url
$base64 = [Convert]::ToBase64String($script.ToCharArray())
$command = "echo $base64 | base64 --decode > ./setAutoLogin.sh;sudo bash ./setAutoLogin.sh '${UserName}' '${Password}';rm ./setAutoLogin.sh"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Get-AvailableVersions {
param (
[bool] $IsBeta = $false
)
if ($IsBeta) {
$searchPostfix = " beta"
}
$command = { /usr/sbin/softwareupdate --list-full-installers | grep "macOS" }
$condition = { $LASTEXITCODE -eq 0 }
$softwareUpdates = Invoke-WithRetry -Command $command -BreakCondition $condition | Where-Object { $_.Contains("Title: macOS") -and $_ -match $searchPostfix }
$allVersions = $softwareUpdates -replace "(\* )?(Title|Version|Size):" | ConvertFrom-Csv -Header OSName, OSVersion | Select-Object OSName, OSVersion -Unique
$allVersions
}
function Get-MacOSInstaller {
param (
[Parameter(Mandatory)]
[version] $MacOSVersion,
[bool] $DownloadLatestVersion = $false,
[bool] $BetaSearch = $false
)
# Enroll machine to DeveloperSeed if we need beta and unenroll otherwise
$seedutil = "/System/Library/PrivateFrameworks/Seeding.framework/Versions/Current/Resources/seedutil"
if ($BetaSearch) {
Write-Host "`t[*] Beta Version requested. Enrolling machine to DeveloperSeed"
sudo $seedutil enroll DeveloperSeed | Out-Null
} else {
Write-Host "`t[*] Reseting the seed before requesting stable versions"
sudo $seedutil unenroll | Out-Null
}
# Validate there is no softwareupdate at the moment
Test-SoftwareUpdate
# Validate availability OSVersion
Write-Host "`t[*] Finding available full installers"
$availableVersions = Get-AvailableVersions -IsBeta $BetaSearch
if ($DownloadLatestVersion) {
$shortMacOSVersion = Get-ShortMacOSVersion -MacOSVersion $MacOSVersion
$filterSearch = "${shortMacOSVersion}."
$filteredVersions = $availableVersions.Where{ $_.OSVersion.StartsWith($filterSearch) }
if (-not $filteredVersions) {
Write-Host "`t[x] Failed to find any macOS versions using '$filterSearch' search condition"
Show-StringWithFormat $availableVersions
exit 1
}
Show-StringWithFormat $filteredVersions
$osVersions = $filteredVersions.OSVersion | Sort-Object {[version]$_}
$MacOSVersion = $osVersions | Select-Object -Last 1
Write-Host "`t[*] The 'DownloadLatestVersion' flag is set. Latest macOS version is '$MacOSVersion' now"
}
$macOSName = $availableVersions.Where{ $MacOSVersion -eq $_.OSVersion }.OSName
if (-not $macOSName) {
Write-Host "`t[x] Requested macOS '$MacOSVersion' version not found in the list of available installers. Available versions are:`n$($availableVersions.OSVersion)"
Write-Host "`t[x] Make sure to pass '-BetaSearch `$true' if you need a beta version installer"
exit 1
}
$installerPathPattern = "/Applications/Install*${macOSName}.app"
if (Test-Path $installerPathPattern) {
$previousInstallerPath = Get-Item -Path $installerPathPattern
Write-Host "`t[*] Removing '$previousInstallerPath' installation app before downloading the new one"
sudo rm -rf "$previousInstallerPath"
}
# Clear LastRecommendedMajorOSBundleIdentifier to prevent error during fetching updates
# Install failed with error: Update not found
Update-SoftwareBundle
# Download macOS installer
Write-Host "`t[*] Requested macOS '$MacOSVersion' version installer found, fetching it from Apple Software Update"
$result = Invoke-WithRetry { /usr/sbin/softwareupdate --fetch-full-installer --full-installer-version $MacOSVersion } {$LASTEXITCODE -eq 0} | Out-String
if (-not $result.Contains("Install finished successfully")) {
Write-Host "`t[x] Failed to fetch $MacOSVersion macOS `n$result"
exit 1
}
$installerPath = (Get-Item -Path $installerPathPattern).FullName
Write-Host "`t[*] Installer successfully downloaded to '$installerPath'"
$installerPath
}
function Get-ShortMacOSVersion {
param (
[Parameter(Mandatory)]
[version] $MacOSVersion
)
# Take Major.Minor version for macOS 10 (10.14 or 10.15) and Major for all further versions
$MacOSVersion.Major -eq 10 ? $MacOSVersion.ToString(2) : $MacOSVersion.ToString(1)
}
function Get-SoftwareUpdate {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "/usr/sbin/softwareupdate --list"
$result = Invoke-SSHPassCommand -HostName $HostName -Command $command
$result | Where-Object { $_ -match "(Label|Title):" } | Out-String
}
function Get-SoftwareUpdateHistory {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "/usr/sbin/softwareupdate --history"
Invoke-SSHPassCommand -HostName $HostName -Command $command | Out-String
}
function Install-SoftwareUpdate {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo /usr/sbin/softwareupdate --all --install --restart --verbose"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Invoke-SSHPassCommand {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Command,
[int] $ConnectTimeout = 10,
[int] $ConnectionAttempts = 10,
[int] $ServerAliveInterval = 30
)
$sshArg = @(
"sshpass"
"-e"
"ssh"
"-o UserKnownHostsFile=/dev/null"
"-o StrictHostKeyChecking=no"
"-o ConnectTimeout=$ConnectTimeout"
"-o ConnectionAttempts=$ConnectionAttempts"
"-o LogLevel=ERROR"
"-o ServerAliveInterval=$ServerAliveInterval"
"${env:SSHUSER}@${HostName}"
)
$sshPassOptions = $sshArg -join " "
bash -c "$sshPassOptions \""$Command\"" 2>&1"
}
function Invoke-WithRetry {
param(
[scriptblock] $Command,
[scriptblock] $BreakCondition,
[int] $RetryCount = 20,
[int] $Seconds = 60
)
while ($RetryCount -gt 0) {
if ($Command) {
$result = & $Command
}
if (& $BreakCondition) {
return $result
}
$RetryCount--
if ($RetryCount -eq 0) {
Write-Error "No more attempts left: $BreakCondition"
}
Write-Host "`t [/] Waiting $Seconds seconds before retrying. Retries left: $RetryCount"
Start-Sleep -Seconds $Seconds
}
$result
}
function Restart-VMSSH {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo reboot"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
function Show-StringWithFormat {
param(
[Parameter(ValuefromPipeline)]
[object] $string
)
process {
($string | Out-String).Trim().split("`n") | ForEach-Object { Write-Host "`t $_" }
}
}
function Remove-CurrentBetaSeed {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName
)
$command = "sudo /System/Library/PrivateFrameworks/Seeding.framework/Versions/Current/Resources/seedutil unenroll"
Invoke-SSHPassCommand -HostName $HostName -Command $command | Out-String
}
function Test-AutoLogon {
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $UserName
)
Invoke-WithRetry -BreakCondition {
# pwsh crashes if it invokes directly
# https://github.com/dotnet/runtime/issues/59059
$ankaUser = "" | bash -c "anka run $VMName /usr/bin/id -nu"
$UserName -eq $ankaUser
}
}
function Test-SoftwareUpdate {
param (
[string] $UpdateProcessName = "softwareupdate"
)
$command = {
$updateProcess = (Get-Process -Name $UpdateProcessName -ErrorAction SilentlyContinue).id
if ($updateProcess) {
# Workaround to get commandline param as it doesn't work for macOS atm https://github.com/PowerShell/PowerShell/issues/13943
$processName = /bin/ps -o command= $updateProcess
Write-Host "`t[*] Another software update process with '$updateProcess' id is in place with the following arguments '$processName'"
}
}
$condition = {
$null -eq (Get-Process -Name $UpdateProcessName -ErrorAction SilentlyContinue)
}
Invoke-WithRetry -Command $command -BreakCondition $condition
}
function Test-SSHPort {
param(
[Parameter(Mandatory)]
[ipaddress] $IPAddress,
[int] $Port = 22,
[int] $Timeout = 2000
)
Invoke-WithRetry -Command {$true} -BreakCondition {
try {
$client = [System.Net.Sockets.TcpClient]::new()
$client.ConnectAsync($IPAddress, $Port).Wait($Timeout)
}
catch {
$false
}
finally {
$client.Close()
}
}
}
function Wait-LoginWindow {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[int] $RetryCount = 60,
[int] $Seconds = 60
)
$condition = {
$psCommand = "/bin/ps auxww"
$lw = "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow"
$ctk = "/System/Library/Frameworks/CryptoTokenKit.framework/ctkahp.bundle/Contents/MacOS/ctkahp"
$proc = Invoke-SSHPassCommand -HostName $HostName -Command $psCommand | Out-String
$proc.Contains($lw) -and $proc.Contains($ctk)
}
Invoke-WithRetry -RetryCount $RetryCount -Seconds $Seconds -BreakCondition $condition
}
function Update-SoftwareBundle {
$productVersion = sw_vers -productVersion
if ( $productVersion.StartsWith('11.') ) {
sudo rm -rf /Library/Preferences/com.apple.commerce.plist
sudo /usr/bin/defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier | Out-Null
}
}
@@ -1,149 +0,0 @@
jobs:
- job: Image_generation
displayName: Image Generation (${{ parameters.image_label }})
timeoutInMinutes: 720
pool:
name: Mac-Cloud Image Generation
variables:
- group: Mac-Cloud Image Generation
- group: Mac-Cloud Image Generation Key Vault
steps:
- pwsh: |
$cleanBuildNumber = "$(Build.BuildNumber)" -replace "(.+_unstable)(\.\d+)", '$1'
$virtualMachineName = "${cleanBuildNumber}.$(System.JobAttempt)"
echo "##vso[task.setvariable variable=VirtualMachineName;]$virtualMachineName"
echo "##vso[build.updatebuildnumber]$virtualMachineName"
displayName: Update BuildNumber
- checkout: self
clean: true
fetchDepth: 1
- task: PowerShell@2
displayName: 'Validate contributor permissions'
condition: startsWith(variables['Build.SourceBranch'], 'refs/pull/')
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/validate-contributor.ps1
pwsh: true
arguments: -RepositoryName "$(Build.Repository.Name)" `
-AccessToken "$(github-feed-token)" `
-SourceBranch "$(Build.SourceBranch)" `
-ContributorAllowList "$(CONTRIBUTOR_ALLOWLIST)"
- task: PowerShell@2
displayName: 'Download custom repository'
condition: and(ne(variables['CUSTOM_REPOSITORY_URL'], ''), ne(variables['CUSTOM_REPOSITORY_BRANCH'], ''))
inputs:
targetType: 'filePath'
filePath: ./images.CI/download-repo.ps1
arguments: -RepoUrl $(CUSTOM_REPOSITORY_URL) `
-RepoBranch $(CUSTOM_REPOSITORY_BRANCH)
- task: DeleteFiles@1
displayName: Clean up self-hosted machine
inputs:
SourceFolder: 'images/macos/provision/log/'
RemoveSourceFolder: true
- task: PowerShell@2
displayName: 'Select datastore'
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/select-datastore.ps1
arguments: -VMName "$(VirtualMachineName)" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword '$(vcenter-password-v2)' `
-Cluster "$(esxi-cluster-v2)"
- pwsh: |
$SensitiveData = @(
'IP address:',
'Using ssh communicator to connect:'
)
packer build -on-error=abort `
-var="vcenter_server=$(vcenter-server-v2)" `
-var="vcenter_username=$(vcenter-username-v2)" `
-var='vcenter_password=$(vcenter-password-v2)' `
-var="vcenter_datacenter=$(vcenter-datacenter-v2)" `
-var="cluster_or_esxi_host=$(esxi-cluster-v2)" `
-var="esxi_datastore=$(buildDatastore)" `
-var="output_folder=$(output-folder)" `
-var="vm_username=$(vm-username)" `
-var="vm_password=$(vm-password)" `
-var="github_api_pat=$(github_api_pat)" `
-var="build_id=$(VirtualMachineName)" `
-var="baseimage_name=${{ parameters.base_image_name }}" `
-var="xcode_install_user=$(xcode-installation-user)" `
-var="xcode_install_password=$(xcode-installation-password)" `
-color=false `
${{ parameters.template_path }} `
| Where-Object {
#Filter sensitive data from Packer logs
$currentString = $_
$sensitiveString = $SensitiveData | Where-Object { $currentString -match $_ }
$sensitiveString -eq $null
}
displayName: 'Build VM'
workingDirectory: 'images/macos'
env:
PACKER_LOG: 1
PACKER_LOG_PATH: $(Agent.TempDirectory)/packer-log.txt
- bash: |
echo "Copy image output files"
cp -R "images/image-output/software-report/." "$(Build.ArtifactStagingDirectory)/"
echo "Copy test results"
cp -R "images/image-output/tests/." "$(Common.TestResultsDirectory)/"
ls $(Common.TestResultsDirectory)
echo "Put VM name to 'VM_Done_Name' file"
echo "$(VirtualMachineName)" > "$(Build.ArtifactStagingDirectory)/VM_Done_Name"
displayName: Prepare artifact
- bash: |
cat "$(Build.ArtifactStagingDirectory)/systeminfo.md"
displayName: Print software report
- task: PublishBuildArtifacts@1
inputs:
ArtifactName: 'Built_VM_Artifacts'
displayName: Publish Artifacts
- task: PowerShell@2
displayName: 'Print provisioners duration'
inputs:
targetType: 'filePath'
filePath: ./images.CI/measure-provisioners-duration.ps1
arguments: -PackerLogPath "$(Agent.TempDirectory)/packer-log.txt" `
-PrintTopNLongest 25
- task: PowerShell@2
displayName: 'Move vm to cold storage and clear datastore tag'
condition: always()
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/move-vm.ps1
arguments: -VMName "$(VirtualMachineName)" `
-TargetDataStore "${{ parameters.target_datastore }}" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword '$(vcenter-password-v2)' `
-CpuCount "$(cpu-count)" `
-CoresPerSocketCount "$(cores-per-socket-count)" `
-Memory "$(memory)"
- task: PowerShell@2
displayName: 'Destroy VM (if build canceled only)'
condition: eq(variables['Agent.JobStatus'], 'Canceled')
inputs:
targetType: 'filePath'
filePath: ./images.CI/macos/destroy-vm.ps1
arguments: -VMName "$(VirtualMachineName)" `
-VIServer "$(vcenter-server-v2)" `
-VIUserName "$(vcenter-username-v2)" `
-VIPassword '$(vcenter-password-v2)'
@@ -1,23 +0,0 @@
name: macOS-10.15_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Catalina'
base_image_name: 'clean-macOS-10.15-380Gb-runner'
template_path: 'templates/macOS-10.15.json'
target_datastore: 'ds-image'
@@ -1,23 +0,0 @@
name: macOS-11_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Big Sur'
base_image_name: 'clean-macOS-11-380Gb-runner'
template_path: 'templates/macOS-11.json'
target_datastore: 'ds-image'
@@ -1,23 +0,0 @@
name: macOS-12_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: "0 0 * * *"
displayName: Daily
branches:
include:
- main
always: true
trigger: none
pr:
autoCancel: true
branches:
include:
- main
jobs:
- template: image-generation.yml
parameters:
image_label: 'macOS Monterey'
base_image_name: 'clean-macOS-12-380Gb-runner'
template_path: 'templates/macOS-12.json'
target_datastore: 'ds-image'
-95
View File
@@ -1,95 +0,0 @@
<#
.SYNOPSIS
This script deletes vm from vCenter
.PARAMETER VMName
VM name to delete (Example "macOS-10.15_20201012.4")
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Check vm clone status
$chainId = (Get-VIEvent -Entity $VMName).ChainId
if ($chainId)
{
$task = Get-Task -Status Running | Where-Object { ($_.Name -eq 'CloneVM_Task') -and ($_.ExtensionData.Info.EventChainId -in $chainId) }
if ($task)
{
try
{
Stop-Task -Task $task -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' clone task has been canceled"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to cancel the task"
}
}
}
# Remove a vm
$vm = Get-VM -Name $VMName -ErrorAction SilentlyContinue
if ($vm)
{
$vmState = $vm.PowerState
if ($vmState -ne "PoweredOff")
{
try
{
$null = Stop-VM -VM $vm -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' has been powered off"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to shutdown '$VMName'"
}
}
try
{
Remove-VM -VM $vm -DeletePermanently -Confirm:$false -ErrorAction Stop
Write-Host "The vm '$VMName' has been removed"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to remove '$VMName'"
}
}
else
{
Write-Host "VM '$VMName' not found"
}
-38
View File
@@ -1,38 +0,0 @@
<#
.SYNOPSIS
Helper functions to use in images.CI scripts
#>
Function Connect-VCServer
{
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[System.String]$VIUserName,
[Parameter(Mandatory)]
[System.String]$VIPassword,
[Parameter(Mandatory)]
[System.String]$VIServer
)
try
{
# Preference
$global:ProgressPreference = 'SilentlyContinue'
$global:WarningPreference = 'SilentlyContinue'
# Ignore SSL
$null = Set-PowerCLIConfiguration -Scope Session -InvalidCertificateAction Ignore -ParticipateInCEIP $false -Confirm:$false -WebOperationTimeoutSeconds 600
$securePassword = ConvertTo-SecureString -String $VIPassword -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential($VIUserName, $securePassword)
$null = Connect-VIServer -Server $VIServer -Credential $cred -ErrorAction Stop
Write-Host "Connection to the vSphere server has been established"
}
catch
{
Write-Host "##vso[task.LogIssue type=error;]Failed to connect to the vSphere server"
exit 1
}
}
-92
View File
@@ -1,92 +0,0 @@
<#
.SYNOPSIS
This script migrates given VM to another datastore
.PARAMETER VMName
VM name to migrate (Example "macOS-10.15_20201012.4")
.PARAMETER TargetDataStore
Target datastore (Example "ds-image")
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$TargetDataStore,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword,
[int32]$CpuCount,
[int32]$CoresPerSocketCount,
[int64]$Memory
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Clear previously assigned tag with VM Name
try {
Remove-Tag $VMName -Confirm:$false
} catch {
Write-Host "Tag with $VMName doesn't exist"
}
$vm = Get-VM $VMName
if ($env:AGENT_JOBSTATUS -eq 'Failed') {
try {
if($vm.PowerState -ne "PoweredOff") {
Stop-VM -VM $vm -Confirm:$false -ErrorAction Stop | Out-Null
}
Set-VM -VM $vm -Name "${VMName}_failed" -Confirm:$false -ErrorAction Stop | Out-Null
Write-Host "VM has been successfully powered off and renamed to [${VMName}_failed]"
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to power off and rename VM '$VMName'"
exit 1
}
}
try {
Move-VM -Vm $vm -Datastore $TargetDataStore -ErrorAction Stop | Out-Null
Write-Host "VM has been moved successfully to target datastore '$TargetDataStore'"
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to move VM '$VMName' to target datastore '$TargetDataStore'"
exit 1
}
try {
Write-Host "Change CPU count to $CpuCount, cores count to $CoresPerSocketCount, amount of RAM to $Memory"
$vm | Set-VM -NumCPU $CpuCount -CoresPerSocket $CoresPerSocketCount -MemoryMB $Memory -Confirm:$false -ErrorAction Stop | Out-Null
} catch {
Write-Host "##vso[task.LogIssue type=error;]Failed to change specs for VM '$VMName'"
exit 1
}
-115
View File
@@ -1,115 +0,0 @@
<#
.SYNOPSIS
This script selects local datastore based on the following rules:
- Name starts with ds-local-Datastore
- Datastore FreespaceGB > 400 Gb
- VM count on the datastore < 2
.PARAMETER VIServer
vCenter address (Example "10.0.1.16")
.PARAMETER VIUserName
vCenter username (Example "Administrator")
.PARAMETER VIPassword
vCenter password (Example "12345678")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword,
[string]$TagCategory = "Busy",
[string]$Cluster
)
# Import helpers module
Import-Module $PSScriptRoot\helpers.psm1 -DisableNameChecking
function Select-DataStore {
param (
[string]$VMName,
[string]$TagCategory,
[string]$TemplateDatastore = "ds-local-Datastore-*",
[string]$Cluster,
[int]$ThresholdInGb = 400,
[int]$VMCount = 2,
[int]$Retries = 5
)
# 1. Name starts with ds-local-Datastore
# 2. FreespaceGB > 400 Gb
# 3. Choose a datastore with the minimal VM count < 2
Write-Host "Start Datastore selection process..."
$clusterHosts = Get-Cluster -Name $Cluster | Get-VMHost
$availableClusterDatastores = $clusterHosts | Get-Datastore -Name $TemplateDatastore | Where-Object -Property State -eq "Available"
$availableDatastores = $availableClusterDatastores `
| Where-Object { $_.FreeSpaceGB -ge $thresholdInGb } `
| Where-Object {
$vmOnDatastore = @((Get-ChildItem -Path $_.DatastoreBrowserPath).Name -notmatch "^\.").Count
$vmOnDatastore -lt $vmCount } `
| Group-Object -Property { $vmOnDatastore }
$datastore = $availableDatastores | Select-Object @{n="VmCount";e={$_.Name}},@{n="DatastoreName";e={$_.Group | Get-Random}} -First 1
$buildDatastore = $datastore.DatastoreName
$tag = Get-Tag -Category $TagCategory -Name $VMName -ErrorAction Ignore
if (-not $tag)
{
$tag = New-Tag -Name $VMName -Category $TagCategory
}
New-TagAssignment -Tag $tag -Entity $buildDatastore | Out-Null
# Wait for 60 seconds to check if any other tags are assigned to the same datastore
Start-Sleep -Seconds 60
# If there are no datastores with 0 VMs, take a datastore with 1 VM (index 1 if datastore has 0 VMs and 2 if 1 VM)
$index = 1 + [int]$datastore.VmCount
$tagAssignments = (Get-TagAssignment -Entity $buildDatastore).Tag.Name | Select-Object -First $index
$isAllow = $tagAssignments -contains $VMName
if ($isAllow)
{
Write-Host "Datastore selected successfully"
Write-Host "##vso[task.setvariable variable=buildDatastore;issecret=true]$buildDatastore"
return
}
# Remove the tag if datastore wasn't selected
Remove-Tag $tag -Confirm:$false
$retries--
if ($retries -le 0)
{
Write-Host "##vso[task.LogIssue type=error;]No datastores found for the condition"
exit 1
}
Write-Host "Datastore select failed, $retries left"
Select-DataStore -VMName $VMName -Cluster $Cluster -TagCategory $TagCategory -Retries $retries
}
# Connection to a vCenter Server system
Connect-VCServer -VIServer $VIServer -VIUserName $VIUserName -VIPassword $VIPassword
# Get a target datastore for current deployment
Select-DataStore -VMName $VMName -Cluster $Cluster -TagCategory $TagCategory
-63
View File
@@ -1,63 +0,0 @@
param(
[Parameter(Mandatory)] [string] $RepositoryName,
[Parameter(Mandatory)] [string] $AccessToken,
[Parameter(Mandatory)] [string] $SourceBranch,
[Parameter(Mandatory)] [string] $ContributorAllowList
)
function Build-AuthHeader {
param(
[Parameter(Mandatory)] [string] $AccessToken
)
$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("'':${AccessToken}"))
return "Basic ${base64AuthInfo}"
}
function Get-PullRequest {
param(
[Parameter(Mandatory)] [string] $RepositoryName,
[Parameter(Mandatory)] [string] $AccessToken,
[Parameter(Mandatory)] [UInt32] $PullRequestNumber
)
$requestUrl = "https://api.github.com/repos/$RepositoryName/pulls/$PullRequestNumber"
$authHeader = Build-AuthHeader -AccessToken $AccessToken
$params = @{
Method = "GET"
ContentType = "application/json"
Uri = $requestUrl
Headers = @{ Authorization = $authHeader }
}
return Invoke-RestMethod @params
}
function Validate-ContributorPermissions {
param(
[Parameter(Mandatory)] [string] $ContributorAllowList,
[Parameter(Mandatory)] [string] $ContributorName
)
$allowedContributors = $ContributorAllowList.Split(",").Trim()
$validСontributor = $allowedContributors | Where-Object { $_ -eq $ContributorName } `
| Select-Object -First 1
if (-not $validСontributor) {
Write-Host "Failed to start this build. '$ContributorName' is an unknown contributor"
Write-Host "Please add '$ContributorName' to the allowed list to run builds"
exit 1
}
}
$pullRequestNumber = $SourceBranch.Split("/")[2]
$pullRequestInfo = Get-PullRequest -RepositoryName $RepositoryName `
-AccessToken $AccessToken `
-PullRequestNumber $pullRequestNumber
$contributorName = $pullRequestInfo.user.login
Validate-ContributorPermissions -ContributorAllowList $ContributorAllowList `
-ContributorName $contributorName
+4 -4
View File
@@ -22,8 +22,8 @@ function Validate-Scripts {
return $ScriptWithoutShebangLine
}
$PathUbuntu = "./images/linux/scripts"
$PathMacOS = "./images/macos/provision"
$PathUbuntu = "./images/ubuntu/scripts"
$PathMacOS = "./images/macos"
$PatternUbuntu = "#!/bin/bash -e"
$PatternMacOS = "#!/bin/bash -e -o pipefail"
$ScriptsWithBrokenShebang = @()
@@ -34,10 +34,10 @@ if ($ScriptsWithBrokenShebang.Length -gt 0) {
$ScriptsWithBrokenShebang | ForEach-Object {
Write-Host "##[error] '$_'"
}
Write-Host "`n`n##[error] Expected shebang for scripts in 'images/linux' folder is '$PatternUbuntu'"
Write-Host "`n`n##[error] Expected shebang for scripts in 'images/ubuntu' folder is '$PatternUbuntu'"
Write-Host "##[error] Expected shebang for scripts in 'images/macos' folder is '$PatternMacOS'"
exit 1
else {
Write-Host "All scripts have correct shebang."
}
}
}
-385
View File
@@ -1,385 +0,0 @@
| Announcements |
|-|
| [[Ubuntu] PHP 7.1 will be removed from Ubuntu 18 on April, 18](https://github.com/actions/virtual-environments/issues/5326) |
***
# Ubuntu 18.04.6 LTS
- Linux kernel version: 5.4.0-1077-azure
- Image Version: 20220426.1
## Installed Software
### Language and Runtime
- Bash 4.4.20(1)-release
- Clang 9.0.0
- Clang-format 9.0.0
- Erlang 24.3.3 (Eshell 12.3.1)
- Erlang rebar3 3.18.0
- GNU C++ 7.5.0, 9.4.0, 10.3.0
- GNU Fortran 7.5.0, 9.4.0, 10.3.0
- Julia 1.7.2
- Kotlin 1.6.21-release-334
- Mono 6.12.0.122 (apt source repository: https://download.mono-project.com/repo/ubuntu stable-bionic main)
- MSBuild 16.6.0.15201 (from /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node 16.14.2
- Perl 5.26.1
- Python 2.7.17
- Python3 3.6.9
- Ruby 2.5.1p57
- Swift 5.6.1
### Package Management
- cpan 1.64
- Helm 3.8.2
- Homebrew 3.4.8
- Miniconda 4.11.0
- Npm 8.5.0
- Pip 9.0.1
- Pip3 9.0.1
- Pipx 1.0.0
- RubyGems 2.7.6
- Vcpkg (build from master \<9f643818c>)
- Yarn 1.22.18
#### Environment variables
| Name | Value |
| ----------------------- | ---------------------- |
| CONDA | /usr/share/miniconda |
| VCPKG_INSTALLATION_ROOT | /usr/local/share/vcpkg |
### Project Management
- Ant 1.10.5
- Gradle 7.4.2
- Maven 3.8.5
- Sbt 1.6.2
### Tools
- Ansible 2.11.11
- apt-fast 1.9.12
- AzCopy 10.14.1 (available by `azcopy` and `azcopy10` aliases)
- Bazel 5.1.1
- Bazelisk 1.11.0
- Bicep 0.5.6
- Buildah 1.19.6 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- CMake 3.23.1
- CodeQL Action Bundle 2.8.5
- Docker Compose v1 1.29.2
- Docker Compose v2 2.4.1+azure-1
- Docker-Buildx 0.8.2
- Docker-Moby Client 20.10.14+azure-1
- Docker-Moby Server 20.10.14+azure-1
- Git 2.36.0 (apt source repository: ppa:git-core/ppa)
- Git LFS 3.1.4 (apt source repository: https://packagecloud.io/install/repositories/github/git-lfs)
- Git-ftp 1.3.1
- Haveged 1.9.1
- Heroku 7.60.1
- HHVM (HipHop VM) 4.159.0
- jq 1.5
- Kind 0.12.0
- Kubectl 1.23.6
- Kustomize 4.5.4
- Leiningen 2.9.8
- MediaInfo 17.12
- Mercurial 4.5.3
- Minikube 1.25.2
- n 8.2.0
- Newman 5.3.2
- nvm 0.39.1
- OpenSSL 1.1.1-1ubuntu2.1~18.04.15
- Packer 1.8.0
- Parcel 2.5.0
- PhantomJS 2.1.1
- Podman 3.0.1 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Pulumi 3.30.0
- R 4.1.3
- Skopeo 1.2.2 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Sphinx Open Source Search Server 2.2.11
- SVN 1.9.7
- Terraform 1.1.9
- yamllint 1.26.3
- yq 4.24.5
- zstd 1.5.2 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.118
- AWS CLI 1.23.1
- AWS CLI Session manager plugin 1.2.312.0
- AWS SAM CLI 1.46.0
- Azure CLI (azure-cli) 2.36.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- Azure CLI (azure-devops) 0.25.0
- GitHub CLI 2.9.0
- Google Cloud SDK 369.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- Hub CLI 2.14.2
- Netlify CLI 10.0.0
- OpenShift CLI 4.10.11
- ORAS CLI 0.12.0
- Vercel CLI 24.1.0
### Java
| Version | Vendor | Environment Variable |
| ------------------- | --------------- | -------------------- |
| 8.0.322+6 (default) | Eclipse Temurin | JAVA_HOME_8_X64 |
| 11.0.14+1 | Eclipse Temurin | JAVA_HOME_11_X64 |
| 12.0.2+10 | Adopt OpenJDK | JAVA_HOME_12_X64 |
| 17.0.2+8 | Eclipse Temurin | JAVA_HOME_17_X64 |
### PHP
| Tool | Version |
| -------- | --------------------------------- |
| PHP | 7.2.34 7.3.33 7.4.29 8.0.18 8.1.5 |
| Composer | 2.3.5 |
| PHPUnit | 8.5.26 |
```
Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled.
```
### Haskell
- Cabal 3.6.2.0
- GHC 9.2.2
- GHCup 0.1.17.7
- Stack 2.7.5
### Rust Tools
- Cargo 1.60.0
- Rust 1.60.0
- Rustdoc 1.60.0
- Rustup 1.24.3
#### Packages
- Bindgen 0.59.2
- Cargo audit 0.16.0
- Cargo clippy 0.1.60
- Cargo outdated
- Cbindgen 0.23.0
- Rustfmt 1.4.38
### Browsers and Drivers
- Google Chrome 101.0.4951.41
- ChromeDriver 101.0.4951.15
- Mozilla Firefox 99.0
- Geckodriver 0.31.0
- Chromium 101.0.4951.0
- Selenium server 4.1.0
#### Environment variables
| Name | Value |
| ----------------- | ----------------------------------- |
| CHROMEWEBDRIVER | /usr/local/share/chrome_driver |
| GECKOWEBDRIVER | /usr/local/share/gecko_driver |
| SELENIUM_JAR_PATH | /usr/share/java/selenium-server.jar |
### .NET Core SDK
- 3.1.120 3.1.202 3.1.302 3.1.418 5.0.104 5.0.213 5.0.303 5.0.407 6.0.202
### .NET tools
- nbgv 3.4.255+06fb9182bf
### Databases
- MongoDB 5.0.8 (apt source repository: https://repo.mongodb.org/apt/ubuntu)
- sqlite3 3.22.0
#### PostgreSQL
- PostgreSQL 14.2 (apt source repository: https://apt.postgresql.org/pub/repos/apt/)
- PostgreSQL Server (user:postgres)
```
PostgreSQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start postgresql.service'
```
#### MySQL
- MySQL 5.7.37
- MySQL Server (user:root password:root)
```
MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
#### MS SQL Server Client Tools
- sqlcmd 17.9.0001.1
- SqlPackage 16.0.5400.1
### Cached Tools
#### Go
- 1.16.15
- 1.17.9
- 1.18.1
#### Node.js
- 12.22.12
- 14.19.1
- 16.14.2
#### PyPy
- 2.7.18 [PyPy 7.3.9]
- 3.6.12 [PyPy 7.3.3]
- 3.9.12 [PyPy 7.3.9]
#### Python
- 2.7.18
- 3.6.15
- 3.7.12
- 3.8.12
- 3.9.12
- 3.10.4
#### Ruby
- 2.4.10
- 2.5.9
- 2.6.10
- 2.7.6
- 3.0.4
- 3.1.2
#### Environment variables
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.15/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.9/x64 | x64 |
| GOROOT_1_18_X64 | /opt/hostedtoolcache/go/1.18.1/x64 | x64 |
### PowerShell Tools
- PowerShell 7.2.2
#### PowerShell Modules
| Module | Version |
| --------------- | ------- |
| MarkdownPS | 1.9 |
| Microsoft.Graph | 1.9.5 |
| Pester | 5.3.2 |
#### Az PowerShell Modules
- 7.3.2 3.1.0.zip 4.4.0.zip 5.9.0.zip 6.6.0.zip
### Web Servers
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| ------- | ------- | ------------------------- | ------------- | ---------- |
| apache2 | 2.4.29 | /etc/apache2/apache2.conf | inactive | 80 |
| nginx | 1.14.0 | /etc/nginx/nginx.conf | inactive | 80 |
### Android
| Package Name | Version |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Android Command Line Tools | 4.0 |
| Android Emulator | 31.2.10 |
| Android SDK Build-tools | 32.0.0<br>31.0.0<br>30.0.0 30.0.1 30.0.2 30.0.3<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3<br>26.0.0 26.0.1 26.0.2 26.0.3<br>25.0.0 25.0.1 25.0.2 25.0.3<br>24.0.0 24.0.1 24.0.2 24.0.3<br>23.0.1 23.0.2 23.0.3 |
| Android SDK Platform-Tools | 33.0.1 |
| Android SDK Platforms | android-32 (rev 1)<br>android-31 (rev 1)<br>android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3)<br>android-26 (rev 2)<br>android-25 (rev 3)<br>android-24 (rev 2)<br>android-23 (rev 3) |
| Android SDK Tools | 26.1.1 |
| Android Support Repository | 47.0.0 |
| CMake | 3.10.2<br>3.18.1 |
| Google APIs | addon-google_apis-google-21<br>addon-google_apis-google-22<br>addon-google_apis-google-23<br>addon-google_apis-google-24 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 21.4.7075529 (default)<br>23.1.7779620 |
| SDK Patch Applier v4 | 1 |
#### Environment variables
| Name | Value |
| ----------------------- | ------------------------------------------------------------------------------------ |
| ANDROID_HOME | /usr/local/lib/android/sdk |
| ANDROID_NDK_HOME | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_NDK_LATEST_HOME | /usr/local/lib/android/sdk/ndk/23.1.7779620 |
| ANDROID_NDK_ROOT | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_SDK_ROOT | /usr/local/lib/android/sdk |
### Cached Docker images
| Repository:Tag | Digest | Created |
| ----------------------- | ------------------------------------------------------------------------ | ---------- |
| alpine:3.12 | sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69 | 2022-04-05 |
| alpine:3.13 | sha256:ccf92aa53bc6c3b25be2ad0cce80baec1778f007f7e076b0ffbd1b225d0b3a9b | 2022-04-05 |
| alpine:3.14 | sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 | 2022-04-05 |
| buildpack-deps:bullseye | sha256:f26b9bcb6722fd59888caf4f4c1d4990799e3e83d804a83b7b58b4be949dc75e | 2022-04-20 |
| buildpack-deps:buster | sha256:b971efe3151fcfb10d0b7dfc739d081a9f9d9413195aa9b80224a66f4a651b4a | 2022-04-20 |
| buildpack-deps:stretch | sha256:fd003a4b08626dd6e5a59c61de0639243909644344a5bada501bf42e9982eac6 | 2022-04-20 |
| debian:10 | sha256:ebe4b9831fb22dfa778de4ffcb8ea0ad69b5d782d4e86cab14cc1fded5d8e761 | 2022-04-20 |
| debian:11 | sha256:6846593d7d8613e5dcc68c8f7d8b8e3179c7f3397b84a47c5b2ce989ef1075a0 | 2022-04-20 |
| debian:9 | sha256:cebe6e1c30384958d471467e231f740e8f0fd92cbfd2a435a186e9bada3aee1c | 2022-04-20 |
| moby/buildkit:latest | sha256:bd37f0b5567084cd6f4b1c73b7fed9e12258441d064cc2add29a7dd32243ff86 | 2022-04-07 |
| node:12 | sha256:01627afeb110b3054ba4a1405541ca095c8bfca1cb6f2be9479c767a2711879e | 2022-04-20 |
| node:12-alpine | sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68 | 2022-04-11 |
| node:14 | sha256:2f39686f6d0b2687550659367fa11f56018a0f782b7e30f1a0ea56b11dece124 | 2022-04-20 |
| node:14-alpine | sha256:8845b4f88f64f8c56a39236648ba22946e806a6153c10911f77b70e5a2edb4ca | 2022-04-05 |
| node:16 | sha256:6e54786b2ad01667d46524e82806298714f50d2be72b39706770aed55faedbd7 | 2022-04-20 |
| node:16-alpine | sha256:28bed508446db2ee028d08e76fb47b935defa26a84986ca050d2596ea67fd506 | 2022-04-05 |
| ubuntu:16.04 | sha256:20858ebbc96215d6c3c574f781133ebffdc7c18d98af4f294cc4c04871a6fe61 | 2021-08-31 |
| ubuntu:18.04 | sha256:627b1184c9100a22ba9dcf531908b9e24af99fa54e45c10f57852fb890a57ea6 | 2022-04-21 |
| ubuntu:20.04 | sha256:115822d64890aae5cde3c1e85ace4cc97308bb1fd884dac62f4db0a16dbddb36 | 2022-04-21 |
### Installed apt packages
| Name | Version |
| ----------------- | --------------------------------- |
| aria2 | 1.33.1-1 |
| autoconf | 2.69-11 |
| automake | 1:1.15.1-3ubuntu2 |
| binutils | 2.30-21ubuntu1\~18.04.7 |
| bison | 2:3.0.4.dfsg-1build1 |
| brotli | 1.0.3-1ubuntu1.3 |
| build-essential | 12.4ubuntu1 |
| bzip2 | 1.0.6-8.1ubuntu0.2 |
| coreutils | 8.28-1ubuntu1 |
| curl | 7.58.0-2ubuntu3.16 |
| dbus | 1.12.2-1ubuntu1.2 |
| dnsutils | 1:9.11.3+dfsg-1ubuntu1.17 |
| dpkg | 1.19.0.5ubuntu2.3 |
| fakeroot | 1.22-2ubuntu1 |
| file | 1:5.32-2ubuntu0.4 |
| flex | 2.6.4-6 |
| ftp | 0.17-34 |
| gnupg2 | 2.2.4-1ubuntu1.4 |
| haveged | 1.9.1-6 |
| imagemagick | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| iproute2 | 4.15.0-2ubuntu1.3 |
| iputils-ping | 3:20161105-1ubuntu3 |
| jq | 1.5+dfsg-2 |
| lib32z1 | 1:1.2.11.dfsg-0ubuntu2.1 |
| libc++-dev | 6.0-2 |
| libc++abi-dev | 6.0-2 |
| libcurl3 | 7.58.0-2ubuntu3.16 |
| libgbm-dev | 20.0.8-0ubuntu1\~18.04.1 |
| libgconf-2-4 | 3.2.6-4ubuntu1 |
| libgsl-dev | 2.4+dfsg-6 |
| libgtk-3-0 | 3.22.30-1ubuntu4 |
| libmagic-dev | 1:5.32-2ubuntu0.4 |
| libmagickcore-dev | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| libmagickwand-dev | 8:6.9.7.4+dfsg-16ubuntu6.12 |
| libsecret-1-dev | 0.18.6-1 |
| libsqlite3-dev | 3.22.0-1ubuntu0.4 |
| libtool | 2.4.6-2 |
| libunwind8 | 1.2.1-8 |
| libxkbfile-dev | 1:1.0.9-2 |
| libxss1 | 1:1.2.2-1 |
| locales | 2.27-3ubuntu1.5 |
| m4 | 1.4.18-1 |
| mediainfo | 17.12-1 |
| mercurial | 4.5.3-1ubuntu2.2 |
| net-tools | 1.60+git20161116.90da8a0-1ubuntu1 |
| netcat | 1.10-41.1 |
| openssh-client | 1:7.6p1-4ubuntu0.6 |
| p7zip-full | 16.02+dfsg-6 |
| p7zip-rar | 16.02-2 |
| parallel | 20161222-1 |
| pass | 1.7.1-3 |
| patchelf | 0.9-1 |
| pkg-config | 0.29.1-0ubuntu2 |
| pollinate | 4.33-0ubuntu1\~18.04.2 |
| python-setuptools | 39.0.1-2 |
| rpm | 4.14.1+dfsg1-2 |
| rsync | 3.1.2-2.1ubuntu1.4 |
| shellcheck | 0.4.6-1 |
| sphinxsearch | 2.2.11-2 |
| sqlite3 | 3.22.0-1ubuntu0.4 |
| ssh | 1:7.6p1-4ubuntu0.6 |
| sshpass | 1.06-1 |
| subversion | 1.9.7-4ubuntu1 |
| sudo | 1.8.21p2-3ubuntu1.4 |
| swig | 3.0.12-1 |
| telnet | 0.17-41 |
| texinfo | 6.5.0.dfsg.1-2 |
| time | 1.7-25.1build1 |
| tk | 8.6.0+9 |
| tzdata | 2022a-0ubuntu0.18.04 |
| unzip | 6.0-21ubuntu1.1 |
| upx | 3.94-4 |
| wget | 1.19.4-1ubuntu2.2 |
| xorriso | 1.4.8-3 |
| xvfb | 2:1.19.6-1ubuntu4.10 |
| xz-utils | 5.2.2-1.3ubuntu0.1 |
| zip | 3.0-11build1 |
| zsync | 0.6.2-3ubuntu1 |
-395
View File
@@ -1,395 +0,0 @@
| Announcements |
|-|
| [[Ubuntu] PHP 7.1 will be removed from Ubuntu 18 on April, 18](https://github.com/actions/virtual-environments/issues/5326) |
***
# Ubuntu 20.04.4 LTS
- Linux kernel version: 5.13.0-1022-azure
- Image Version: 20220425.1
## Installed Software
### Language and Runtime
- Bash 5.0.17(1)-release
- Clang 10.0.0, 11.0.0, 12.0.0
- Clang-format 10.0.0, 11.0.0, 12.0.0
- Erlang 24.3.3 (Eshell 12.3.1)
- Erlang rebar3 3.18.0
- GNU C++ 9.4.0, 10.3.0
- GNU Fortran 9.4.0, 10.3.0
- Julia 1.7.2
- Kotlin 1.6.21-release-334
- Mono 6.12.0.122 (apt source repository: https://download.mono-project.com/repo/ubuntu stable-focal main)
- MSBuild 16.6.0.15201 (from /usr/lib/mono/msbuild/15.0/bin/MSBuild.dll)
- Node 16.14.2
- Perl 5.30.0
- Python 3.8.10
- Python3 3.8.10
- Ruby 2.7.0p0
- Swift 5.6.1
### Package Management
- cpan 1.64
- Helm 3.8.2
- Homebrew 3.4.8
- Miniconda 4.11.0
- Npm 8.5.0
- Pip 20.0.2
- Pip3 20.0.2
- Pipx 1.0.0
- RubyGems 3.1.2
- Vcpkg (build from master \<d4a516114>)
- Yarn 1.22.18
#### Environment variables
| Name | Value |
| ----------------------- | ---------------------- |
| CONDA | /usr/share/miniconda |
| VCPKG_INSTALLATION_ROOT | /usr/local/share/vcpkg |
### Project Management
- Ant 1.10.7
- Gradle 7.4.2
- Lerna 4.0.0
- Maven 3.8.5
- Sbt 1.6.2
### Tools
- Ansible 2.12.5
- apt-fast 1.9.12
- AzCopy 10.14.1 (available by `azcopy` and `azcopy10` aliases)
- Bazel 5.1.1
- Bazelisk 1.11.0
- Bicep 0.5.6
- Buildah 1.21.3 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- CMake 3.23.1
- CodeQL Action Bundle 2.8.5
- Docker Compose v1 1.29.2
- Docker Compose v2 2.4.1+azure-1
- Docker-Buildx 0.8.2
- Docker-Moby Client 20.10.14+azure-1
- Docker-Moby Server 20.10.14+azure-1
- Fastlane 2.205.2
- Git 2.36.0 (apt source repository: ppa:git-core/ppa)
- Git LFS 3.1.4 (apt source repository: https://packagecloud.io/install/repositories/github/git-lfs)
- Git-ftp 1.6.0
- Haveged 1.9.1
- Heroku 7.60.1
- HHVM (HipHop VM) 4.158.0
- jq 1.6
- Kind 0.12.0
- Kubectl 1.23.6
- Kustomize 4.5.4
- Leiningen 2.9.8
- MediaInfo 19.09
- Mercurial 5.3.1
- Minikube 1.25.2
- n 8.2.0
- Newman 5.3.2
- nvm 0.39.1
- OpenSSL 1.1.1f-1ubuntu2.12
- Packer 1.8.0
- Parcel 2.5.0
- PhantomJS 2.1.1
- Podman 3.4.2 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Pulumi 3.30.0
- R 4.1.3
- Skopeo 1.3.0 (apt source repository: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable)
- Sphinx Open Source Search Server 2.2.11
- SVN 1.13.0
- Terraform 1.1.9
- yamllint 1.26.3
- yq 4.24.5
- zstd 1.5.2 (homebrew)
### CLI Tools
- Alibaba Cloud CLI 3.0.118
- AWS CLI 2.5.8
- AWS CLI Session manager plugin 1.2.312.0
- AWS SAM CLI 1.46.0
- Azure CLI (azure-cli) 2.35.0 (installation method: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt)
- Azure CLI (azure-devops) 0.25.0
- GitHub CLI 2.8.0
- Google Cloud SDK 369.0.0 (apt source repository: https://packages.cloud.google.com/apt)
- Hub CLI 2.14.2
- Netlify CLI 10.0.0
- OpenShift CLI 4.10.11
- ORAS CLI 0.12.0
- Vercel CLI 24.1.0
### Java
| Version | Vendor | Environment Variable |
| ------------------- | --------------- | -------------------- |
| 8.0.322+6 | Eclipse Temurin | JAVA_HOME_8_X64 |
| 11.0.14+1 (default) | Eclipse Temurin | JAVA_HOME_11_X64 |
| 17.0.2+8 | Eclipse Temurin | JAVA_HOME_17_X64 |
### GraalVM
| Version | Environment variables |
| ----------- | --------------------- |
| CE 22.0.0.2 | GRAALVM_11_ROOT |
### PHP
| Tool | Version |
| -------- | ------------------- |
| PHP | 7.4.29 8.0.18 8.1.5 |
| Composer | 2.3.5 |
| PHPUnit | 8.5.26 |
```
Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled.
```
### Haskell
- Cabal 3.6.2.0
- GHC 9.2.2
- GHCup 0.1.17.7
- Stack 2.7.5
### Rust Tools
- Cargo 1.60.0
- Rust 1.60.0
- Rustdoc 1.60.0
- Rustup 1.24.3
#### Packages
- Bindgen 0.59.2
- Cargo audit 0.16.0
- Cargo clippy 0.1.60
- Cargo outdated
- Cbindgen 0.23.0
- Rustfmt 1.4.38
### Browsers and Drivers
- Google Chrome 100.0.4896.127
- ChromeDriver 100.0.4896.60
- Mozilla Firefox 99.0
- Geckodriver 0.31.0
- Chromium 100.0.4896.0
- Selenium server 4.1.0
#### Environment variables
| Name | Value |
| ----------------- | ----------------------------------- |
| CHROMEWEBDRIVER | /usr/local/share/chrome_driver |
| GECKOWEBDRIVER | /usr/local/share/gecko_driver |
| SELENIUM_JAR_PATH | /usr/share/java/selenium-server.jar |
### .NET Core SDK
- 3.1.120 3.1.202 3.1.302 3.1.418 5.0.104 5.0.213 5.0.303 5.0.407 6.0.202
### .NET tools
- nbgv 3.4.255+06fb9182bf
### Databases
- MongoDB 5.0.8 (apt source repository: https://repo.mongodb.org/apt/ubuntu)
- sqlite3 3.31.1
#### PostgreSQL
- PostgreSQL 14.2 (apt source repository: https://apt.postgresql.org/pub/repos/apt/)
- PostgreSQL Server (user:postgres)
```
PostgreSQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start postgresql.service'
```
#### MySQL
- MySQL 8.0.28-0ubuntu0.20.04.3
- MySQL Server (user:root password:root)
```
MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'
```
#### MS SQL Server Client Tools
- sqlcmd 17.9.0001.1
- SqlPackage 16.0.5400.1
### Cached Tools
#### Go
- 1.16.15
- 1.17.9
- 1.18.1
#### Node.js
- 12.22.12
- 14.19.1
- 16.14.2
#### PyPy
- 2.7.18 [PyPy 7.3.9]
- 3.6.12 [PyPy 7.3.3]
- 3.7.13 [PyPy 7.3.9]
- 3.8.13 [PyPy 7.3.9]
- 3.9.12 [PyPy 7.3.9]
#### Python
- 2.7.18
- 3.6.15
- 3.7.12
- 3.8.12
- 3.9.12
- 3.10.4
#### Ruby
- 2.5.9
- 2.6.10
- 2.7.6
- 3.0.4
- 3.1.2
#### Environment variables
| Name | Value | Architecture |
| --------------- | ----------------------------------- | ------------ |
| GOROOT_1_16_X64 | /opt/hostedtoolcache/go/1.16.15/x64 | x64 |
| GOROOT_1_17_X64 | /opt/hostedtoolcache/go/1.17.9/x64 | x64 |
| GOROOT_1_18_X64 | /opt/hostedtoolcache/go/1.18.1/x64 | x64 |
### PowerShell Tools
- PowerShell 7.2.2
#### PowerShell Modules
| Module | Version |
| ---------------- | ------- |
| MarkdownPS | 1.9 |
| Microsoft.Graph | 1.9.5 |
| Pester | 5.3.2 |
| PSScriptAnalyzer | 1.20.0 |
#### Az PowerShell Modules
- 7.3.2 3.1.0.zip 4.4.0.zip 5.9.0.zip 6.6.0.zip
### Web Servers
| Name | Version | ConfigFile | ServiceStatus | ListenPort |
| --------- | ------- | ------------------------- | ------------- | ---------- |
| apache2 | 2.4.41 | /etc/apache2/apache2.conf | inactive | 80 |
| mono-xsp4 | 4.7.1 | /etc/default/mono-xsp4 | active | 8084 |
| nginx | 1.18.0 | /etc/nginx/nginx.conf | inactive | 80 |
### Android
| Package Name | Version |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Android Command Line Tools | 4.0 |
| Android Emulator | 31.2.10 |
| Android SDK Build-tools | 32.0.0<br>31.0.0<br>30.0.0 30.0.1 30.0.2 30.0.3<br>29.0.0 29.0.1 29.0.2 29.0.3<br>28.0.0 28.0.1 28.0.2 28.0.3<br>27.0.0 27.0.1 27.0.2 27.0.3 |
| Android SDK Platform-Tools | 33.0.1 |
| Android SDK Platforms | android-32 (rev 1)<br>android-31 (rev 1)<br>android-30 (rev 3)<br>android-29 (rev 5)<br>android-28 (rev 6)<br>android-27 (rev 3) |
| Android SDK Tools | 26.1.1 |
| Android Support Repository | 47.0.0 |
| CMake | 3.10.2<br>3.18.1 |
| Google Play services | 49 |
| Google Repository | 58 |
| NDK | 21.4.7075529 (default)<br>22.1.7171670<br>23.1.7779620 |
| SDK Patch Applier v4 | 1 |
#### Environment variables
| Name | Value |
| ----------------------- | ------------------------------------------------------------------------------------ |
| ANDROID_HOME | /usr/local/lib/android/sdk |
| ANDROID_NDK_HOME | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_NDK_LATEST_HOME | /usr/local/lib/android/sdk/ndk/23.1.7779620 |
| ANDROID_NDK_ROOT | /usr/local/lib/android/sdk/ndk-bundle -> /usr/local/lib/android/sdk/ndk/21.4.7075529 |
| ANDROID_SDK_ROOT | /usr/local/lib/android/sdk |
### Cached Docker images
| Repository:Tag | Digest | Created |
| ----------------------- | ------------------------------------------------------------------------ | ---------- |
| alpine:3.12 | sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69 | 2022-04-05 |
| alpine:3.13 | sha256:ccf92aa53bc6c3b25be2ad0cce80baec1778f007f7e076b0ffbd1b225d0b3a9b | 2022-04-05 |
| alpine:3.14 | sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 | 2022-04-05 |
| buildpack-deps:bullseye | sha256:f26b9bcb6722fd59888caf4f4c1d4990799e3e83d804a83b7b58b4be949dc75e | 2022-04-20 |
| buildpack-deps:buster | sha256:b971efe3151fcfb10d0b7dfc739d081a9f9d9413195aa9b80224a66f4a651b4a | 2022-04-20 |
| buildpack-deps:stretch | sha256:fd003a4b08626dd6e5a59c61de0639243909644344a5bada501bf42e9982eac6 | 2022-04-20 |
| debian:10 | sha256:ebe4b9831fb22dfa778de4ffcb8ea0ad69b5d782d4e86cab14cc1fded5d8e761 | 2022-04-20 |
| debian:11 | sha256:6846593d7d8613e5dcc68c8f7d8b8e3179c7f3397b84a47c5b2ce989ef1075a0 | 2022-04-20 |
| debian:9 | sha256:cebe6e1c30384958d471467e231f740e8f0fd92cbfd2a435a186e9bada3aee1c | 2022-04-20 |
| moby/buildkit:latest | sha256:bd37f0b5567084cd6f4b1c73b7fed9e12258441d064cc2add29a7dd32243ff86 | 2022-04-07 |
| node:12 | sha256:01627afeb110b3054ba4a1405541ca095c8bfca1cb6f2be9479c767a2711879e | 2022-04-20 |
| node:12-alpine | sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68 | 2022-04-11 |
| node:14 | sha256:2f39686f6d0b2687550659367fa11f56018a0f782b7e30f1a0ea56b11dece124 | 2022-04-20 |
| node:14-alpine | sha256:8845b4f88f64f8c56a39236648ba22946e806a6153c10911f77b70e5a2edb4ca | 2022-04-05 |
| node:16 | sha256:6e54786b2ad01667d46524e82806298714f50d2be72b39706770aed55faedbd7 | 2022-04-20 |
| node:16-alpine | sha256:28bed508446db2ee028d08e76fb47b935defa26a84986ca050d2596ea67fd506 | 2022-04-05 |
| ubuntu:16.04 | sha256:20858ebbc96215d6c3c574f781133ebffdc7c18d98af4f294cc4c04871a6fe61 | 2021-08-31 |
| ubuntu:18.04 | sha256:627b1184c9100a22ba9dcf531908b9e24af99fa54e45c10f57852fb890a57ea6 | 2022-04-21 |
| ubuntu:20.04 | sha256:115822d64890aae5cde3c1e85ace4cc97308bb1fd884dac62f4db0a16dbddb36 | 2022-04-21 |
### Installed apt packages
| Name | Version |
| ---------------------- | --------------------------------- |
| acl | 2.2.53-6 |
| aria2 | 1.35.0-1build1 |
| autoconf | 2.69-11.1 |
| automake | 1:1.16.1-4ubuntu6 |
| binutils | 2.34-6ubuntu1.3 |
| bison | 2:3.5.1+dfsg-1 |
| brotli | 1.0.7-6ubuntu0.1 |
| build-essential | 12.8ubuntu1.1 |
| bzip2 | 1.0.8-2 |
| coreutils | 8.30-3ubuntu2 |
| curl | 7.68.0-1ubuntu2.7 |
| dbus | 1.12.16-2ubuntu2.1 |
| dnsutils | 1:9.16.1-0ubuntu2.10 |
| dpkg | 1.19.7ubuntu3 |
| fakeroot | 1.24-1 |
| file | 1:5.38-4 |
| flex | 2.6.4-6.2 |
| fonts-noto-color-emoji | 0\~20200916-1\~ubuntu20.04.1 |
| ftp | 0.17-34.1 |
| gnupg2 | 2.2.19-3ubuntu2.1 |
| haveged | 1.9.1-6ubuntu1 |
| imagemagick | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| iproute2 | 5.5.0-1ubuntu1 |
| iputils-ping | 3:20190709-3 |
| jq | 1.6-1ubuntu0.20.04.1 |
| lib32z1 | 1:1.2.11.dfsg-2ubuntu1.3 |
| libc++-dev | 1:10.0-50\~exp1 |
| libc++abi-dev | 1:10.0-50\~exp1 |
| libcurl4 | 7.68.0-1ubuntu2.7 |
| libgbm-dev | 21.2.6-0ubuntu0.1\~20.04.2 |
| libgconf-2-4 | 3.2.6-6ubuntu1 |
| libgsl-dev | 2.5+dfsg-6build1 |
| libgtk-3-0 | 3.24.20-0ubuntu1.1 |
| libmagic-dev | 1:5.38-4 |
| libmagickcore-dev | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| libmagickwand-dev | 8:6.9.10.23+dfsg-2.1ubuntu11.4 |
| libsecret-1-dev | 0.20.4-0ubuntu1 |
| libsqlite3-dev | 3.31.1-4ubuntu0.2 |
| libtool | 2.4.6-14 |
| libunwind8 | 1.2.1-9build1 |
| libxkbfile-dev | 1:1.1.0-1 |
| libxss1 | 1:1.2.3-1 |
| locales | 2.31-0ubuntu9.7 |
| m4 | 1.4.18-4 |
| mediainfo | 19.09-1build1 |
| mercurial | 5.3.1-1ubuntu1 |
| net-tools | 1.60+git20180626.aebd88e-1ubuntu1 |
| netcat | 1.206-1ubuntu1 |
| openssh-client | 1:8.2p1-4ubuntu0.4 |
| p7zip-full | 16.02+dfsg-7build1 |
| p7zip-rar | 16.02-3build1 |
| parallel | 20161222-1.1 |
| pass | 1.7.3-2 |
| patchelf | 0.10-2build1 |
| pkg-config | 0.29.1-0ubuntu4 |
| pollinate | 4.33-3ubuntu1.20.04.1 |
| python-is-python3 | 3.8.2-4 |
| rpm | 4.14.2.1+dfsg1-1build2 |
| rsync | 3.1.3-8ubuntu0.3 |
| shellcheck | 0.7.0-2build2 |
| sphinxsearch | 2.2.11-2ubuntu2 |
| sqlite3 | 3.31.1-4ubuntu0.2 |
| ssh | 1:8.2p1-4ubuntu0.4 |
| sshpass | 1.06-1 |
| subversion | 1.13.0-3ubuntu0.1 |
| sudo | 1.8.31-1ubuntu1.2 |
| swig | 4.0.1-5build1 |
| telnet | 0.17-41.2build1 |
| texinfo | 6.7.0.dfsg.2-5 |
| time | 1.7-25.1build1 |
| tk | 8.6.9+1 |
| tzdata | 2022a-0ubuntu0.20.04 |
| unzip | 6.0-25ubuntu1 |
| upx | 3.95-2build1 |
| wget | 1.20.3-1ubuntu2 |
| xorriso | 1.5.2-1 |
| xvfb | 2:1.20.13-1ubuntu1\~20.04.2 |
| xz-utils | 5.2.4-1ubuntu1.1 |
| zip | 3.0-11build1 |
| zsync | 0.6.2-3ubuntu1 |
-2
View File
@@ -1,2 +0,0 @@
# Name of pool supported by this image
POOL_NAME="Ubuntu 1804"
-2
View File
@@ -1,2 +0,0 @@
# Name of pool supported by this image
POOL_NAME="Ubuntu 2004"
@@ -1,52 +0,0 @@
function Get-ChromeVersion {
$googleChromeVersion = google-chrome --version | Take-OutputPart -Part 2
return "Google Chrome $googleChromeVersion"
}
function Get-ChromeDriverVersion {
$chromeDriverVersion = chromedriver --version | Take-OutputPart -Part 1
return "ChromeDriver $chromeDriverVersion"
}
function Get-FirefoxVersion {
$firefoxVersion = firefox --version
return $firefoxVersion
}
function Get-GeckodriverVersion {
$geckodriverVersion = geckodriver --version | Select-Object -First 1 | Take-OutputPart -Part 1
return "Geckodriver $geckodriverVersion"
}
function Get-ChromiumVersion {
$chromiumVersion = chromium-browser --version | Take-OutputPart -Part 0,1
return $chromiumVersion
}
function Get-SeleniumVersion {
$seleniumBinaryName = Get-ToolsetValue "selenium.binary_name"
$fullSeleniumVersion = (Get-ChildItem "/usr/share/java/${seleniumBinaryName}-*").Name -replace "${seleniumBinaryName}-"
return "Selenium server $fullSeleniumVersion"
}
function Build-BrowserWebdriversEnvironmentTable {
return @(
@{
"Name" = "CHROMEWEBDRIVER"
"Value" = $env:CHROMEWEBDRIVER
},
@{
"Name" = "GECKOWEBDRIVER"
"Value" = $env:GECKOWEBDRIVER
},
@{
"Name" = "SELENIUM_JAR_PATH"
"Value" = $env:SELENIUM_JAR_PATH
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}
@@ -1,67 +0,0 @@
function Get-ToolcacheRubyVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Ruby"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcachePythonVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "Python"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcachePyPyVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "PyPy"
Get-ChildItem -Path $toolcachePath -Name | Sort-Object { [Version] $_ } | ForEach-Object {
$pypyRootPath = Join-Path $toolcachePath $_ "x64"
[string]$pypyVersionOutput = & "$pypyRootPath/bin/python" -c "import sys;print(sys.version)"
$pypyVersionOutput -match "^([\d\.]+) \(.+\) \[PyPy ([\d\.]+\S*) .+]$" | Out-Null
return "{0} [PyPy {1}]" -f $Matches[1], $Matches[2]
}
}
function Get-ToolcacheNodeVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "node"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Get-ToolcacheGoVersions {
$toolcachePath = Join-Path $env:AGENT_TOOLSDIRECTORY "go"
return Get-ChildItem $toolcachePath -Name | Sort-Object { [Version]$_ }
}
function Build-GoEnvironmentTable {
return Get-CachedToolInstances -Name "go" -VersionCommand "version" | ForEach-Object {
$Version = [System.Version]($_.Version -Split(" "))[0]
$Name = "GOROOT_$($Version.major)_$($Version.minor)_X64"
$Value = (Get-Item env:\$Name).Value
[PSCustomObject] @{
"Name" = $Name
"Value" = (Get-Item env:\$Name).Value
"Architecture" = $_. Architecture
}
}
}
function Build-CachedToolsSection {
$output = ""
$output += New-MDHeader "Go" -Level 4
$output += New-MDList -Lines (Get-ToolcacheGoVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Node.js" -Level 4
$output += New-MDList -Lines (Get-ToolcacheNodeVersions) -Style Unordered
}
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
$output += New-MDHeader "Ruby" -Level 4
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
}
return $output
}
@@ -1,423 +0,0 @@
function Get-BashVersion {
$version = bash -c 'echo ${BASH_VERSION}'
return "Bash $version"
}
function Get-CPPVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
$cppVersions = $result.Output | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object {
& $_.Split("/")[0] --version | Select-Object -First 1 | Take-OutputPart -Part 3
} | Sort-Object {[Version]$_}
return "GNU C++ " + ($cppVersions -Join ", ")
}
function Get-FortranVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
$fortranVersions = $result.Output | Where-Object { $_ -match "^gfortran-\d+"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
} | Sort-Object {[Version]$_}
return "GNU Fortran " + ($fortranVersions -Join ", ")
}
function Get-ClangToolVersions {
param (
[Parameter(Mandatory = $true)]
[string] $ToolName,
[string] $VersionPattern = "\d+\.\d+\.\d+)-"
)
$result = Get-CommandResult "apt list --installed" -Multiline
$toolVersions = $result.Output | Where-Object { $_ -match "^${ToolName}-\d+"} | ForEach-Object {
$clangCommand = ($_ -Split "/")[0]
Invoke-Expression "$clangCommand --version" | Where-Object { $_ -match "${ToolName} version" } | ForEach-Object {
$_ -match "${ToolName} version (?<version>${VersionPattern}" | Out-Null
$Matches.version
}
} | Sort-Object {[Version]$_}
return $toolVersions -Join ", "
}
function Get-ClangVersions {
$clangVersions = Get-ClangToolVersions -ToolName "clang"
return "Clang " + $clangVersions
}
function Get-ClangFormatVersions {
$clangFormatVersions = Get-ClangToolVersions -ToolName "clang-format"
return "Clang-format " + $clangFormatVersions
}
function Get-ErlangVersion {
$erlangVersion = (erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), ''OTP_VERSION''])), io:fwrite(Version), halt().' -noshell)
$shellVersion = (erl -eval 'erlang:display(erlang:system_info(version)), halt().' -noshell).Trim('"')
return "Erlang $erlangVersion (Eshell $shellVersion)"
}
function Get-ErlangRebar3Version {
$result = Get-CommandResult "rebar3 --version"
$result.Output -match "rebar (?<version>(\d+.){2}\d+)" | Out-Null
$rebarVersion = $Matches.version
return "Erlang rebar3 $rebarVersion"
}
function Get-MonoVersion {
$monoVersion = mono --version | Out-String | Take-OutputPart -Part 4
$aptSourceRepo = Get-AptSourceRepository -PackageName "mono"
return "Mono $monoVersion (apt source repository: $aptSourceRepo)"
}
function Get-MsbuildVersion {
$msbuildVersion = msbuild -version | Select-Object -Last 1
$result = Select-String -Path (Get-Command msbuild).Source -Pattern "msbuild"
$result -match "(?<path>\/\S*\.dll)" | Out-Null
$msbuildPath = $Matches.path
return "MSBuild $msbuildVersion (from $msbuildPath)"
}
function Get-NodeVersion {
$nodeVersion = $(node --version).Substring(1)
return "Node $nodeVersion"
}
function Get-OpensslVersion {
return "OpenSSL $(dpkg-query -W -f '${Version}' openssl)"
}
function Get-PerlVersion {
$version = $(perl -e 'print substr($^V,1)')
return "Perl $version"
}
function Get-PythonVersion {
$result = Get-CommandResult "python --version"
$version = $result.Output | Take-OutputPart -Part 1
return "Python $version"
}
function Get-Python3Version {
$result = Get-CommandResult "python3 --version"
$version = $result.Output | Take-OutputPart -Part 1
return "Python3 $version"
}
function Get-PowershellVersion {
return $(pwsh --version)
}
function Get-RubyVersion {
$rubyVersion = ruby --version | Out-String | Take-OutputPart -Part 1
return "Ruby $rubyVersion"
}
function Get-SwiftVersion {
$swiftVersion = swift --version | Out-String | Take-OutputPart -Part 2
return "Swift $swiftVersion"
}
function Get-KotlinVersion {
$kotlinVersion = kotlin -version | Out-String | Take-OutputPart -Part 2
return "Kotlin $kotlinVersion"
}
function Get-JuliaVersion {
$juliaVersion = julia --version | Take-OutputPart -Part 2
return "Julia $juliaVersion"
}
function Get-LernaVersion {
$version = lerna -v
return "Lerna $version"
}
function Get-HomebrewVersion {
$result = Get-CommandResult "brew -v"
$result.Output -match "Homebrew (?<version>\d+\.\d+\.\d+)" | Out-Null
$version = $Matches.version
return "Homebrew $version"
}
function Get-CpanVersion {
$result = Get-CommandResult "cpan --version" -ExpectExitCode @(25, 255)
$result.Output -match "version (?<version>\d+\.\d+) " | Out-Null
$cpanVersion = $Matches.version
return "cpan $cpanVersion"
}
function Get-GemVersion {
$result = Get-CommandResult "gem --version"
$result.Output -match "(?<version>\d+\.\d+\.\d+)" | Out-Null
$gemVersion = $Matches.version
return "RubyGems $gemVersion"
}
function Get-MinicondaVersion {
$condaVersion = conda --version
return "Mini$condaVersion"
}
function Get-HelmVersion {
$(helm version) -match 'Version:"v(?<version>\d+\.\d+\.\d+)"' | Out-Null
$helmVersion = $Matches.version
return "Helm $helmVersion"
}
function Get-NpmVersion {
$npmVersion = npm --version
return "Npm $npmVersion"
}
function Get-YarnVersion {
$yarnVersion = yarn --version
return "Yarn $yarnVersion"
}
function Get-ParcelVersion {
$parcelVersion = parcel --version
return "Parcel $parcelVersion"
}
function Get-PipVersion {
$result = Get-CommandResult "pip --version"
$result.Output -match "pip (?<version>\d+\.\d+\.\d+)" | Out-Null
$pipVersion = $Matches.version
return "Pip $pipVersion"
}
function Get-Pip3Version {
$result = Get-CommandResult "pip3 --version"
$result.Output -match "pip (?<version>\d+\.\d+\.\d+)" | Out-Null
$pipVersion = $Matches.version
return "Pip3 $pipVersion"
}
function Get-VcpkgVersion {
$result = Get-CommandResult "vcpkg version"
$result.Output -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$vcpkgVersion = $Matches.version
$commitId = git -C "/usr/local/share/vcpkg" rev-parse --short HEAD
return "Vcpkg $vcpkgVersion (build from master \<$commitId>)"
}
function Get-AntVersion {
$result = ant -version | Out-String
$result -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$antVersion = $Matches.version
return "Ant $antVersion"
}
function Get-GradleVersion {
$gradleVersion = (gradle -v) -match "^Gradle \d" | Take-OutputPart -Part 1
return "Gradle $gradleVersion"
}
function Get-MavenVersion {
$result = mvn -version | Out-String
$result -match "Apache Maven (?<version>\d+\.\d+\.\d+)" | Out-Null
$mavenVersion = $Matches.version
return "Maven $mavenVersion"
}
function Get-SbtVersion {
$result = Get-CommandResult "sbt -version"
$result.Output -match "sbt script version: (?<version>\d+\.\d+\.\d+)" | Out-Null
$sbtVersion = $Matches.version
return "Sbt $sbtVersion"
}
function Get-PHPVersions {
$result = Get-CommandResult "apt list --installed" -Multiline
return $result.Output | Where-Object { $_ -match "^php\d+\.\d+/"} | ForEach-Object {
$_ -match "now (?<version>\d+\.\d+\.\d+)-" | Out-Null
$Matches.version
}
}
function Get-ComposerVersion {
$composerVersion = (composer --version) -replace " version" | Take-OutputPart -Part 1
return $composerVersion
}
function Get-PHPUnitVersion {
$(phpunit --version | Out-String) -match "PHPUnit (?<version>\d+\.\d+\.\d+)\s" | Out-Null
return $Matches.version
}
function Build-PHPTable {
$php = @{
"Tool" = "PHP"
"Version" = "$(Get-PHPVersions -Join '<br>')"
}
$composer = @{
"Tool" = "Composer"
"Version" = Get-ComposerVersion
}
$phpunit = @{
"Tool" = "PHPUnit"
"Version" = Get-PHPUnitVersion
}
return @($php, $composer, $phpunit) | ForEach-Object {
[PSCustomObject] @{
"Tool" = $_.Tool
"Version" = $_.Version
}
}
}
function Build-PHPSection {
$output = ""
$output += New-MDHeader "PHP" -Level 3
$output += Build-PHPTable | New-MDTable
$output += New-MDCode -Lines @(
"Both Xdebug and PCOV extensions are installed, but only Xdebug is enabled."
)
return $output
}
function Get-GHCVersion {
$(ghc --version) -match "version (?<version>\d+\.\d+\.\d+)" | Out-Null
$ghcVersion = $Matches.version
return "GHC $ghcVersion"
}
function Get-GHCupVersion {
$(ghcup --version) -match "version v(?<version>\d+(\.\d+){2,})" | Out-Null
$ghcVersion = $Matches.version
return "GHCup $ghcVersion"
}
function Get-CabalVersion {
$(cabal --version | Out-String) -match "cabal-install version (?<version>\d+\.\d+\.\d+\.\d+)" | Out-Null
$cabalVersion = $Matches.version
return "Cabal $cabalVersion"
}
function Get-StackVersion {
$(stack --version | Out-String) -match "Version (?<version>\d+\.\d+\.\d+)" | Out-Null
$stackVersion = $Matches.version
return "Stack $stackVersion"
}
function Get-AzModuleVersions {
$azModuleVersions = Get-ChildItem /usr/share | Where-Object { $_ -match "az_\d+" } | Foreach-Object {
$_.Name.Split("_")[1]
}
$azModuleVersions = $azModuleVersions -join " "
return $azModuleVersions
}
function Get-PowerShellModules {
$modules = (Get-ToolsetContent).powershellModules.name
$psModules = Get-Module -Name $modules -ListAvailable | Sort-Object Name | Group-Object Name
$psModules | ForEach-Object {
$moduleName = $_.Name
$moduleVersions = ($_.group.Version | Sort-Object -Unique) -join '<br>'
[PSCustomObject]@{
Module = $moduleName
Version = $moduleVersions
}
}
}
function Get-DotNetCoreSdkVersions {
$unsortedDotNetCoreSdkVersion = dotnet --list-sdks list | ForEach-Object { $_ | Take-OutputPart -Part 0 }
$dotNetCoreSdkVersion = $unsortedDotNetCoreSdkVersion -join " "
return $dotNetCoreSdkVersion
}
function Get-DotnetTools {
$env:PATH = "/etc/skel/.dotnet/tools:$($env:PATH)"
$dotnetTools = (Get-ToolsetContent).dotnet.tools
$toolsList = @()
ForEach ($dotnetTool in $dotnetTools) {
$toolsList += $dotnetTool.name + " " + (Invoke-Expression $dotnetTool.getversion)
}
return $toolsList
}
function Get-CachedDockerImages {
$toolsetJson = Get-ToolsetContent
$images = $toolsetJson.docker.images
return $images
}
function Get-CachedDockerImagesTableData {
$allImages = sudo docker images --digests --format "*{{.Repository}}:{{.Tag}}|{{.Digest}} |{{.CreatedAt}}"
$allImages.Split("*") | Where-Object { $_ } | ForEach-Object {
$parts = $_.Split("|")
[PSCustomObject] @{
"Repository:Tag" = $parts[0]
"Digest" = $parts[1]
"Created" = $parts[2].split(' ')[0]
}
} | Sort-Object -Property "Repository:Tag"
}
function Get-AptPackages {
$apt = (Get-ToolsetContent).Apt
$output = @()
ForEach ($pkg in ($apt.common_packages + $apt.cmd_packages)) {
$version = $(dpkg-query -W -f '${Version}' $pkg)
if ($Null -eq $version) {
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
}
$version = $version -replace '~','\~'
$output += [PSCustomObject] @{
Name = $pkg
Version = $version
}
}
return ($output | Sort-Object Name)
}
function Get-PipxVersion {
$result = (Get-CommandResult "pipx --version").Output
$result -match "(?<version>\d+\.\d+\.\d+\.?\d*)" | Out-Null
$pipxVersion = $Matches.Version
return "Pipx $pipxVersion"
}
function Get-GraalVMVersion {
$version = & "$env:GRAALVM_11_ROOT\bin\java" --version | Select-String -Pattern "GraalVM" | Take-OutputPart -Part 5,6
return $version
}
function Build-GraalVMTable {
$version = Get-GraalVMVersion
$envVariables = "GRAALVM_11_ROOT"
return [PSCustomObject] @{
"Version" = $version
"Environment variables" = $envVariables
}
}
function Build-PackageManagementEnvironmentTable {
return @(
@{
"Name" = "CONDA"
"Value" = $env:CONDA
},
@{
"Name" = "VCPKG_INSTALLATION_ROOT"
"Value" = $env:VCPKG_INSTALLATION_ROOT
}
) | ForEach-Object {
[PSCustomObject] @{
"Name" = $_.Name
"Value" = $_.Value
}
}
}
@@ -1,76 +0,0 @@
function Get-PostgreSqlVersion {
$postgreSQLVersion = psql --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "postgresql"
return "PostgreSQL $postgreSQLVersion (apt source repository: $aptSourceRepo)"
}
function Get-MongoDbVersion {
$mongoDBVersion = mongod --version | Select-Object -First 1 | Take-OutputPart -Part 2 -Delimiter "v"
$aptSourceRepo = Get-AptSourceRepository -PackageName "mongodb"
return "MongoDB $mongoDBVersion (apt source repository: $aptSourceRepo)"
}
function Get-SqliteVersion {
$sqliteVersion = sqlite3 --version | Take-OutputPart -Part 0
return "sqlite3 $sqliteVersion"
}
function Get-MySQLVersion {
$mySQLVersion = mysqld --version | Take-OutputPart -Part 2
if (Test-IsUbuntu18) {
$mySQLVersion = $mySQLVersion | Take-OutputPart -Part 0 -Delimiter "-"
}
return "MySQL $mySQLVersion"
}
function Get-SQLCmdVersion {
$sqlcmdVersion = sqlcmd -? | Select-String -Pattern "Version" | Take-OutputPart -Part 1
return "sqlcmd $sqlcmdVersion"
}
function Get-SqlPackageVersion {
$sqlPackageVersion = sqlpackage /version
return "SqlPackage $sqlPackageVersion"
}
function Build-PostgreSqlSection {
$output = ""
$output += New-MDHeader "PostgreSQL" -Level 4
$output += New-MDList -Style Unordered -Lines @(
(Get-PostgreSqlVersion ),
"PostgreSQL Server (user:postgres)"
)
$output += New-MDCode -Lines @(
"PostgreSQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start postgresql.service'"
)
return $output
}
function Build-MySQLSection {
$output = ""
$output += New-MDHeader "MySQL" -Level 4
$output += New-MDList -Style Unordered -Lines @(
(Get-MySQLVersion ),
"MySQL Server (user:root password:root)"
)
$output += New-MDCode -Lines @(
"MySQL service is disabled by default. Use the following command as a part of your job to start the service: 'sudo systemctl start mysql.service'"
)
return $output
}
function Build-MSSQLToolsSection {
$output = ""
$output += New-MDHeader "MS SQL Server Client Tools" -Level 4
$output += New-MDList -Style Unordered -Lines @(
(Get-SQLCmdVersion),
(Get-SqlPackageVersion)
)
return $output
}
@@ -1,313 +0,0 @@
param (
[Parameter(Mandatory)][string]
$OutputDirectory
)
$global:ErrorActionPreference = "Stop"
$global:ErrorView = "NormalView"
Set-StrictMode -Version Latest
Import-Module MarkdownPS
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Android.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Browsers.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.CachedTools.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Common.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Databases.psm1") -DisableNameChecking
Import-Module "$PSScriptRoot/../helpers/SoftwareReport.Helpers.psm1" -DisableNameChecking
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Java.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Rust.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.Tools.psm1") -DisableNameChecking
Import-Module (Join-Path $PSScriptRoot "SoftwareReport.WebServers.psm1") -DisableNameChecking
# Restore file owner in user profile
Restore-UserOwner
$markdown = ""
$OSName = Get-OSName
$markdown += New-MDHeader "$OSName" -Level 1
$kernelVersion = Get-KernelVersion
$markdown += New-MDList -Style Unordered -Lines @(
"$kernelVersion"
"Image Version: $env:IMAGE_VERSION"
)
$markdown += New-MDHeader "Installed Software" -Level 2
$markdown += New-MDHeader "Language and Runtime" -Level 3
$runtimesList = @(
(Get-BashVersion),
(Get-CPPVersions),
(Get-FortranVersions),
(Get-NodeVersion),
(Get-PerlVersion),
(Get-PythonVersion),
(Get-Python3Version),
(Get-RubyVersion),
(Get-JuliaVersion),
(Get-ClangVersions),
(Get-ClangFormatVersions)
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$runtimesList += @(
(Get-MsbuildVersion),
(Get-KotlinVersion),
(Get-MonoVersion),
(Get-ErlangVersion),
(Get-ErlangRebar3Version),
(Get-SwiftVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($runtimesList | Sort-Object)
$markdown += New-MDHeader "Package Management" -Level 3
$packageManagementList = @(
(Get-HomebrewVersion),
(Get-CpanVersion),
(Get-GemVersion),
(Get-MinicondaVersion),
(Get-HelmVersion),
(Get-NpmVersion),
(Get-YarnVersion),
(Get-PipxVersion),
(Get-PipVersion),
(Get-Pip3Version),
(Get-VcpkgVersion)
)
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-PackageManagementEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Project Management" -Level 3
$projectManagementList = @()
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$projectManagementList += @(
(Get-AntVersion),
(Get-GradleVersion),
(Get-MavenVersion),
(Get-SbtVersion)
)
}
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
$projectManagementList += @(
(Get-LernaVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($projectManagementList | Sort-Object)
$markdown += New-MDHeader "Tools" -Level 3
$toolsList = @(
(Get-AnsibleVersion),
(Get-AptFastVersion),
(Get-AzCopyVersion),
(Get-BazelVersion),
(Get-BazeliskVersion),
(Get-BicepVersion),
(Get-CodeQLBundleVersion),
(Get-CMakeVersion),
(Get-DockerMobyClientVersion),
(Get-DockerMobyServerVersion),
(Get-DockerComposeV1Version),
(Get-DockerComposeV2Version),
(Get-DockerBuildxVersion),
(Get-GitVersion),
(Get-GitLFSVersion),
(Get-GitFTPVersion),
(Get-HavegedVersion),
(Get-HerokuVersion),
(Get-SVNVersion),
(Get-JqVersion),
(Get-YqVersion),
(Get-KindVersion),
(Get-KubectlVersion),
(Get-KustomizeVersion),
(Get-MediainfoVersion),
(Get-HGVersion),
(Get-MinikubeVersion),
(Get-NewmanVersion),
(Get-NVersion),
(Get-NvmVersion),
(Get-OpensslVersion),
(Get-PackerVersion),
(Get-ParcelVersion),
(Get-PulumiVersion),
(Get-RVersion),
(Get-SphinxVersion),
(Get-TerraformVersion),
(Get-YamllintVersion),
(Get-ZstdVersion)
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$toolsList += @(
(Get-BuildahVersion),
(Get-PhantomJSVersion),
(Get-LeiningenVersion),
(Get-HHVMVersion),
(Get-PodManVersion),
(Get-SkopeoVersion)
)
}
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
$toolsList += (Get-FastlaneVersion)
}
$markdown += New-MDList -Style Unordered -Lines ($toolsList | Sort-Object)
$markdown += New-MDHeader "CLI Tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-AlibabaCloudCliVersion),
(Get-AWSCliVersion),
(Get-AWSCliSessionManagerPluginVersion),
(Get-AWSSAMVersion),
(Get-AzureCliVersion),
(Get-AzureDevopsVersion),
(Get-GitHubCliVersion),
(Get-GoogleCloudSDKVersion),
(Get-HubCliVersion),
(Get-NetlifyCliVersion),
(Get-OCCliVersion),
(Get-ORASCliVersion),
(Get-VerselCliversion)
) | Sort-Object
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$markdown += New-MDHeader "Java" -Level 3
$markdown += Get-JavaVersions | New-MDTable
$markdown += New-MDNewLine
}
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
$markdown += New-MDHeader "GraalVM" -Level 3
$markdown += Build-GraalVMTable | New-MDTable
$markdown += New-MDNewLine
}
$markdown += Build-PHPSection
$markdown += New-MDHeader "Haskell" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-GHCVersion),
(Get-GHCupVersion),
(Get-CabalVersion),
(Get-StackVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Rust Tools" -Level 3
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-RustVersion),
(Get-RustupVersion),
(Get-RustdocVersion),
(Get-CargoVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Packages" -Level 4
$markdown += New-MDList -Style Unordered -Lines (@(
(Get-BindgenVersion),
(Get-CargoAuditVersion),
(Get-CargoOutdatedVersion),
(Get-CargoClippyVersion),
(Get-CbindgenVersion),
(Get-RustfmtVersion)
) | Sort-Object
)
$markdown += New-MDHeader "Browsers and Drivers" -Level 3
$browsersAndDriversList = @(
(Get-ChromeVersion),
(Get-ChromeDriverVersion),
(Get-ChromiumVersion)
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$browsersAndDriversList += @(
(Get-FirefoxVersion),
(Get-GeckodriverVersion),
(Get-SeleniumVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines $browsersAndDriversList
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-BrowserWebdriversEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader ".NET Core SDK" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(
(Get-DotNetCoreSdkVersions)
)
$markdown += New-MDHeader ".NET tools" -Level 3
$tools = Get-DotnetTools
$markdown += New-MDList -Lines $tools -Style Unordered
$markdown += New-MDHeader "Databases" -Level 3
$databaseLists = @(
(Get-SqliteVersion)
)
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$databaseLists += @(
(Get-MongoDbVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ( $databaseLists | Sort-Object )
$markdown += Build-PostgreSqlSection
$markdown += Build-MySQLSection
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$markdown += Build-MSSQLToolsSection
}
$markdown += New-MDHeader "Cached Tools" -Level 3
$markdown += Build-CachedToolsSection
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-GoEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "PowerShell Tools" -Level 3
$markdown += New-MDList -Lines (Get-PowershellVersion) -Style Unordered
$markdown += New-MDHeader "PowerShell Modules" -Level 4
$markdown += Get-PowerShellModules | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Az PowerShell Modules" -Level 4
$markdown += New-MDList -Style Unordered -Lines @(
(Get-AzModuleVersions)
)
$markdown += Build-WebServersSection
if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) {
$markdown += New-MDHeader "Android" -Level 3
$markdown += Build-AndroidTable | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Environment variables" -Level 4
$markdown += Build-AndroidEnvironmentTable | New-MDTable
$markdown += New-MDNewLine
}
$markdown += New-MDHeader "Cached Docker images" -Level 3
$markdown += Get-CachedDockerImagesTableData | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Installed apt packages" -Level 3
$markdown += Get-AptPackages | New-MDTable
Test-BlankElement
$markdown | Out-File -FilePath "${OutputDirectory}/Ubuntu-Readme.md"
@@ -1,22 +0,0 @@
function Get-JavaVersions {
$javaToolcacheVersions = Get-ChildItem $env:AGENT_TOOLSDIRECTORY/Java*/* -Directory | Sort-Object { [int]$_.Name.Split(".")[0] }
$existingVersions = $javaToolcacheVersions | ForEach-Object {
$majorVersion = $_.Name.split(".")[0]
$fullVersion = $_.Name.Replace("-", "+")
$defaultJavaPath = $env:JAVA_HOME
$javaPath = Get-Item env:JAVA_HOME_${majorVersion}_X64
$defaultPostfix = ($javaPath.Value -eq $defaultJavaPath) ? " (default)" : ""
$vendorName = ($_.FullName -like '*Java_Adopt_jdk*') ? "Adopt OpenJDK" : "Eclipse Temurin"
[PSCustomObject] @{
"Version" = $fullVersion + $defaultPostfix
"Vendor" = $vendorName
"Environment Variable" = $javaPath.Name
}
}
# Return all the vendors which are not Adopt, also look for version 12 of Adopt (Eclipse Temurin does not have this version)
$versionsToReturn = $existingVersions | Where-Object {$_.Vendor -notlike "Adopt*" -or $_.Version.Split(".")[0] -eq 12}
return $versionsToReturn
}
@@ -1,56 +0,0 @@
function Initialize-RustEnvironment {
$env:PATH = "/etc/skel/.cargo/bin:/etc/skel/.rustup/bin:$($env:PATH)"
$env:RUSTUP_HOME = "/etc/skel/.rustup"
$env:CARGO_HOME = "/etc/skel/.cargo"
}
function Get-RustVersion {
Initialize-RustEnvironment
$rustVersion = $(rustc --version) | Take-OutputPart -Part 1
return "Rust $rustVersion"
}
function Get-BindgenVersion {
$bindgenVersion = $(bindgen --version) | Take-OutputPart -Part 1
return "Bindgen $bindgenVersion"
}
function Get-CargoVersion {
$cargoVersion = $(cargo --version) | Take-OutputPart -Part 1
return "Cargo $cargoVersion"
}
function Get-CargoAuditVersion {
$cargoAuditVersion = $(cargo audit --version) | Take-OutputPart -Part 1
return "Cargo audit $cargoAuditVersion"
}
function Get-CargoOutdatedVersion {
$cargoOutdatedVersion = $(cargo outdated --version) | Take-OutputPart -Part 1 -Delimiter "v"
return "Cargo outdated $cargoOutdatedVersion"
}
function Get-CargoClippyVersion {
$cargoClippyVersion = $(cargo-clippy --version) | Take-OutputPart -Part 1
return "Cargo clippy $cargoClippyVersion"
}
function Get-CbindgenVersion {
$cbindgenVersion = $(cbindgen --version) | Take-OutputPart -Part 1
return "Cbindgen $cbindgenVersion"
}
function Get-RustupVersion {
$rustupVersion = $(rustup --version) | Take-OutputPart -Part 1
return "Rustup $rustupVersion"
}
function Get-RustdocVersion {
$rustdocVersion = $(rustdoc --version) | Take-OutputPart -Part 1
return "Rustdoc $rustdocVersion"
}
function Get-RustfmtVersion {
$rustfmtVersion = $(rustfmt --version) | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Rustfmt $rustfmtVersion"
}
@@ -1,294 +0,0 @@
function Get-AnsibleVersion {
$ansibleVersion = (ansible --version)[0] -replace "[^\d.]"
return "Ansible $ansibleVersion"
}
function Get-AptFastVersion {
$versionFileContent = Get-Content (which apt-fast) -Raw
$match = [Regex]::Match($versionFileContent, '# apt-fast v(.+)\n')
$aptFastVersion = $match.Groups[1].Value
return "apt-fast $aptFastVersion"
}
function Get-AzCopyVersion {
$azcopyVersion = azcopy --version | Take-OutputPart -Part 2
return "AzCopy $azcopyVersion (available by ``azcopy`` and ``azcopy10`` aliases)"
}
function Get-BazelVersion {
$bazelVersion = bazel --version | Select-String "bazel" | Take-OutputPart -Part 1
return "Bazel $bazelVersion"
}
function Get-BazeliskVersion {
$result = Get-CommandResult "bazelisk version" -Multiline
$bazeliskVersion = $result.Output | Select-String "Bazelisk version:" | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "v"
return "Bazelisk $bazeliskVersion"
}
function Get-BicepVersion {
(bicep --version | Out-String) -match "bicep cli version (?<version>\d+\.\d+\.\d+)" | Out-Null
$bicepVersion = $Matches.Version
return "Bicep $bicepVersion"
}
function Get-CodeQLBundleVersion {
$CodeQLVersionsWildcard = Join-Path $Env:AGENT_TOOLSDIRECTORY -ChildPath "CodeQL" | Join-Path -ChildPath "*"
$CodeQLVersionPath = Get-ChildItem $CodeQLVersionsWildcard | Select-Object -First 1 -Expand FullName
$CodeQLPath = Join-Path $CodeQLVersionPath -ChildPath "x64" | Join-Path -ChildPath "codeql" | Join-Path -ChildPath "codeql"
$CodeQLVersion = & $CodeQLPath version --quiet
return "CodeQL Action Bundle $CodeQLVersion"
}
function Get-PodManVersion {
$podmanVersion = podman --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Podman $podmanVersion (apt source repository: $aptSourceRepo)"
}
function Get-BuildahVersion {
$buildahVersion = buildah --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Buildah $buildahVersion (apt source repository: $aptSourceRepo)"
}
function Get-SkopeoVersion {
$skopeoVersion = skopeo --version | Take-OutputPart -Part 2
$aptSourceRepo = Get-AptSourceRepository -PackageName "containers"
return "Skopeo $skopeoVersion (apt source repository: $aptSourceRepo)"
}
function Get-CMakeVersion {
$cmakeVersion = cmake --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "CMake $cmakeVersion"
}
function Get-DockerComposeV1Version {
$composeVersion = docker-compose -v | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter ","
return "Docker Compose v1 $composeVersion"
}
function Get-DockerComposeV2Version {
$composeVersion = docker compose version | Take-OutputPart -Part 3
return "Docker Compose v2 $composeVersion"
}
function Get-DockerMobyClientVersion {
$dockerClientVersion = sudo docker version --format '{{.Client.Version}}'
return "Docker-Moby Client $dockerClientVersion"
}
function Get-DockerMobyServerVersion {
$dockerServerVersion = sudo docker version --format '{{.Server.Version}}'
return "Docker-Moby Server $dockerServerVersion"
}
function Get-DockerBuildxVersion {
$buildxVersion = docker buildx version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "+"
return "Docker-Buildx $buildxVersion"
}
function Get-GitVersion {
$gitVersion = git --version | Take-OutputPart -Part -1
$aptSourceRepo = Get-AptSourceRepository -PackageName "git-core"
return "Git $gitVersion (apt source repository: $aptSourceRepo)"
}
function Get-GitLFSVersion {
$result = Get-CommandResult "git-lfs --version"
$gitlfsversion = $result.Output | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
$aptSourceRepo = Get-AptSourceRepository -PackageName "git-lfs"
return "Git LFS $gitlfsversion (apt source repository: $aptSourceRepo)"
}
function Get-GitFTPVersion {
$gitftpVersion = git-ftp --version | Take-OutputPart -Part 2
return "Git-ftp $gitftpVersion"
}
function Get-GoogleCloudSDKVersion {
$aptSourceRepo = Get-AptSourceRepository -PackageName "google-cloud-sdk"
return "$(gcloud --version | Select-Object -First 1) (apt source repository: $aptSourceRepo)"
}
function Get-HavegedVersion {
$havegedVersion = dpkg-query --showformat='${Version}' --show haveged | Take-OutputPart -Part 0 -Delimiter "-"
return "Haveged $havegedVersion"
}
function Get-HerokuVersion {
$herokuVersion = heroku version | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "Heroku $herokuVersion"
}
function Get-HHVMVersion {
$hhvmVersion = hhvm --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "HHVM (HipHop VM) $hhvmVersion"
}
function Get-SVNVersion {
$svnVersion = svn --version | Select-Object -First 1 | Take-OutputPart -Part 2
return "SVN $svnVersion"
}
function Get-KustomizeVersion {
$kustomizeVersion = kustomize version --short | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "v"
return "Kustomize $kustomizeVersion"
}
function Get-KindVersion {
$kindVersion = kind version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "v"
return "Kind $kindVersion"
}
function Get-KubectlVersion {
$kubectlVersion = kubectl version --client --short | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "v"
return "Kubectl $kubectlVersion"
}
function Get-MinikubeVersion {
$minikubeVersion = minikube version --short | Take-OutputPart -Part 0 -Delimiter "v"
return "Minikube $minikubeVersion"
}
function Get-HGVersion {
$hgVersion = hg --version | Select-Object -First 1 | Take-OutputPart -Part -1 | Take-OutputPart -Part 0 -Delimiter ")"
return "Mercurial $hgVersion"
}
function Get-LeiningenVersion {
return "$(lein -v | Take-OutputPart -Part 0,1)"
}
function Get-MediainfoVersion {
$mediainfoVersion = (mediainfo --version | Select-Object -Index 1 | Take-OutputPart -Part 2).Replace('v', '')
return "MediaInfo $mediainfoVersion"
}
function Get-NewmanVersion {
return "Newman $(newman --version)"
}
function Get-NVersion {
$nVersion = (n --version).Replace('v', '')
return "n $nVersion"
}
function Get-NvmVersion {
$nvmVersion = bash -c "source /etc/skel/.nvm/nvm.sh && nvm --version"
return "nvm $nvmVersion"
}
function Get-PackerVersion {
# Packer 1.7.1 has a bug and outputs version to stderr instead of stdout https://github.com/hashicorp/packer/issues/10855
$result = (Get-CommandResult "packer --version").Output
$packerVersion = [regex]::matches($result, "(\d+.){2}\d+").Value
return "Packer $packerVersion"
}
function Get-PhantomJSVersion {
return "PhantomJS $(phantomjs --version)"
}
function Get-TerraformVersion {
return (terraform version | Select-String "^Terraform").Line.Replace('v','')
}
function Get-JqVersion {
$jqVersion = jq --version | Take-OutputPart -Part 1 -Delimiter "-"
return "jq $jqVersion"
}
function Get-AzureCliVersion {
$azcliVersion = (az version | ConvertFrom-Json).'azure-cli'
$aptSourceRepo = Get-AptSourceRepository -PackageName "azure-cli"
return "Azure CLI (azure-cli) $azcliVersion (installation method: $aptSourceRepo)"
}
function Get-AzureDevopsVersion {
$azdevopsVersion = (az version | ConvertFrom-Json).extensions.'azure-devops'
return "Azure CLI (azure-devops) $azdevopsVersion"
}
function Get-AlibabaCloudCliVersion {
return "Alibaba Cloud CLI $(aliyun version)"
}
function Get-AWSCliVersion {
$result = Get-CommandResult "aws --version"
$awsVersion = $result.Output | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "AWS CLI $awsVersion"
}
function Get-AWSCliSessionManagerPluginVersion {
$result = (Get-CommandResult "session-manager-plugin --version").Output
return "AWS CLI Session manager plugin $result"
}
function Get-AWSSAMVersion {
return "AWS SAM CLI $(sam --version | Take-OutputPart -Part -1)"
}
function Get-FastlaneVersion {
$fastlaneVersion = fastlane --version | Select-String "^fastlane [0-9]" | Take-OutputPart -Part 1
return "Fastlane $fastlaneVersion"
}
function Get-HubCliVersion {
$hubVersion = hub --version | Select-String "hub version" | Take-OutputPart -Part 2
return "Hub CLI $hubVersion"
}
function Get-GitHubCliVersion {
$ghVersion = gh --version | Select-String "gh version" | Take-OutputPart -Part 2
return "GitHub CLI $ghVersion"
}
function Get-NetlifyCliVersion {
$netlifyVersion = netlify --version | Take-OutputPart -Part 0 | Take-OutputPart -Part 1 -Delimiter "/"
return "Netlify CLI $netlifyVersion"
}
function Get-OCCliVersion {
$ocVersion = oc version | Take-OutputPart -Part 2 | Take-OutputPart -Part 0 -Delimiter "-"
return "OpenShift CLI $ocVersion"
}
function Get-ORASCliVersion {
$orasVersion = oras version | Select-String "^Version:" | Take-OutputPart -Part 1
return "ORAS CLI $orasVersion"
}
function Get-VerselCliversion {
$result = Get-CommandResult "vercel --version" -Multiline
return $result.Output | Select-Object -First 1
}
function Get-PulumiVersion {
$pulumiVersion = pulumi version | Take-OutputPart -Part 0 -Delimiter "v"
return "Pulumi $pulumiVersion"
}
function Get-RVersion {
$rVersion = (Get-CommandResult "R --version | grep 'R version'").Output | Take-OutputPart -Part 2
return "R $rVersion"
}
function Get-SphinxVersion {
$sphinxVersion = searchd -h | Select-Object -First 1 | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Sphinx Open Source Search Server $sphinxVersion"
}
function Get-YamllintVersion {
return "$(yamllint --version)"
}
function Get-ZstdVersion {
$zstdVersion = zstd --version | Take-OutputPart -Part 1 -Delimiter "v" | Take-OutputPart -Part 0 -Delimiter ","
return "zstd $zstdVersion (homebrew)"
}
function Get-YqVersion {
$yqVersion = ($(yq -V) -Split " ")[-1]
return "yq $yqVersion"
}
@@ -1,61 +0,0 @@
function Get-ApacheVersion {
$name = "apache2"
$port = 80
$version = bash -c "apache2 -v | grep -Po 'Apache/(\d+.){2}\d+'" | Take-OutputPart -Part 1 -Delimiter "/"
$serviceStatus = systemctl status apache2 | grep "Active:" | Take-OutputPart -Part 1
$configFile = "/etc/apache2/apache2.conf"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Get-NginxVersion {
$name = "nginx"
$port = 80
$version = (dpkg-query --showformat='${Version}' --show nginx).Split('-')[0]
$serviceStatus = systemctl status nginx | grep "Active:" | Take-OutputPart -Part 1
$configFile = "/etc/nginx/nginx.conf"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Get-Xsp4Version {
$name = "mono-xsp4"
$port = (grep '^port=' /etc/default/mono-xsp4).Split('=')[1]
$version = (dpkg-query --showformat='${Version}' --show mono-xsp4).Split('-')[0]
$serviceStatus = systemctl show -p ActiveState --value mono-xsp4
$configFile = "/etc/default/mono-xsp4"
return [PsCustomObject]@{
"Name" = $name
"Version" = $version
"ConfigFile" = $configFile
"ServiceStatus" = $serviceStatus
"ListenPort" = $port
}
}
function Build-WebServersSection {
$servers = @(
(Get-ApacheVersion),
(Get-NginxVersion)
)
if (Test-IsUbuntu20) {
$servers += (Get-Xsp4Version)
}
$output = ""
$output += New-MDHeader "Web Servers" -Level 3
$output += $servers | Sort-Object Name | New-MDTable
$output += New-MDNewLine
return $output
}
@@ -1,7 +0,0 @@
#!/bin/bash -e
prefix=/usr/local/bin
for tool in apt apt-get apt-fast apt-key;do
sudo rm -f $prefix/$tool
done
-40
View File
@@ -1,40 +0,0 @@
#!/bin/bash -e
# Stop and disable apt-daily upgrade services;
systemctl stop apt-daily.timer
systemctl disable apt-daily.timer
systemctl disable apt-daily.service
systemctl stop apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.service
# Enable retry logic for apt up to 10 times
echo "APT::Acquire::Retries \"10\";" > /etc/apt/apt.conf.d/80-retries
# Configure apt to always assume Y
echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
# Fix bad proxy and http headers settings
cat <<EOF >> /etc/apt/apt.conf.d/99bad_proxy
Acquire::http::Pipeline-Depth 0;
Acquire::http::No-Cache true;
Acquire::BrokenProxy true;
EOF
# Uninstall unattended-upgrades
apt-get purge unattended-upgrades
# Need to limit arch for default apt repos due to
# https://github.com/actions/virtual-environments/issues/1961
sed -i'' -E 's/^deb http:\/\/(azure.archive|security).ubuntu.com/deb [arch=amd64,i386] http:\/\/\1.ubuntu.com/' /etc/apt/sources.list
echo 'APT sources limited to the actual architectures'
cat /etc/apt/sources.list
apt-get update
# Install jq
apt-get install jq
# Install apt-fast using quick-install.sh
# https://github.com/ilikenwf/apt-fast
bash -c "$(curl -sL https://raw.githubusercontent.com/ilikenwf/apt-fast/master/quick-install.sh)"
@@ -1,4 +0,0 @@
#!/bin/bash -e
# https://github.com/hashicorp/packer/issues/11656
echo PubkeyAcceptedKeyTypes=+ssh-rsa >> /etc/ssh/sshd_config
systemctl reload sshd.service
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash -e
################################################################################
## File: repos.sh
## Desc: Installs official Microsoft package repos for the distribution
################################################################################
LSB_RELEASE=$(lsb_release -rs)
# Install Microsoft repository
wget https://packages.microsoft.com/config/ubuntu/$LSB_RELEASE/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
# Install Microsoft GPG public key
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
# update
apt-get -yq update
apt-get -yq dist-upgrade
@@ -1,82 +0,0 @@
function Get-CommandResult {
param (
[Parameter(Mandatory=$true)]
[string] $Command,
[int[]] $ExpectExitCode = 0,
[switch] $Multiline,
[bool] $ValidateExitCode = $true
)
# Bash trick to suppress and show error output because some commands write to stderr (for example, "python --version")
$stdout = & bash -c "$Command 2>&1"
$exitCode = $LASTEXITCODE
if ($ValidateExitCode) {
if ($ExpectExitCode -notcontains $exitCode) {
try {
throw "StdOut: '$stdout' ExitCode: '$exitCode'"
} catch {
Write-Host $_.Exception.Message
Write-Host $_.ScriptStackTrace
exit $LASTEXITCODE
}
}
}
return @{
Output = If ($Multiline -eq $true) { $stdout } else { [string]$stdout }
ExitCode = $exitCode
}
}
function Get-OSName {
lsb_release -ds
}
function Get-KernelVersion {
$kernelVersion = uname -r
return "Linux kernel version: $kernelVersion"
}
function Test-IsUbuntu18 {
return (lsb_release -rs) -eq "18.04"
}
function Test-IsUbuntu20 {
return (lsb_release -rs) -eq "20.04"
}
function Test-IsUbuntu22 {
return (lsb_release -rs) -eq "22.04"
}
function Get-ToolsetContent {
$toolset = Join-Path $env:INSTALLER_SCRIPT_FOLDER "toolset.json"
Get-Content $toolset -Raw | ConvertFrom-Json
}
function Get-ToolsetValue {
param (
[Parameter(Mandatory = $true)]
[string] $KeyPath
)
$jsonNode = Get-ToolsetContent
$pathParts = $KeyPath.Split(".")
# try to walk through all arguments consequentially to resolve specific json node
$pathParts | ForEach-Object {
$jsonNode = $jsonNode.$_
}
return $jsonNode
}
function Get-AndroidPackages {
$androidSDKManagerPath = "/usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager"
$androidPackages = & $androidSDKManagerPath --list --verbose 2>&1
return $androidPackages
}
function Get-EnvironmentVariable($variable) {
return [System.Environment]::GetEnvironmentVariable($variable)
}
@@ -1,158 +0,0 @@
function Take-OutputPart {
param (
[Parameter(ValueFromPipeline)]
[string] $toolOutput,
[string] $Delimiter = " ",
[int[]] $Part
)
$parts = $toolOutput.Split($Delimiter, [System.StringSplitOptions]::RemoveEmptyEntries)
$selectedParts = $parts[$Part]
return [string]::Join($Delimiter, $selectedParts)
}
function New-MDNewLine {
param (
[int] $Count = 1
)
$newLineSymbol = [System.Environment]::NewLine
return $newLineSymbol * $Count
}
function Restore-UserOwner {
sudo chown -R ${env:USER}: $env:HOME
}
function Get-LinkTarget {
param (
[string] $inputPath
)
$link = Get-Item $inputPath | Select-Object -ExpandProperty Target
if ($link) {
return " -> $link"
}
return ""
}
function Get-PathWithLink {
param (
[string] $inputPath
)
$link = Get-LinkTarget($inputPath)
return "${inputPath}${link}"
}
function Get-CachedToolInstances
{
<#
.SYNOPSIS
Returns hastable of installed cached tools.
.DESCRIPTION
Return hastable that contains versions and architectures for selected cached tool.
.PARAMETER Name
Name of cached tool.
.PARAMETER VersionCommand
Optional parameter. Command to return version of system default tool.
.EXAMPLE
Get-CachedToolInstances -Name "Python" -VersionCommand "--version"
#>
param
(
[String] $Name,
[String] $VersionCommand
)
$toolInstances = @()
$toolPath = Join-Path -Path $env:AGENT_TOOLSDIRECTORY -ChildPath $Name
# Get all installed versions from TOOLSDIRECTORY folder
$versions = Get-ChildItem $toolPath | Sort-Object { [System.Version]$_.Name }
foreach ($version in $versions)
{
$instanceInfo = @{}
# Create instance hashtable
[string]$instanceInfo.Path = Join-Path -Path $toolPath -ChildPath $version.Name
[string]$instanceInfo.Version = $version.Name
# Get all architectures for current version
[array]$instanceInfo.Architecture_Array = Get-ChildItem $version.FullName -Name -Directory | Where-Object { $_ -match "^x[0-9]{2}$" }
[string]$instanceInfo.Architecture = $instanceInfo.Architecture_Array -Join ", "
# Add (default) postfix to version name, in case if current version is in environment path
if (-not ([string]::IsNullOrEmpty($VersionCommand)))
{
$defaultVersion = $(& ($Name.ToLower()) $VersionCommand 2>&1)
$defaultToolVersion = $defaultVersion | Select-String -Pattern "\d+\.\d+\.\d+" -AllMatches `
| ForEach-Object { $_.Matches.Value }
if ([version]$version.Name -eq [version]$defaultToolVersion)
{
$instanceInfo.Version += " (Default)"
}
}
$toolInstances += $instanceInfo
}
return $toolInstances
}
function Get-AptSourceRepository {
param([String] $PackageName)
$sourceUrl = Get-Content "$PSScriptRoot/../helpers/apt-sources.txt" | Select-String -Pattern $PackageName | Take-OutputPart -Part (1..3)
return $sourceUrl
}
function Test-BlankElement {
param(
[string] $Markdown
)
$splitByLines = $Markdown.Split("`n")
# Validate entry without version
$blankVersions = $splitByLines -match "^-" -notmatch "Image Version|MySQL Server|Vcpkg|\d\." | Out-String
# Validate tables with blank rows
$blankRows = ""
for($i = 0; $i -lt $splitByLines.Length; $i++) {
$addRows= $false
$table = @()
if ($splitByLines[$i].StartsWith("#") -and $splitByLines[$i+1].StartsWith("|")) {
$table += $splitByLines[$i,($i+1),($i+2)]
$i += 3
$current = $splitByLines[$i]
while ($current.StartsWith("|")) {
$isBlankRow = $current.Substring(1, $current.LastIndexOf("|") - 2).Split("|").Trim() -contains ""
if ($isBlankRow) {
$table += $current
$addRows = $true
}
$current = $splitByLines[++$i]
}
if ($addRows) {
$blankRows += $table | Out-String
}
}
}
# Display report
$isReport = $false
if ($blankVersions) {
Write-Host "Software list with blank version:`n${blankVersions}"
$isReport = $true
}
if ($blankRows) {
Write-Host "Tables with blank rows:`n${blankRows}"
$isReport = $true
}
if ($isReport) {
exit 1
}
}
@@ -1,104 +0,0 @@
Import-Module "$PSScriptRoot/../helpers/Common.Helpers.psm1" -DisableNameChecking
# Validates that tool is installed and in PATH
function Validate-ToolExist($tool) {
Get-Command $tool -ErrorAction SilentlyContinue | Should -BeTrue
}
function Invoke-PesterTests {
Param(
[Parameter(Mandatory)][string] $TestFile,
[string] $TestName
)
$testPath = "/imagegeneration/tests/${TestFile}.Tests.ps1"
if (-not (Test-Path $testPath)) {
throw "Unable to find test file '$TestFile' on '$testPath'."
}
# Check that Pester module is imported
if (!(Get-Module "Pester")) {
Import-Module Pester
}
$configuration = [PesterConfiguration] @{
Run = @{ Path = $testPath; PassThru = $true }
Output = @{ Verbosity = "Detailed" }
}
if ($TestName) {
$configuration.Filter.FullName = $TestName
}
# Switch ErrorActionPreference to Stop temporary to make sure that tests will fail on silent errors too
$backupErrorActionPreference = $ErrorActionPreference
$ErrorActionPreference = "Stop"
$results = Invoke-Pester -Configuration $configuration
$ErrorActionPreference = $backupErrorActionPreference
# Fail in case if no tests are run
if (-not ($results -and ($results.FailedCount -eq 0) -and (($results.PassedCount + $results.SkippedCount) -gt 0))) {
$results
throw "Test run has failed"
}
}
function ShouldReturnZeroExitCode {
Param(
[string] $ActualValue,
[switch] $Negate,
[string] $Because # This parameter is unused but we need it to match Pester asserts signature
)
$result = Get-CommandResult $ActualValue -ValidateExitCode $false
[bool]$succeeded = $result.ExitCode -eq 0
if ($Negate) { $succeeded = -not $succeeded }
if (-not $succeeded)
{
$commandOutputIndent = " " * 4
$commandOutput = ($result.Output | ForEach-Object { "${commandOutputIndent}${_}" }) -join "`n"
$failureMessage = "Command '${ActualValue}' has finished with exit code`n${commandOutput}"
}
return [PSCustomObject] @{
Succeeded = $succeeded
FailureMessage = $failureMessage
}
}
function ShouldMatchCommandOutput {
Param(
[string] $ActualValue,
[string] $RegularExpression,
[switch] $Negate
)
$output = (Get-CommandResult $ActualValue -ValidateExitCode $false).Output | Out-String
[bool] $succeeded = $output -cmatch $RegularExpression
if ($Negate) {
$succeeded = -not $succeeded
}
$failureMessage = ''
if (-not $succeeded) {
if ($Negate) {
$failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to not match '$output', but it did match."
}
else {
$failureMessage = "Expected regular expression '$RegularExpression' for '$ActualValue' command to match '$output', but it did not match."
}
}
return [PSCustomObject] @{
Succeeded = $succeeded
FailureMessage = $failureMessage
}
}
If (Get-Command -Name Add-ShouldOperator -ErrorAction SilentlyContinue) {
Add-ShouldOperator -Name ReturnZeroExitCode -InternalName ShouldReturnZeroExitCode -Test ${function:ShouldReturnZeroExitCode}
Add-ShouldOperator -Name MatchCommandOutput -InternalName ShouldMatchCommandOutput -Test ${function:ShouldMatchCommandOutput}
}

Some files were not shown because too many files have changed in this diff Show More