Compare commits

..
Author SHA1 Message Date
Image generation service account. 20833609a5 Updating readme file for macos-13-arm64 version 20250224.812 2025-02-25 06:20:16 +00: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
Prabhatkumar59andPrabhat kumar 14b6c3879f [Windows] Updating Edgedriver signature and Wsl2 checksum (#11612)
Co-authored-by: Prabhat kumar <[email protected]>
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
a4026a1e8b Updating readme file for win22 version 20250209.1.1 (#11572)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-13 12:55:02 +00:00
0014997d9e Updating readme file for win25 version 20250209.1.1 (#11573)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-13 12:36:25 +00:00
09075d8538 Updating readme file for win19 version 20250209.1.1 (#11571)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
013612c558 Updating readme file for ubuntu24 version 20250209.1.1 (#11565)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-12 12:46:05 +00:00
8573f609cb Updating readme file for ubuntu22 version 20250209.1.1 (#11566)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-12 12:39:15 +00:00
44e386c7ad Updating readme file for ubuntu20 version 20250209.1.1 (#11568)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
Prabhatkumar59andPrabhat kumar 7454a5b88a [Ubuntu24] adding libicu package version 70 (#11547)
Co-authored-by: Prabhat kumar <[email protected]>
2025-02-06 08:47:02 -07:00
b55bfdd989 Updating readme file for win22 version 20250203.1.1 (#11536)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-06 13:37:48 +00:00
d632cabc19 Updating readme file for win25 version 20250203.1.1 (#11538)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-06 10:50:58 +00:00
8aef0e3a45 Updating readme file for win19 version 20250203.1.1 (#11537)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
43d2c65c7b Updating readme file for ubuntu22 version 20250202.1.1 (#11527)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-06 05:25:06 +00:00
36052802e5 Updating readme file for ubuntu20 version 20250202.1.1 (#11532)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
93cafaffc5 Updating readme file for ubuntu24 version 20250202.1.1 (#11526)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c4ed0a5c10 Updating readme file for macos-13 version 20250129.634 (#11503)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-02-03 14:39:41 +00:00
RaviAkshintalaandRavi Akshintala 27c8809a05 [Windows] Updated the mongodb signature thumbprint (#11507)
Co-authored-by: Ravi Akshintala <[email protected]>
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
b0de0a7049 Updating readme file for win25 version 20250127.1.1 (#11502)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c8b6f67c08 Updating readme file for win22 version 20250127.1.1 (#11492)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-30 11:30:32 +00:00
a9c4aff756 Updating readme file for win19 version 20250127.1.1 (#11497)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-30 10:17:47 +00:00
0a2348df06 Updating readme file for macos-15-arm64 version 20250127.616 (#11481)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-30 06:19:19 +00:00
680aca18e3 Updating readme file for macos-13-arm64 version 20250127.672 (#11480)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-29 15:06:03 +00:00
d97acc5bf3 Updating readme file for macos-14 version 20250127.727 (#11485)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-29 13:47:04 +00:00
3ea8ee216f Updating readme file for ubuntu24 version 20250126.1.1 (#11479)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-29 13:21:28 +00:00
964d0b05f4 Updating readme file for ubuntu22 version 20250126.1.1 (#11478)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-29 11:51:32 +00:00
5a534e1f86 Updating readme file for ubuntu20 version 20250126.1.1 (#11477)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
4aaad333a6 [Windows]Updated the php 8.4 version (#11461)
Co-authored-by: Shivam Mathur <[email protected]>

Co-authored-by: Ravi Akshintala <[email protected]>
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
9af4ac0a68 Updating readme file for macos-15-arm64 version 20250120.596 (#11425)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-24 00:45:44 +00:00
65a1ae058f Updating readme file for macos-15-arm64 version 20250113.563 (#11371)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 19:56:16 +00:00
vidyasagarnimmagaddiandPat Myron d12bc7894b [Ubuntu] adding ruby version 3.3.* (#11452)
Co-authored-by: Pat Myron <[email protected]>
2025-01-23 08:08:29 -07:00
vidyasagarnimmagaddiandPat Myron f7fee117e8 [Windows] Adding Ruby version 3.3 (#11454)
Co-authored-by: Pat Myron <[email protected]>
2025-01-23 08:03:27 -07:00
hemanthmanga 02b8cbc5ce Adding latest Dotnet version 9 (#11457) 2025-01-23 08:01:43 -07:00
bdbe93c15a Updating readme file for win19 version 20250120.1.1 (#11449)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 13:55:17 +00:00
6e729ed9de Updating readme file for win22 version 20250120.2.1 (#11443)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
4e7613245f Updating readme file for win25 version 20250120.2.1 (#11440)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 12:26:39 +00:00
7f05bc5cf5 Updating readme file for ubuntu24 version 20250120.5.1 (#11442)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 12:05:59 +00:00
abc3bfa23d Updating readme file for ubuntu20 version 20250120.2.1 (#11439)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 12:05:38 +00:00
9303ddeb0c Updating readme file for ubuntu22 version 20250120.2.1 (#11441)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-23 11:43:45 +00:00
f12b993a3a Updating readme file for macos-14-arm64 version 20250120.774 (#11430)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
vidyasagarnimmagaddiandJames Knight 37aecb0028 [Ubuntu & Windows] Adding Python 3.13 version (#11438)
Co-authored-by: James Knight <[email protected]>
2025-01-22 08:57:31 -07:00
cd2ebf2962 Updating readme file for macos-13 version 20250120.597 (#11428)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-22 14:38:28 +00:00
ee9c567442 Updating readme file for macos-13-arm64 version 20250120.653 (#11427)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-22 13:27:05 +00:00
727faa300e Updating readme file for macos-15 version 20250120.591 (#11426)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ffc156c381 Updating readme file for win25 version 20250113.1.1 (#11385)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-16 17:07:27 +00:00
7ac5d59cf5 Updating readme file for macos-13-arm64 version 20250113.628 (#11373)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-16 16:43:41 +00:00
1bb89cd279 Updating readme file for macos-14-arm64 version 20250113.751 (#11375)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-16 16:21:36 +00:00
9f1c73e473 Updating readme file for win22 version 20250113.1.1 (#11379)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-16 15:26:19 +00:00
620d17380f Updating readme file for macos-15 version 20250113.570 (#11374)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-16 12:57:12 +00:00
4a67880dbe Updating readme file for macos-13 version 20250113.572 (#11372)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
250b209850 Updating readme file for macos-13-arm64 version 20250106.592 (#11305)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
97c57828ed Updating readme file for win19 version 20250113.1.1 (#11380)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
vidyasagarnimmagaddiandTim Jacomb d1852f561f [Ubuntu] Updated maven version 9.0 (#11337)
Co-authored-by: Tim Jacomb <[email protected]>
2025-01-13 07:41:39 -07:00
vidyasagarnimmagaddiandTim Jacomb 131105315a [Windows] Update maven version to 3.9 (#11321)
* [Windows] update maven version 3.9

Co-authored-by: Tim Jacomb <[email protected]>

* [Windows] Updated maven version 9.0
Co-authored-by: Tim Jacomb <[email protected]>

---------

Co-authored-by: Tim Jacomb <[email protected]>
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
susmitamaneandSusmita Mane 8085da95cb [macOS] Add ruby 3.4 to macos images. (#11346)
Co-authored-by: Susmita Mane <[email protected]>
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
c2491bb469 Updating readme file for macos-14 version 20250106.587 (#11315)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-09 10:38:06 +00:00
981fb1eb13 Updating readme file for macos-13 version 20250106.546 (#11304)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-09 06:05:24 +00:00
05c04b5275 Updating readme file for macos-14-arm64 version 20250106.725 (#11306)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 23:14:25 +00:00
2d35c44cec Updating readme file for win19 version 20250105.1.1 (#11312)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 18:08:04 +00:00
186e26bc97 Updating readme file for win22 version 20250105.1.1 (#11310)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 17:17:07 +00:00
5d3ec3ef99 Updating readme file for macos-15-arm64 version 20250106.544 (#11308)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 17:06:18 +00:00
402d029f44 Updating readme file for ubuntu20 version 20250105.1.1 (#11302)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 14:40:43 +00:00
f7416ed524 Updating readme file for win25 version 20250105.1.1 (#11313)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 14:27:13 +00:00
989ed18117 Updating readme file for macos-15 version 20250106.547 (#11307)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 13:31:07 +00:00
6d67eed162 Updating readme file for ubuntu22 version 20250105.1.1 (#11299)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2025-01-08 12:36:16 +00:00
bb3043b2c5 Updating readme file for ubuntu24 version 20250105.1.1 (#11298)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
sureshe456andSuresh kumar b8e122b1b1 [macOS] Add Xcode 16.2 Release to macOS14 (#11272)
Co-authored-by: Suresh kumar <[email protected]>
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
45226c1116 Updating readme file for macos-15-arm64 version 20241217.490 (#11213)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-19 16:13:23 +00:00
2d6d4f7714 Updating readme file for macos-15 version 20241217.493 (#11214)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
bcf2ea82ad Updating readme file for macos-14-arm64 version 20241216.651 (#11210)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-19 00:11:37 +00:00
9dbed1b18a Updating readme file for macos-14 version 20241216.504 (#11209)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 22:59:28 +00:00
70cee3d2bd Updating readme file for win19 version 20241215.1.1 (#11201)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 22:15:37 +00:00
f55af58f30 Updating readme file for win22 version 20241215.1.1 (#11202)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 22:01:34 +00:00
f983f3da95 Updating readme file for macos-13-arm64 version 20241216.537 (#11206)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 21:39:31 +00:00
832c038b81 Updating readme file for macos-13 version 20241216.479 (#11207)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 20:31:03 +00:00
39222c24c4 Updating readme file for ubuntu20 version 20241215.1.1 (#11205)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 17:10:33 +00:00
7c2da160a2 Updating readme file for ubuntu24 version 20241215.1.1 (#11197)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-18 12:26:37 +00:00
ee68afd89e Updating readme file for ubuntu22 version 20241215.1.1 (#11198)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ad23bf9f93 Updating readme file for ubuntu24 version 20241208.1.1 (#11139)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-16 07:39:37 -07:00
600fb502b3 Updating readme file for ubuntu22 version 20241211.1.1 (#11166)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
591df9aa44 Updating readme file for macos-15-arm64 version 20241211.459 (#11151)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-14 19:36:19 -06:00
225dce0cbd Updating readme file for macos-15 version 20241211.462 (#11150)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-14 19:35:45 -06:00
b14867a5eb Updating readme file for macos-13-arm64 version 20241211.503 (#11153)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-13 23:56:52 +00:00
4ef6e91929 Updating readme file for macos-14-arm64 version 20241211.616 (#11160)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-13 23:46:11 +00:00
6b5e85899d Updating readme file for macos-14 version 20241211.477 (#11154)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-13 22:53:14 +00:00
d0a65206e5 Updating readme file for macos-13 version 20241211.456 (#11155)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
019a2c6edc Updating readme file for win22 version 20241211.1.1 (#11165)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-13 16:50:08 +00:00
cb92b7c5b2 Updating readme file for ubuntu20 version 20241209.1.1 (#11141)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-13 09:16:02 -07:00
9e06b648c0 Updating readme file for win19 version 20241211.1.1 (#11175)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
b74c33ad6e Updating readme file for macos-14-arm64 version 20241202.580 (#11083)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 16:35:55 +00:00
de16eefce8 Updating readme file for macos-15-arm64 version 20241202.430 (#11086)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 13:24:19 +00:00
1346c98b00 Updating readme file for macos-13-arm64 version 20241202.469 (#11081)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 11:44:33 +00:00
26a47c5357 Updating readme file for macos-14 version 20241202.444 (#11082)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 11:17:09 +00:00
Lawrence Gripper d7a4f1a864 Update docs/dotnet-ubuntu.md 2024-12-05 11:05:46 +00:00
5ae5d85800 Updating readme file for macos-13 version 20241202.423 (#11084)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 10:32:22 +00:00
f839529975 Updating readme file for macos-15 version 20241202.430 (#11085)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-05 10:28:59 +00:00
d7901f6e93 Updating readme file for win19 version 20241201.2.1 (#11080)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-04 23:35:37 +00:00
d868709391 Updating readme file for win22 version 20241201.2.1 (#11078)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
07869434fe Updating readme file for ubuntu20 version 20241201.1.1 (#11072)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-04 12:00:37 +00:00
lawrencegripper 0fae0a3b0b Fix getting output 2024-12-04 11:55:32 +00:00
2d0360379c Updating readme file for ubuntu24 version 20241201.1.1 (#11073)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-12-04 11:46:11 +00:00
cc762854bd Updating readme file for ubuntu22 version 20241201.1.1 (#11076)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
RaviAkshintalaandRavi Akshintala 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 <[email protected]>
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
6eccdcc56f Updating readme file for macos-14-arm64 version 20241125.556 (#11031)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 14:43:12 +00:00
6d5e92cd22 Updating readme file for macos-15-arm64 version 20241125.405 (#11033)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 14:29:13 +00:00
50bb5e8967 Updating readme file for macos-13-arm64 version 20241125.445 (#11032)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
a63a87f6a0 Updating readme file for macos-14 version 20241125.421 (#11043)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 13:30:50 +00:00
ced65c7a3c Updating readme file for macos-15 version 20241125.404 (#11042)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 13:12:54 +00:00
153e15c52e Updating readme file for macos-13 version 20241125.399 (#11044)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 13:09:17 +00:00
a03f6d0ec3 Updating readme file for win22 version 20241125.1.1 (#11045)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 11:27:25 +00:00
f391328279 Updating readme file for win19 version 20241125.1.1 (#11046)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
00f102b4cc Updating readme file for ubuntu24 version 20241124.1.1 (#11038)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 04:03:16 +00:00
1e3d72af6d Updating readme file for ubuntu20 version 20241124.1.1 (#11040)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-26 04:02:31 +00:00
github-actions[bot]andImage generation service account. aba30c31f0 Updating readme file for ubuntu22 version 20241124.1.1 (#11039)
Co-authored-by: Image generation service account. <[email protected]>
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
166ca4e9c2 Updating readme file for macos-14-arm64 version 20241119.509 (#11011)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-22 15:26:36 +00:00
susmitamaneandErik Bershel 6e8ddff8ff [macOS] Add Ruby toolcache on arm64 images. (#10768)
Co-authored-by: Erik Bershel <[email protected]>
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 SahooandErik Bershel 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 <[email protected]>
2024-11-21 19:04:46 +05:30
183bef9022 Updating readme file for ubuntu20 version 20241117.1.1 (#10999)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-21 11:41:37 +00:00
53c3ba89fe Updating readme file for ubuntu22 version 20241117.1.1 (#10997)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-21 10:48:28 +00:00
6c6545011c Updating readme file for ubuntu24 version 20241117.1.1 (#10998)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-21 10:21:18 +00:00
2c013247b1 Updating readme file for macos-15-arm64 version 20241118.362 (#10991)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-21 03:33:00 +00:00
7a40bc62eb Updating readme file for macos-14 version 20241118.366 (#10993)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
Prabhatkumar59andPrabhat kumar c0b1588684 adding latest 3.2 version (#10988)
Co-authored-by: Prabhat kumar <[email protected]>
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
277110d088 Updating readme file for macos-13 version 20241108.324 (#10939)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-16 11:51:19 +00:00
susmitamaneandSusmita Mane 5934916ad9 [MacOS] Remove node 16 from macos13 as per support policy. (#10952)
Co-authored-by: Susmita Mane <[email protected]>
2024-11-15 22:27:47 -06:00
susmitamaneandSusmita Mane d0d851b2c2 [MacOS] Remove python 3.9/3.10 from macos13-ARM64 and macos14-ARM64 due to dependencies issue. (#10951)
Co-authored-by: Susmita Mane <[email protected]>
2024-11-15 22:27:15 -06:00
67857a41a1 Updating readme file for win22 version 20241113.3.1 (#10974)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-16 02:38:18 +00:00
c27b1a395f Updating readme file for win19 version 20241113.3.1 (#10972)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
a56a1d3dc7 Updating readme file for ubuntu22 version 20241112.1.1 (#10961)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
9b55b80556 Updating readme file for ubuntu24 version 20241112.1.1 (#10956)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
e96b8f37d5 Updating readme file for macos-14-arm64 version 20241108.442 (#10940)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-13 17:43:32 +00:00
ccbc0f9b26 Updating readme file for macos-13-arm64 version 20241108.368 (#10937)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-13 17:29:06 +00:00
d43ea5c42a Updating readme file for macos-14 version 20241108.322 (#10938)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-13 16:18:42 +00:00
5d604b9dc5 Updating readme file for ubuntu20 version 20241110.1.1 (#10948)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 [email protected] using old homebrew commit (#10935) 2024-11-08 13:13:31 -06:00
RaviAkshintalaandRavi Akshintala a070c8516f [Windows-Go]Updated the latest Go version 1.23 (#10919)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-11-08 09:05:54 -07:00
hemanthmangaandHemanth Manga 06e844f299 Adding Node.js latest version 22 (#10922)
Co-authored-by: Hemanth Manga <[email protected]>
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 [email protected] 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
b4c921107c Updating readme file for win19 version 20241104.2.1 (#10903)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
e74605cd6d Updating readme file for ubuntu24 version 20241103.1.1 (#10900)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-06 12:06:03 +00:00
c53958b30e Updating readme file for ubuntu22 version 20241103.1.1 (#10899)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-11-06 11:34:06 +00:00
10abbce9e6 Updating readme file for ubuntu20 version 20241103.1.1 (#10898)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
RaviAkshintalaandRavi Akshintala 24b91c995e Adding Windows sdk ltest version 26100 (#10862)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-10-28 10:12:30 -06:00
a1633b0193 Updating readme file for macos-13 version 20241023.237 (#10850)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-26 14:12:41 +00:00
02babd3573 Updating readme file for win22 version 20241021.1.1 (#10838)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account. fbbb9d7303 Updating readme file for win19 version 20241021.1.1 (#10839)
Co-authored-by: Image generation service account. <[email protected]>
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
e2b01435e8 Updating readme file for macos-14 version 20241014.202 (#10779)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
RaviAkshintalaandRavi Akshintala 0077a0756a [Windows] Signature thumbprint updated for the edgedriver (#10829)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-10-22 02:18:56 +05:30
0136427b07 Updating readme file for win19 version 20241015.1.1 (#10799)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-21 14:01:05 +00:00
954995809e Updating readme file for macos-14-arm64 version 20241014.301 (#10805)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-21 06:25:18 +00:00
fcc4cdb1d0 Updating readme file for win22 version 20241015.1.1 (#10803)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-20 12:05:53 +00:00
2997ec866b Updating readme file for ubuntu24 version 20241016.1.1 (#10800)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-20 03:34:02 +00:00
a177c07699 Updating readme file for ubuntu22 version 20241015.1.1 (#10801)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
hemanthmangaandHemanth Manga c152328e5a Removing Node version 16 (#10808)
Co-authored-by: Hemanth Manga <[email protected]>
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
011a640c94 Updating readme file for macos-15-arm64 version 20241014.193 (#10776)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-16 17:07:50 +00:00
f08266d9d0 Updating readme file for macos-13-arm64 version 20241014.218 (#10775)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-16 17:01:50 +00:00
b3b23d5faa Updating readme file for macos-15 version 20241014.202 (#10777)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
susmitamaneandSusmita Mane c6ea5e3564 [macOS] Add-python-3.13 (#10766)
Co-authored-by: Susmita Mane <[email protected]>
2024-10-11 12:04:45 -05:00
RaviAkshintalaandRavi Akshintala 9b4274cda9 Go version 1.23 Added and set as default version (#10763)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-10-11 18:14:17 +05:30
6becb4037c Updating readme file for macos-13-arm64 version 20241008.189 (#10750)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-11 05:54:14 +00:00
58e54334b0 Updating readme file for macos-13 version 20241008.186 (#10751)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-11 04:40:57 +00:00
RaviAkshintalaandRavi Akshintala dae0f77971 Removing Go version 1.20 (#10761)
Co-authored-by: Ravi Akshintala <[email protected]>
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
75f145b104 Updating readme file for macos-14-arm64 version 20241007.259 (#10740)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 20:49:32 +00:00
09ff567de6 Updating readme file for win22 version 20241006.1.1 (#10744)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 19:59:02 +00:00
7ca41de8b8 Updating readme file for macos-14 version 20241007.165 (#10741)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 19:51:29 +00:00
bd333c6236 Updating readme file for ubuntu24 version 20241006.1.1 (#10743)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 15:39:06 +00:00
dfca60f766 Updating readme file for ubuntu22 version 20241006.1.1 (#10742)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 15:07:22 +00:00
948c9e2df6 Updating readme file for macos-15-arm64 version 20241007.159 (#10737)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 13:51:03 +00:00
3e37de50ef Updating readme file for ubuntu20 version 20241006.1.1 (#10738)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
20de906028 Updating readme file for win19 version 20241006.1.1 (#10745)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-09 10:46:52 +00:00
1229dfcf19 Updating readme file for macos-15 version 20241007.173 (#10739)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
susmitamaneandSusmita Mane 6d85c4873e [macOS] Deprecating go 1.20 & NDK 24,25 from macos 13,14 images. (#10719)
Co-authored-by: Susmita Mane <[email protected]>
2024-10-03 08:43:47 -05:00
7bf4ada29d Updating readme file for macos-13-arm64 version 20240930.145 (#10706)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-03 06:42:12 +00:00
768c456091 Updating readme file for macos-14 version 20240930.130 (#10708)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-03 05:55:59 +00:00
7256777a6b Updating readme file for macos-13 version 20240930.147 (#10707)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-03 05:34:28 +00:00
2e94c1de50 Updating readme file for win22 version 20240929.1.1 (#10704)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
0a7abf330f Updating readme file for macos-15-arm64 version 20240930.135 (#10711)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-10-02 11:32:27 +00:00
f251d50781 Updating readme file for macos-15 version 20240930.153 (#10709)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
bd90e1a113 Updating readme file for macos-12 version 20240926.174 (#10695)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-30 07:02:15 +00:00
e7648fd6a7 Updating readme file for macos-13 version 20240923.120 (#10670)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 BershelandCarlo Cabrera 2fea25d02d [macOS] Recommended version of brew shellenv usage (#10660)
Co-authored-by: Carlo Cabrera <[email protected]>
2024-09-27 01:02:50 +02:00
2661cfaa93 Updating readme file for win22 version 20240922.1.1 (#10668)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-26 15:15:00 +00:00
e3b97844e5 Updating readme file for macos-14-arm64 version 20240922.1 (#10666)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ijunaidmandMohammed Junaid ae99c16b0c Updating ubuntu24.04 image as ubuntu-latest (#10687)
Co-authored-by: Mohammed Junaid <[email protected]>
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
4d4477e04e Updating readme file for macos-13-arm64 version 20240923.116 (#10669)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-25 15:45:44 +00:00
907fcf388b Updating readme file for macos-14 version 20240923.101 (#10673)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-25 15:07:03 +00:00
a52bed1b1a Updating readme file for ubuntu20 version 20240922.1.1 (#10674)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-25 13:31:27 +00:00
6ba53090b0 Updating readme file for ubuntu22 version 20240922.1.1 (#10667)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-25 13:06:24 +00:00
541dd995c8 Updating readme file for win19 version 20240922.1.1 (#10676)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-25 12:49:40 +00:00
github-actions[bot]andImage generation service account. 87d136e308 Updating readme file for ubuntu24 version 20240922.1.1 (#10672)
Co-authored-by: Image generation service account. <[email protected]>
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 Bershelandsarathrajsrinivasan 6e8c37cf52 [macOS] Update base image generation to work with Sequoia updates (#10651)
Co-authored-by: sarathrajsrinivasan <[email protected]>
2024-09-20 16:06:10 +02:00
8ffffdb49d Updating readme file for macos-14-arm64 version 20240918.8 (#10647)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-20 08:57:21 +00:00
3fbc297071 Updating readme file for macos-14 version 20240918.7 (#10645)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
8813e2b6e9 Updating readme file for macos-12 version 20240916.115 (#10630)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-19 06:50:34 +00:00
255206eaeb Updating readme file for ubuntu20 version 20240915.1.1 (#10628)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-19 02:55:51 +00:00
5809cd0f4d Updating readme file for ubuntu22 version 20240915.1.1 (#10627)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-19 02:55:18 +00:00
96520bb192 Updating readme file for macos-14-arm64 version 20240915.3 (#10622)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
85fbeaef9b Updating readme file for macos-13-arm64 version 20240916.74 (#10620)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-18 19:01:11 +00:00
495fd51951 Updating readme file for macos-14 version 20240915.2 (#10615)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-18 18:35:58 +00:00
f4ba5c5cbc Updating readme file for win22 version 20240915.1.1 (#10619)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-18 18:32:01 +00:00
feebb05e11 Updating readme file for ubuntu24 version 20240915.1.1 (#10626)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-18 18:28:04 +00:00
8e0eb613ac Updating readme file for macos-13 version 20240916.98 (#10623)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
5d31cfb3b9 Updating readme file for win19 version 20240915.1.1 (#10618)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ce2a3e8e67 Updating readme file for macos-14-arm64 version 20240911.3 (#10603)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-14 18:22:53 +00:00
71f35314bc Updating readme file for win22 version 20240912.1.1 (#10608)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
6774220762 Updating readme file for ubuntu22 version 20240908.1.1 (#10574)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-13 03:53:40 +00:00
0d40609330 Updating readme file for macos-12 version 20240908.1 (#10588)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-13 01:21:23 +00:00
d805d2e921 Updating readme file for win19 version 20240908.1.1 (#10579)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-12 23:07:40 +00:00
a142edbae6 Updating readme file for win22 version 20240908.1.1 (#10572)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-12 22:27:54 +00:00
a68ad81fbe Updating readme file for ubuntu24 version 20240908.1.1 (#10570)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-12 22:16:52 +00:00
bfff5e5a70 Updating readme file for ubuntu20 version 20240908.1.1 (#10569)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
20fb902d6b Updating readme file for macos-13-arm64 version 20240909.59 (#10585)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-12 12:04:18 +00:00
255fffd021 Updating readme file for macos-13 version 20240908.1 (#10581)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-11 21:58:25 +00:00
susmitamaneandSusmita Mane d2f9756b6e Add NDK 27 (#10522)
Co-authored-by: Susmita Mane <[email protected]>
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
ijunaidmandMohammed Junaid b60b7ab30f Add firefox to Ubuntu24.04 image (#10589)
Co-authored-by: Mohammed Junaid <[email protected]>
2024-09-12 01:43:36 +05:30
ff9acc6401 Updating readme file for macos-14 version 20240908.1 (#10576)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
RaviAkshintalaandRavi Akshintala e01c839141 go version 1.20 removed and 1.23 added (#10580)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-09-10 16:45:51 +05:30
8cdc506384 Updating readme file for macos-14-arm64 version 20240903.5 (#10551)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-06 15:25:58 +00:00
74ebd60101 Updating readme file for macos-12 version 20240901.2 (#10548)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-06 07:07:41 +00:00
49d5ab6422 Updating readme file for macos-13-arm64 version 20240901.2 (#10542)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-05 21:04:18 +00:00
31e868eebe Updating readme file for macos-14 version 20240902.6 (#10543)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-05 20:53:24 +00:00
14915191c7 Updating readme file for macos-13 version 20240901.3 (#10541)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
2c7fe0021a Updating readme file for win22 version 20240902.1.1 (#10537)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-05 08:32:52 +00:00
2ff0f1047a Updating readme file for ubuntu22 version 20240901.1.1 (#10534)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-05 07:26:54 +00:00
2bb8be665c Updating readme file for ubuntu20 version 20240901.1.1 (#10532)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-09-05 06:45:39 +00:00
b0c4ef1a6b Updating readme file for win19 version 20240902.1.1 (#10536)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
RaviAkshintalaandRavi Akshintala 24a8fbaf58 signature updated for the azure-cli (#10549)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-09-04 21:12:01 +05:30
e85a3666bf Updating readme file for ubuntu24 version 20240901.1.1 (#10527)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ijunaidmandMohammed Junaid 89f5712cad Add Packer tool to Ubuntu24.04 image (#10545)
Co-authored-by: Mohammed Junaid <[email protected]>
2024-09-04 01:10:52 +05:30
Erik BershelandAlexey-Ayupov ab15087979 [macOS] Introduce macOS-15 code (#10535)
Co-authored-by: Alexey-Ayupov <[email protected]>
2024-09-03 18:45:06 +02:00
RaviAkshintalaandRavi Akshintala ff516bd145 signature updated for the azurecosmosdbemulator (#10521)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-09-02 16:39:46 +05:30
12335f2cc4 Updating readme file for macos-14-arm64 version 20240827.4 (#10503)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-30 03:07:37 +00:00
d7c81d045c Updating readme file for macos-14 version 20240827.1 (#10502)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-30 02:36:34 +00:00
891c2ed95c Updating readme file for win22 version 20240825.1.1 (#10490)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-29 16:35:52 +00:00
RaviAkshintalaandRavi Akshintala 16b7d80a46 signature updated for visual studio (#10507)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-08-29 20:44:03 +05:30
c9fc7f734c Updating readme file for ubuntu20 version 20240825.1.1 (#10494)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-29 05:26:34 +00:00
0d632219e5 Updating readme file for ubuntu22 version 20240825.1.1 (#10492)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-29 05:20:29 +00:00
dda4a941d8 Updating readme file for macos-13-arm64 version 20240826.1 (#10496)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-29 01:47:33 +00:00
f778b762d5 Updating readme file for win19 version 20240825.1.1 (#10491)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-28 15:21:58 +00:00
90ada9b0c4 Updating readme file for macos-12 version 20240825.1 (#10489)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-28 14:51:40 +00:00
a27aca91e5 Updating readme file for ubuntu24 version 20240825.1.1 (#10493)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-28 12:38:45 +00:00
4e1b48a6c5 Updating readme file for macos-13 version 20240825.1 (#10488)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
e5de19ba15 Updating readme file for macos-12 version 20240819.7 (#10473)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
439ecfcfdb Updating readme file for macos-13 version 20240819.2 (#10462)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
5ab121d559 Updating readme file for macos-14-arm64 version 20240818.4 (#10460)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 18:21:19 +00:00
cba7c41716 Updating readme file for macos-13-arm64 version 20240818.3 (#10457)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 18:15:04 +00:00
564751b570 Updating readme file for macos-14 version 20240818.2 (#10459)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 18:00:07 +00:00
192b5bd8ad Updating readme file for win19 version 20240818.1.1 (#10458)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 14:11:53 +00:00
69f706a106 Updating readme file for ubuntu22 version 20240818.1.1 (#10456)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 12:16:47 +00:00
17a8ea14ac Updating readme file for ubuntu20 version 20240818.1.1 (#10455)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-21 11:52:24 +00:00
36cf63a735 Updating readme file for ubuntu24 version 20240818.1.1 (#10454)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
4e6e715037 Updating readme file for macos-12 version 20240811.1 (#10429)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-15 06:41:17 +00:00
197b995b2d Updating readme file for macos-14 version 20240811.3 (#10431)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
b8153b8d01 Updating readme file for win19 version 20240811.1.1 (#10427)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 11:29:27 +00:00
db2a58f0e3 Updating readme file for win22 version 20240811.1.1 (#10425)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 11:05:02 +00:00
eec55f72c9 Updating readme file for ubuntu22 version 20240811.1.1 (#10424)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 10:59:08 +00:00
1388aca8a3 Updating readme file for ubuntu20 version 20240811.1.1 (#10426)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 10:58:14 +00:00
cebb2a1884 Updating readme file for macos-14-arm64 version 20240811.1 (#10421)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 10:37:07 +00:00
474b80c589 Updating readme file for macos-13-arm64 version 20240811.1 (#10420)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-14 09:00:20 +00:00
85fb533e05 Updating readme file for macos-13 version 20240811.1 (#10422)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account. 30802498d6 Updating readme file for ubuntu24 version 20240811.1.1 (#10423)
Co-authored-by: Image generation service account. <[email protected]>
2024-08-13 14:11:21 +00:00
5e6cc3155d Updating readme file for win22 version 20240807.2.1 (#10412)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
8aec741c90 Updating readme file for ubuntu22 version 20240804.1.1 (#10392)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-08 14:17:44 +05:30
3a24d66b9e Updating readme file for macos-14-arm64 version 20240805.3 (#10397)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-08 06:56:56 +00:00
551ccc0fb1 Updating readme file for macos-13 version 20240805.3 (#10400)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-08 06:05:08 +00:00
RaviAkshintalaandRavi Akshintala 7665ed4ef9 removing the docker composev1 (#10407)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-08-08 10:07:02 +05:30
c31eef93ac Updating readme file for macos-13-arm64 version 20240804.1 (#10389)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-07 15:32:11 +00:00
37e8b599ee Updating readme file for macos-14 version 20240804.1 (#10388)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
4b55f4683f Updating readme file for ubuntu20 version 20240804.1.1 (#10391)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-07 12:29:32 +00:00
3300770426 Updating readme file for ubuntu24 version 20240804.1.1 (#10393)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-07 12:01:30 +00:00
ijunaidmandMohammed Junaid 7636fd53b9 Updated the AzPowershell module version (#10395)
Co-authored-by: Mohammed Junaid <[email protected]>
2024-08-06 17:41:19 +05:30
2a4bc14da4 Updating readme file for ubuntu22 version 20240730.2.1 (#10376)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-02 14:25:52 +00:00
0f88c4231d Updating readme file for win19 version 20240730.1.1 (#10372)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-02 13:42:15 +00:00
a54473db52 Updating readme file for ubuntu20 version 20240730.2.1 (#10375)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-02 13:37:35 +00:00
d935940e99 Updating readme file for macos-14-arm64 version 20240728.1 (#10360)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-01 23:55:48 +00:00
d46f62f273 Updating readme file for win22 version 20240729.2.1 (#10367)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-08-01 21:23:00 +00:00
9a08ad80ee Updating readme file for ubuntu24 version 20240730.3.1 (#10371)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c7276710b3 Updating readme file for macos-12 version 20240721.1 (#10322)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
a89507e2af Updating readme file for macos-14-arm64 version 20240722.3 (#10334)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-25 16:54:38 +00:00
cea9d0e0d1 Updating readme file for macos-14 version 20240722.3 (#10330)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-25 13:49:17 +00:00
abe90c1619 Updating readme file for win22 version 20240721.1.1 (#10325)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 23:31:20 +00:00
a74e63c6b1 Updating readme file for macos-13-arm64 version 20240721.1 (#10316)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 20:12:28 +00:00
d7ed5cb7b0 Updating readme file for macos-13 version 20240721.3 (#10328)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 19:01:34 +00:00
00959b266e Updating readme file for ubuntu22 version 20240721.1.1 (#10324)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 13:44:28 +00:00
36ab778536 Updating readme file for ubuntu20 version 20240721.1.1 (#10323)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 11:52:58 +00:00
e088ddba06 Updating readme file for ubuntu24 version 20240721.1.1 (#10317)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-24 11:39:25 +00:00
49f0b7160b Updating readme file for win19 version 20240721.1.1 (#10326)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ab8dfc0eb3 Updating readme file for win19 version 20240717.1.1 (#10310)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
23da668261 Updating readme file for macos-12 version 20240714.2 (#10239)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
b4b64341d6 Updating readme file for macos-14-arm64 version 20240714.2 (#10234)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 16:40:23 +00:00
8506dfcb6d Updating readme file for macos-13-arm64 version 20240714.1 (#10228)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 16:29:42 +00:00
9f23838ebe Updating readme file for macos-14 version 20240714.2 (#10233)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 15:57:25 +00:00
23541a17f0 Updating readme file for macos-13 version 20240714.1 (#10227)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c2c7c501c8 Updating readme file for ubuntu22 version 20240714.1.1 (#10232)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 15:09:53 +00:00
380b0afd7e Updating readme file for ubuntu24 version 20240714.1.1 (#10230)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 13:31:05 +00:00
4ac220f584 Updating readme file for ubuntu20 version 20240714.1.1 (#10235)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-17 13:11:10 +00:00
eafe328b90 Updating readme file for win22 version 20240714.1.1 (#10229)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
d8dce39e5f Updating readme file for macos-12 version 20240707.1 (#10196)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
32fcc6a5f4 Updating readme file for macos-14-arm64 version 20240707.1 (#10194)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-11 12:37:26 +00:00
79ef2c9407 Updating readme file for macos-13-arm64 version 20240708.1 (#10197)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-11 12:22:58 +00:00
3dcb189d30 Updating readme file for macos-14 version 20240708.1 (#10195)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-11 11:46:34 +00:00
6f8e340c85 Updating readme file for macos-13 version 20240707.2 (#10193)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-11 11:29:57 +00:00
1b535372a0 Updating readme file for ubuntu22 version 20240708.1.1 (#10190)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
06652839a7 Updating readme file for win22 version 20240707.1.1 (#10189)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-10 14:02:04 +00:00
e329995e52 Updating readme file for ubuntu20 version 20240708.1.1 (#10191)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-10 13:57:51 +00:00
bd17a26b42 Updating readme file for win19 version 20240707.1.1 (#10187)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-10 13:01:18 +00:00
960e86ba13 Updating readme file for ubuntu24 version 20240707.1.1 (#10188)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-10 12:02:30 +00:00
RaviAkshintalaandRavi Akshintala 221efcbdc3 fix visual studio signature (#10205)
Co-authored-by: Ravi Akshintala <[email protected]>
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
RaviAkshintalaandRavi Akshintala 567d4a0ea4 adding alpine latest version (#10180)
Co-authored-by: Ravi Akshintala <[email protected]>
2024-07-08 17:20:44 +05:30
e81c4806fe Updating readme file for macos-13 version 20240630.1 (#10157)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-05 18:18:51 +00:00
b6bcbdc786 Updating readme file for macos-14-arm64 version 20240701.9 (#10161)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-05 07:21:39 +00:00
c5a9fa6ec5 Updating readme file for win22 version 20240630.1.1 (#10150)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-04 19:52:55 +00:00
ef57088246 Updating readme file for macos-13-arm64 version 20240701.1 (#10160)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-04 14:22:17 +00:00
bf3a13fe2a Updating readme file for ubuntu20 version 20240701.1.1 (#10163)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
7863994db8 Updating readme file for ubuntu22 version 20240630.1.1 (#10149)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-04 11:49:37 +00:00
4ac3f5b277 Updating readme file for ubuntu24 version 20240630.1.1 (#10152)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-04 11:48:08 +00:00
ebeb608ce1 Updating readme file for win19 version 20240630.1.1 (#10151)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-07-04 11:27:52 +00:00
a4c4b159f0 Updating readme file for macos-14 version 20240701.1 (#10162)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account. af2f67d1ad Updating readme file for macos-12 version 20240630.1 (#10156)
Co-authored-by: Image generation service account. <[email protected]>
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
5afe2ac2dc Updating readme file for macos-14-arm64 version 20240625.2 (#10131)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-30 05:56:24 +00:00
773246ccf7 Updating readme file for ubuntu24 version 20240624.1.1 (#10124)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-29 16:40:06 +00:00
734699ef61 Updating readme file for win22 version 20240624.1.1 (#10127)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-28 18:19:37 +00:00
ce0b29d20c Updating readme file for win19 version 20240624.1.1 (#10119)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-28 16:32:38 +00:00
ed7da973ff Updating readme file for ubuntu22 version 20240624.1.1 (#10125)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-28 16:10:05 +00:00
71142e7053 Updating readme file for ubuntu20 version 20240624.2.1 (#10123)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
e63e9ad701 Updating readme file for macos-12 version 20240623.1 (#10112)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-27 19:54:14 +00:00
d7a4be0267 Updating readme file for macos-13-arm64 version 20240624.1 (#10115)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-27 00:47:07 +00:00
d728101ace Updating readme file for macos-13 version 20240623.1 (#10117)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-26 23:18:51 +00:00
d31e0a18cb Updating readme file for macos-14 version 20240624.1 (#10116)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c5c9a7cd7b Updating readme file for macos-13 version 20240616.1 (#10076)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-21 14:14:30 +00:00
bcf346f13b Updating readme file for win22 version 20240618.1.1 (#10096)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-21 12:14:19 +00:00
Shamil Mubarakshin 2813ee66cb Update Image Rollout Badges (#10100) 2024-06-20 17:52:59 +02:00
d31241d2c8 Updating readme file for macos-14-arm64 version 20240616.1 (#10078)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-19 23:26:16 +00:00
8c3d5d9d09 Updating readme file for macos-12 version 20240617.1 (#10086)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-19 18:51:18 +00:00
e7f54bfde8 Updating readme file for macos-13-arm64 version 20240617.2 (#10081)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-19 17:20:15 +00:00
d6a35ea98b Updating readme file for macos-14 version 20240616.1 (#10077)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-19 16:28:40 +00:00
b7a8e5ca52 Updating readme file for ubuntu24 version 20240617.1.1 (#10084)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-19 14:59:11 +00:00
3464b06c4c Updating readme file for ubuntu22 version 20240616.1.1 (#10082)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
d0b14aa29e Updating readme file for ubuntu20 version 20240617.1.1 (#10080)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account. fb41178b75 Updating readme file for macos-14 version 20240612.5 (#10058)
Co-authored-by: Image generation service account. <[email protected]>
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
3e33d65ff9 Updating readme file for macos-14-arm64 version 20240611.1 (#10047)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-13 01:57:57 +00:00
e0fd3fea70 Updating readme file for macos-13-arm64 version 20240609.1 (#10034)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-12 19:18:39 +00:00
f610e46b01 Updating readme file for win22 version 20240610.1.1 (#10041)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-12 11:58:55 +00:00
e21232684f Updating readme file for ubuntu20 version 20240609.1.1 (#10042)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-12 11:26:00 +00:00
619f9fd372 Updating readme file for ubuntu22 version 20240609.1.1 (#10039)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-12 11:20:56 +00:00
42a61d742a Updating readme file for win19 version 20240610.1.1 (#10040)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-12 11:20:30 +00:00
65d62e1688 Updating readme file for macos-13 version 20240609.1 (#10033)
Co-authored-by: Image generation service account. <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
7271f004d4 Updating readme file for macos-14-arm64 version 20240603.1 (#9991)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-07 11:46:14 +00:00
71714d51d3 Updating readme file for macos-12 version 20240602.1 (#9994)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
a615999e85 Updating readme file for win22 version 20240603.1.1 (#9990)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-07 05:54:53 +00:00
bbad000130 Updating readme file for ubuntu20 version 20240603.1.1 (#9987)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 15:53:04 +00:00
b3529d148e Updating readme file for ubuntu22 version 20240603.1.1 (#9988)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 13:55:15 +00:00
8549372c4c Updating readme file for macos-14 version 20240603.1 (#9985)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 12:48:23 +00:00
c27adcfdba Updating readme file for win19 version 20240603.1.1 (#9989)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 11:54:45 +00:00
45651fd866 Updating readme file for macos-13-arm64 version 20240603.1 (#9992)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 11:26:34 +00:00
28bc3aff6d Updating readme file for macos-13 version 20240603.1 (#9993)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-06-06 10:44:46 +00:00
Erik BershelandTaleh Zaliyev 7992e7f1ba [Ubuntu, Windows] Update Docker tools versions (#9982)
Co-authored-by: Taleh Zaliyev <[email protected]>
2024-06-05 12:27:31 +02:00
github-actions[bot]andImage generation service account 3a10719283 Updating readme file for ubuntu24 version 20240604.1.1 (#9986)
Co-authored-by: Image generation service account <[email protected]>
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 KoliadaandKacper Michajłow 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 <[email protected]>

---------

Co-authored-by: Kacper Michajłow <[email protected]>
2024-06-04 11:35:21 +02:00
Kenichi Kamiya a9f4b4f480 [Ubuntu] Add tree command (#9936) 2024-06-03 11:50:44 +02:00
25c57a1bbf Updating readme file for macos-12 version 20240527.4 (#9955)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
9d5d1be482 Updating readme file for macos-14-arm64 version 20240526.2 (#9940)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-29 21:31:15 +00:00
785629d8d8 Updating readme file for macos-13-arm64 version 20240524.2 (#9939)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
448c998191 Updating readme file for macos-13 version 20240526.1 (#9943)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-29 11:29:00 +00:00
0f916a843b Updating readme file for macos-14 version 20240526.1 (#9944)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c99c444ee9 Updating readme file for ubuntu22 version 20240526.1.1 (#9941)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
8476a08273 Updating readme file for win19 version 20240526.1.1 (#9942)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-28 12:07:57 +00:00
04166140e1 Updating readme file for ubuntu20 version 20240526.1.1 (#9938)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 BershelandJack Hennessey 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 <[email protected]>
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
afb777d3f7 Updating readme file for ubuntu24 version 20240516.4.1 (#9871)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-17 09:16:30 +00:00
532cfd5c07 Updating readme file for ubuntu22 version 20240516.1.1 (#9870)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-17 02:41:39 +00:00
github-actions[bot]andImage generation service account cccb82874c Updating readme file for ubuntu20 version 20240516.1.1 (#9869)
Co-authored-by: Image generation service account <[email protected]>
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
e11ab1f9c6 Updating readme file for macos-14-arm64 version 20240514.3 (#9858)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
6df3848fcd Updating readme file for win22 version 20240514.3.1 (#9853)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-16 13:28:02 +02:00
github-actions[bot]andImage generation service account c9c09169e4 Updating readme file for macos-12 version 20240514.3 (#9861)
Co-authored-by: Image generation service account <[email protected]>
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
80ea4b55c0 Updating readme file for macos-13-arm64 version 20240514.3 (#9859)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-15 21:18:01 +00:00
cfcc1c6a1b Updating readme file for ubuntu22 version 20240514.2.1 (#9854)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-15 20:28:30 +00:00
b98d6e44fa Updating readme file for win19 version 20240514.1.1 (#9856)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-15 18:39:54 +00:00
9815039618 Updating readme file for ubuntu20 version 20240514.2.1 (#9855)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-15 17:07:55 +00:00
384f5acb62 Updating readme file for macos-13 version 20240514.3 (#9860)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-15 15:44:01 +00:00
7d377ee02b Updating readme file for macos-14 version 20240514.3 (#9857)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account ab72240867 Updating readme file for ubuntu24 version 20240510.1.1 (#9828)
Co-authored-by: Image generation service account <[email protected]>
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
530454b772 Updating readme file for macos-13 version 20240506.1 (#9800)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
78ef24110a Updating readme file for macos-13-arm64 version 20240506.2 (#9801)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-05-09 13:32:34 +00:00
7772fec117 Updating readme file for macos-14 version 20240507.2 (#9813)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
AMandAMundewal 9e048184f9 Azurecli Expected signature updated (#9772)
Co-authored-by: AMundewal <[email protected]>
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 BershelandAlexey Ayupov 3d2dd97aa7 [Ubuntu] Add Ubuntu-24.04 base image (#9754)
Co-authored-by: Alexey Ayupov <[email protected]>
2024-04-26 23:18:26 +02:00
github-actions[bot]andImage generation service account 54f59dcb98 Updating readme file for macos-13 version 20240421.1 (#9725)
Co-authored-by: Image generation service account <[email protected]>
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
c7efc0685d Updating readme file for macOS-12 version 20240418.1 (#9718)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
a420c2896e Updating readme file for win22 version 20240421.1.1 (#9721)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 17:01:10 +00:00
565a8e540a Updating readme file for macos-14-arm64 version 20240422.3 (#9728)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 14:33:51 +00:00
04c43a0f58 Updating readme file for macos-13-arm64 version 20240422.1 (#9729)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 14:11:22 +00:00
c5a4a6ff8c Updating readme file for macos-14 version 20240422.1 (#9726)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 12:57:03 +00:00
67a74919b4 Updating readme file for win19 version 20240422.1.1 (#9727)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 12:02:49 +00:00
771153c588 Updating readme file for ubuntu20 version 20240422.1.1 (#9724)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-24 10:59:02 +00:00
github-actions[bot]andImage generation service account 9356e95351 Updating readme file for ubuntu22 version 20240422.1.1 (#9730)
Co-authored-by: Image generation service account <[email protected]>
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
753a5bbaf4 Updating readme file for macOS-12 version 20240412.2 (#9699)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-18 09:08:40 +00:00
7fefd9f03c Updating readme file for macos-14-arm64 version 20240415.6 (#9698)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 14:50:51 +00:00
1a9753b738 Updating readme file for macos-13-arm64 version 20240415.2 (#9695)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
0cd9c988c4 Updating readme file for win19 version 20240414.1.1 (#9687)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 12:33:42 +00:00
d0baa451b5 Updating readme file for win22 version 20240414.1.1 (#9688)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 14:08:12 +02:00
c8d9d73807 Updating readme file for macos-14 version 20240414.1 (#9696)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 12:01:08 +00:00
7861e423d5 Updating readme file for ubuntu22 version 20240414.1.1 (#9685)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 11:48:09 +00:00
8f8a09e01b Updating readme file for macos-13 version 20240415.1 (#9697)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-17 13:28:48 +02:00
b61fcf4040 Updating readme file for ubuntu20 version 20240414.1.1 (#9686)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 ZandmanandLeon Zandman 3b976c7acb Filename fix. (#9689)
Co-authored-by: Leon Zandman <[email protected]>
2024-04-15 16:21:18 +02:00
2530c697b5 Updating readme file for macOS-12 version 20240406.2 (#9649)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-12 10:11:22 +00:00
d8214c6eaa Updating readme file for macos-13-arm64 version 20240405.1 (#9650)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-11 20:45:30 +00:00
Erik Bershel 514d689e7c [Ubuntu] Fix Swift installer (#9677) 2024-04-11 14:28:25 +02:00
91e422a825 Updating readme file for macos-14-arm64 version 20240405.1 (#9653)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-10 14:28:46 +00:00
a0af039ba1 Updating readme file for win22 version 20240407.1.1 (#9648)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-10 13:10:08 +00:00
34c2a66db8 Updating readme file for macos-13 version 20240405.2 (#9651)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-10 12:49:45 +00:00
3c356d1227 Updating readme file for macos-14 version 20240405.1 (#9652)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-10 12:24:58 +00:00
616481d859 Updating readme file for win19 version 20240407.1.1 (#9655)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account 27614dc1de Updating readme file for ubuntu22 version 20240407.1.1 (#9656)
Co-authored-by: Image generation service account <[email protected]>
2024-04-09 02:31:57 +02:00
github-actions[bot]andImage generation service account 0e742d93bf Updating readme file for ubuntu20 version 20240407.1.1 (#9657)
Co-authored-by: Image generation service account <[email protected]>
2024-04-08 23:52:19 +02:00
22d681c1e2 Updating readme file for win22 version 20240403.1.1 (#9637)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-05 15:56:16 +00:00
c5b46c5339 Updating readme file for win19 version 20240403.1.1 (#9636)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ac855491e1 Updating readme file for macos-13-arm64 version 20240402.2 (#9621)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
84dd663dac Updating readme file for macos-13 version 20240402.2 (#9619)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-04 08:17:20 +00:00
b9a57e0f4c Updating readme file for macos-14-arm64 version 20240402.2 (#9620)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-03 21:23:39 +00:00
996a7d36a7 Updating readme file for macos-14 version 20240402.2 (#9622)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-04-03 17:03:56 +00:00
9d4816708f Updating readme file for macOS-12 version 20240329.1 (#9599)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
2fd9adccce Updating readme file for macos-14-arm64 version 20240325.1 (#9579)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
65e1bb9ff5 Updating readme file for macos-14 version 20240325.1 (#9578)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
f1bb9d76e3 Updating readme file for win22 version 20240322.1.1 (#9555)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-29 11:54:43 +01:00
Erik BershelandLeon Zandman 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 <[email protected]>
2024-03-29 11:51:52 +01:00
98d2bcc93e Updating readme file for macos-13 version 20240327.2 (#9580)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
07d23cf65f Updating readme file for ubuntu22 version 20240324.2.1 (#9560)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-27 18:49:13 +00:00
b3a91f7100 Updating readme file for ubuntu20 version 20240324.1.1 (#9561)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-27 18:25:06 +00:00
1efd43a2c9 Updating readme file for win19 version 20240322.1.1 (#9556)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account 9882429fb5 Updating readme file for macos-14-arm64 version 20240219.1 (#9380)
Co-authored-by: Image generation service account <[email protected]>
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
c0f1a024dc Updating readme file for macos-13-arm64 version 20240219.3 (#9374)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-22 00:11:51 +00:00
88b4de5d65 Updating readme file for macos-13 version 20240219.1 (#9375)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-21 02:58:29 +00:00
bb7b256a9b Updating readme file for ubuntu20 version 20240317.1.1 (#9531)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
65efa8ca2d Updating readme file for win22 version 20240317.1.1 (#9528)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-20 13:09:46 +00:00
243142386f Updating readme file for win19 version 20240317.1.1 (#9527)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-20 13:09:37 +00:00
github-actions[bot]andImage generation service account 4224f365e0 Updating readme file for ubuntu22 version 20240317.1.1 (#9532)
Co-authored-by: Image generation service account <[email protected]>
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
ee03fb0bdf Updating readme file for win22 version 20240310.1.1 (#9481)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 ZandmanandLeon Zandman d6d95ff728 Fixed typos (#9509)
* Fixed some typos.

* Some more typos.

---------

Co-authored-by: Leon Zandman <[email protected]>
2024-03-14 10:53:11 +01:00
d67fa31aee Updating readme file for ubuntu22 version 20240310.1.1 (#9482)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-14 07:31:33 +00:00
936416229a Updating readme file for win19 version 20240310.1.1 (#9485)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-13 21:50:44 +00:00
8b2c86662b Updating readme file for ubuntu20 version 20240310.1.1 (#9483)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
3d6eedc86d Updating readme file for win22 version 20240304.2.1 (#9449)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
61df9288f9 Updating readme file for ubuntu20 version 20240304.1.1 (#9451)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-06 18:25:13 +00:00
8a42507a08 Updating readme file for ubuntu22 version 20240304.1.1 (#9450)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-03-06 16:58:52 +00:00
github-actions[bot]andImage generation service account e32a4a56ec Updating readme file for win19 version 20240304.2.1 (#9453)
Co-authored-by: Image generation service account <[email protected]>
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 <[email protected]>
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
5b3748924e Updating readme file for ubuntu22 version 20240225.1.1 (#9420)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-29 15:40:09 +00:00
211da2488f Updating readme file for ubuntu20 version 20240225.1.1 (#9417)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-29 09:10:07 +00:00
248063da08 Updating readme file for win22 version 20240225.2.1 (#9416)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-28 12:31:59 +00:00
6c2dccad75 Updating readme file for win19 version 20240225.1.1 (#9421)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
0a6a7e0869 Updating readme file for macOS-11 version 20240224.1 (#9411)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
d4e0d19512 Updating readme file for macOS-12 version 20240218.1 (#9379)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
554135d9c6 Updating readme file for win22 version 20240218.2.1 (#9376)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-22 10:04:52 +00:00
4fb315d636 Updating readme file for ubuntu22 version 20240218.1.1 (#9371)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-21 23:30:45 +00:00
688fce6569 Updating readme file for ubuntu20 version 20240218.1.1 (#9372)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
c940226baf Updating readme file for win19 version 20240218.2.1 (#9370)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-21 12:44:23 +00:00
github-actions[bot]andImage generation service account 4f368bbc5d Updating readme file for macos-14 version 20240219.1 (#9377)
Co-authored-by: Image generation service account <[email protected]>
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
8a4dc5b0f6 Updating readme file for win19 version 20240211.1.1 (#9340)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-14 08:41:32 +00:00
7535fb59ff Updating readme file for macos-13 version 20240204.1 (#9292)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-14 01:18:08 +00:00
0202f4b94c Updating readme file for ubuntu20 version 20240212.2.1 (#9339)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-13 14:13:03 +00:00
cda60174f7 Updating readme file for win22 version 20240211.1.1 (#9338)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-13 12:55:47 +00:00
github-actions[bot]andImage generation service account e579fdb9e6 Updating readme file for ubuntu22 version 20240212.1.1 (#9337)
Co-authored-by: Image generation service account <[email protected]>
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
d84718d23e Updating readme file for macos-13-arm64 version 20240204.1 (#9291)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-09 21:11:36 +00:00
0390d98adc Updating readme file for macOS-12 version 20240202.1 (#9297)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
68d16ce43c Updating readme file for win22 version 20240204.1.1 (#9293)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
bd5782ca77 Updating readme file for ubuntu22 version 20240204.1.1 (#9299)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-07 23:40:58 +00:00
MaksimZhukov 0b5f4562aa [Ubuntu] Update version of libssl (#9311) 2024-02-07 15:37:57 +01:00
b99ee7f44e Updating readme file for ubuntu20 version 20240204.1.1 (#9295)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-07 14:23:13 +00:00
3151c92d25 Updating readme file for win19 version 20240204.1.1 (#9294)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account 3387580469 Updating readme file for ubuntu22 version 20240201.1.1 (#9275)
Co-authored-by: Image generation service account <[email protected]>
2024-02-04 02:09:04 +00:00
github-actions[bot]andImage generation service account b8d3d784e4 Updating readme file for ubuntu20 version 20240131.1.1 (#9271)
Co-authored-by: Image generation service account <[email protected]>
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
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 <[email protected]>

---------

Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Erik Bershel <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
03c4d84bba Updating readme file for macOS-12 version 20240127.1 (#9246)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-01 11:10:15 +00:00
36b3a6c458 Updating readme file for ubuntu20 version 20240126.1.1 (#9244)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-02-01 10:15:40 +00:00
5a9870800d Updating readme file for ubuntu22 version 20240126.1.1 (#9245)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-31 22:58:21 +00:00
218c157acc Updating readme file for win19 version 20240128.1.1 (#9247)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
6f1fa8953f Updating readme file for win22 version 20240128.1.1 (#9243)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
6308849b25 Updating readme file for macos-13-arm64 version 20240114.1 (#9170)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
8d5da63ac4 Updating readme file for ubuntu22 version 20240122.3.1 (#9214)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-25 14:34:43 +00:00
0b56eac4f1 Updating readme file for win22 version 20240122.1.1 (#9213)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-25 14:12:32 +00:00
022efa3751 Updating readme file for win19 version 20240122.1.1 (#9212)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-25 12:45:03 +00:00
96659c7d44 Updating readme file for ubuntu20 version 20240122.3.1 (#9211)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-25 11:25:12 +00:00
07fa737c4c Updating readme file for macOS-12 version 20240119.1 (#9206)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
ba3718b5d8 Updating readme file for macOS-11 version 20240113.1 (#9168)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
17d89dbd74 Updating readme file for macos-13 version 20240114.1 (#9169)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-19 01:31:47 +00:00
299257c4bc Updating readme file for win22 version 20240116.1.1 (#9185)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
55a6d9d687 Updating readme file for win19 version 20240116.2.1 (#9186)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-18 16:47:12 +00:00
6c52c5a744 Updating readme file for ubuntu20 version 20240116.2.1 (#9180)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-18 12:12:04 +00:00
10cbb27509 Updating readme file for ubuntu22 version 20240116.3.1 (#9181)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
5ee9ae1e60 Updating readme file for macOS-12 version 20240105.3 (#9128)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
cb77fa2a64 Updating readme file for macos-13 version 20240106.8 (#9127)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
d5d2dd7704 Updating readme file for macos-13-arm64 version 20240107.1 (#9126)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
10ddf030ed Updating readme file for win19 version 20240108.2.1 (#9135)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2024-01-10 12:28:32 +00:00
4d5381bd21 Updating readme file for ubuntu20 version 20240107.1.0 (#9125)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey 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 <“[email protected]”>
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]andImage generation service account 08d10be70d Updating readme file for macos-13-arm64 version 20231218.3 (#9048)
Co-authored-by: Image generation service account <[email protected]>
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-AyupovandAlexey 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 <“[email protected]”>
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
dec20a5272 Updating readme file for macos-13 version 20231218.2 (#9049)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 21:32:31 +00:00
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 <[email protected]>
Co-authored-by: Alexey-Ayupov <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 16:00:30 +00:00
6b0f6eb184 Updating readme file for ubuntu20 version 20231217.2.0 (#9045)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 15:58:31 +00:00
28be760bba Updating readme file for ubuntu22 version 20231217.2.1 (#9044)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 15:51:32 +00:00
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 15:37:11 +00:00
045b46c8c1 Updating readme file for macOS-12 version 20231216.1 (#9042)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-20 12:13:45 +00:00
0298168e00 Updating readme file for macOS-11 version 20231216.1 (#9041)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey 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 <“[email protected]”>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-15 15:43:26 +00:00
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Alexey-Ayupov <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Alexey-Ayupov <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-14 12:02:37 +00:00
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey 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 <“[email protected]”>
2023-12-11 22:26:33 +01:00
Alexey-AyupovandAlexey 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 <“[email protected]”>
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-AyupovandAlexey Ayupov 76d6f0f574 [Ubuntu] Temporary pin the AzCopy version (#8982)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-08 14:49:49 +00:00
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-08 14:43:44 +00:00
83c87d632c Updating readme file for ubuntu20 version 20231204.1.1 (#8965)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-12-08 12:19:21 +00:00
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 <[email protected]>

---------

Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Vasilii Polikarpov <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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]andImage generation service account 3a0da34c48 Updating readme file for macOS-11 version 20231127.1 (#8929)
Co-authored-by: Image generation service account <[email protected]>
2023-12-06 10:27:33 +01:00
github-actions[bot]andImage generation service account e108764509 Updating readme file for macOS-12 version 20231127.1 (#8921)
Co-authored-by: Image generation service account <[email protected]>
2023-12-05 12:54:10 +01:00
Alexey-AyupovandAlexey Ayupov 69db5c6c63 [macOS] Refactor Common.Helpers (#8924)
* [macOS] Refactor Common.Helpers

* Update readme file

* Remove unnecessary double quotes

---------

Co-authored-by: Alexey Ayupov <“[email protected]”>
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
458529a1c6 Updating readme file for ubuntu20 version 20231126.1.1 (#8896)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-30 22:09:32 +00:00
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 <[email protected]>

---------

Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Vasilii Polikarpov <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
bf202afb1e Updating readme file for ubuntu22 version 20231126.1.1 (#8897)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey Ayupov 408bab6939 [macOS] Update PHP version to 8.3 (#8895)
Co-authored-by: Alexey Ayupov <“[email protected]”>
2023-11-28 02:25:42 +01:00
Alexey-AyupovandAlexey Ayupov 5e82420a74 [macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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
46f21c4413 Updating readme file for macOS-11 version 20231117.2 (#8854)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
3875f479ac Updating readme file for macOS-12 version 20231115.2 (#8833)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
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 <[email protected]>
Co-authored-by: Alexey-Ayupov <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
d5c955dfc7 Updating readme file for macos-13-arm64 version 20231115.2 (#8824)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-20 13:36:45 +00:00
9c8a4aea90 Updating readme file for ubuntu22 version 20231115.7.1 (#8819)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-20 13:07:42 +00:00
8bb825ba13 Updating readme file for ubuntu20 version 20231115.8.1 (#8820)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey Ayupov 045a0de8e2 [macOS] Exclude "Stack" from software report (#8822)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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-AyupovandAlexey Ayupov 81ef6f228d [macOS] Exclude macOS 13 and 14 from "Stack" test (#8787)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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-AyupovandAlexey Ayupov f685533110 [macOS] Remove Haskell and Cargo packages (#8775)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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-AyupovandAlexey Ayupov 286fb24a63 [macOS] Add AWS cli to the macOS 13 arm64 (#8774)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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-AyupovandAlexey Ayupov 7a11d3fc98 Fix macOS 13 arm64 software update part (#8772)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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]andImage generation service account 433178adf5 Updating readme file for macos-13 version 20231025.2 (#8672)
Co-authored-by: Image generation service account <[email protected]>
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
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 <[email protected]>

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

Co-authored-by: Vasilii Polikarpov <[email protected]>

* fix test

---------

Co-authored-by: Erik Bershel <[email protected]>
Co-authored-by: Vasilii Polikarpov <[email protected]>
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
7b64e0503e Updating readme file for macOS-12 version 20231029.1 (#8695)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
5d6938f680 Updating readme file for macOS-11 version 20231030.1 (#8694)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-03 11:57:42 +00:00
2824879238 Updating readme file for win22 version 20231029.1.1 (#8686)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
eee63d18fc Updating readme file for win19 version 20231029.1.1 (#8687)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-02 19:13:09 +00:00
960f3f05f6 Updating readme file for ubuntu20 version 20231030.2.1 (#8690)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-11-02 16:01:11 +00:00
a8e7f69ab1 Updating readme file for ubuntu22 version 20231030.2.1 (#8691)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
2d1868a050 Updating readme file for macos-13-arm64 version 20231024.2 (#8673)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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 OskeraandJakub Oskera 7cd555ab9e fix: bump libssl version to ubuntu2.20 (#8682)
Signed-off-by: Jakub Oskera <[email protected]>
Co-authored-by: Jakub Oskera <[email protected]>
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
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 <[email protected]>
Co-authored-by: Mikhail Koliada <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 22:52:29 +00:00
bc078d1232 Updating readme file for win22 version 20231024.1.1 (#8668)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 22:39:05 +00:00
49cf80684e Updating readme file for ubuntu20 version 20231025.1.1 (#8664)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 18:59:36 +00:00
470e6967e6 Updating readme file for ubuntu22 version 20231025.1.1 (#8663)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 18:53:04 +00:00
ilia-shipitsinandVasilii Polikarpov 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 <[email protected]>

* fix copy-paste error

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

Co-authored-by: Vasilii Polikarpov <[email protected]>

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

Co-authored-by: Vasilii Polikarpov <[email protected]>

---------

Co-authored-by: Vasilii Polikarpov <[email protected]>
2023-10-26 15:17:57 +02:00
7ca7296ba5 Updating readme file for win22 version 20231023.1.1 (#8643)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 11:19:22 +00:00
83cac0bd20 Updating readme file for win19 version 20231023.1.1 (#8644)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-26 11:00:00 +00:00
github-actions[bot]andImage generation service account 388d55d0d7 Updating readme file for ubuntu22 version 20231022.1.1 (#8636)
Co-authored-by: Image generation service account <[email protected]>
2023-10-26 12:21:11 +02:00
github-actions[bot]andImage generation service account ad34bed33e Updating readme file for ubuntu20 version 20231022.1.1 (#8637)
Co-authored-by: Image generation service account <[email protected]>
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]andImage generation service account fc9431c2eb Updating readme file for macos-13-arm64 version 20231017.1 (#8586)
Co-authored-by: Image generation service account <[email protected]>
2023-10-26 10:55:05 +02:00
1e73eaf182 Updating readme file for macos-13 version 20231018.14 (#8601)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey Ayupov e4a68e6300 Revert "Remove Python 3.12 from the toolcache (#8510)" (#8638)
This reverts commit 929931f617.

Co-authored-by: Alexey Ayupov <“[email protected]”>
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-shipitsinandHenry Mercer b06da59aba [macos] add reties to CodeQL download step (#8582)
Co-authored-by: Henry Mercer <[email protected]>
2023-10-19 15:47:41 +02:00
Alexey-AyupovandAlexey Ayupov 9a9a185b1a [macOS] add node to software report macOS 13 arm64 (#8603)
Co-authored-by: Alexey Ayupov <“[email protected]”>
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
87d3221730 Updating readme file for win22 version 20231016.1.1 (#8579)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-18 18:01:34 +00:00
faac8776f4 Updating readme file for ubuntu22 version 20231016.1.1 (#8577)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-18 17:35:11 +00:00
13db670118 Updating readme file for win19 version 20231016.1.1 (#8580)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-AyupovandAlexey Ayupov 29ce1c3a2b [Ubuntu] fix VersionPattern for Clang v15 (#8575)
Co-authored-by: Alexey Ayupov <“[email protected]”>
2023-10-18 15:46:20 +02:00
aaa37dfbbd Updating readme file for ubuntu20 version 20231016.1.1 (#8576)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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-shipitsinandVasilii Polikarpov 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 <[email protected]>

---------

Co-authored-by: Vasilii Polikarpov <[email protected]>
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-shipitsinandJesse Houwing 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 <[email protected]>

* expose AZURE_EXTENSION_DIR to image generation

* suppress az warmup output

* refresh PATH before warmup

---------

Co-authored-by: Jesse Houwing <[email protected]>
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
8d1fc7309c Updating readme file for win22 version 20231002.1.0 (#8444)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-05 10:41:47 +00:00
2ffd260f96 Updating readme file for win19 version 20231002.2.0 (#8443)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-05 10:40:50 +00:00
7e34d94616 Updating readme file for ubuntu20 version 20231002.1.0 (#8438)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
2023-10-05 08:52:06 +00:00
3a8f506d58 Updating readme file for ubuntu22 version 20231001.1.0 (#8437)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
31a055838e Updating readme file for macos-13 version 20231002.1 (#8446)
Co-authored-by: Image generation service account <[email protected]>
Co-authored-by: Actions service account <[email protected]>
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
658 changed files with 21618 additions and 20011 deletions
+7 -3
View File
@@ -38,15 +38,19 @@ body:
options:
- label: Ubuntu 20.04
- label: Ubuntu 22.04
- label: macOS 11
- label: macOS 12
- label: Ubuntu 24.04
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
- label: Windows Server 2025
- type: textarea
attributes:
label: Mitigation ways
description: Steps or options for impact mitigation
validations:
required: true
+7 -2
View File
@@ -21,11 +21,16 @@ body:
options:
- label: Ubuntu 20.04
- label: Ubuntu 22.04
- label: macOS 11
- label: macOS 12
- label: Ubuntu 24.04
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
- label: Windows Server 2025
- type: textarea
attributes:
label: Image version and build link
+8 -3
View File
@@ -59,11 +59,16 @@ body:
options:
- label: Ubuntu 20.04
- label: Ubuntu 22.04
- label: macOS 11
- label: macOS 12
- label: Ubuntu 24.04
- label: macOS 13
- label: macOS 13 Arm64
- label: macOS 14
- label: macOS 14 Arm64
- label: macOS 15
- label: macOS 15 Arm64
- label: Windows Server 2019
- label: Windows Server 2022
- label: Windows Server 2025
- type: textarea
attributes:
label: Can this tool be installed during the build?
@@ -76,4 +81,4 @@ body:
- type: input
attributes:
label: Are you willing to submit a PR?
description: We accept contributions!
description: We accept contributions!
@@ -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@v3
- name: Validate JSON Schema
shell: pwsh
run: ./helpers/CheckOutdatedVersionPinning.ps1
env:
GH_TOKEN: ${{ github.token }}
+5 -5
View File
@@ -34,17 +34,17 @@ jobs:
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@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
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.
@@ -55,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@v2
uses: github/codeql-action/autobuild@v3
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
+5 -7
View File
@@ -10,15 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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@v1.14.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 }}
+5 -5
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
@@ -22,11 +22,11 @@ jobs:
- name: Create pull request for ${{ github.event.client_payload.ReleaseBranchName }}
id: create-pr
uses: actions/github-script@v2
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
let response = await github.pulls.create({
let response = await github.rest.pulls.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: "${{ github.event.client_payload.PullRequestTitle }}",
@@ -37,11 +37,11 @@ jobs:
return response.data.number
- name: Request reviewers
uses: actions/github-script@v2
uses: actions/github-script@v7
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 }},
+34 -12
View File
@@ -1,4 +1,4 @@
name: Create and upload a SBOM to release assets
name: Create SBOM for the release
# Inherited variables:
# github.event.client_payload.agentSpec - Current YAML Label
# github.event.client_payload.ReleaseID - Current release ID
@@ -7,6 +7,7 @@ name: Create and upload a SBOM to release assets
#
# Current SYFT tool issues:
# macOS (major): prompt privilegies that blocking process indefinetely (https://github.com/anchore/syft/issues/1367)
run-name: Collecting SBOM for ${{ github.event.client_payload.ReleaseBranchName || 'unknown release' }}
on:
repository_dispatch:
types: [generate-sbom]
@@ -14,8 +15,35 @@ defaults:
run:
shell: pwsh
jobs:
#Checking image version on available runner
version-check:
#Checking current release for SBOM
sbom-check:
outputs:
check_status: ${{ steps.check.outputs.status }}
runs-on: ubuntu-latest
steps:
- name: Check release for ${{ github.event.client_payload.ReleaseBranchName }}
id: check
shell: pwsh
run: |
$apiUrl = "https://api.github.com/repos/actions/runner-images/releases/${{ github.event.client_payload.ReleaseID }}"
$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 ${{ github.event.client_payload.ReleaseID }} wasn't found"
exit 1
}
foreach ($asset in $response.assets) {
if ($asset.name -like '*sbom*') {
echo "status=sbom_exists" >> $env:GITHUB_OUTPUT
return "Release ${{ github.event.client_payload.ReleaseID }} already contains a SBOM"
}
}
Write-Host "Release has been found, SBOM is not attached, starting generation."
echo "status=okay" >> $env:GITHUB_OUTPUT
#Generating SBOM
building-sbom:
needs: sbom-check
if: ${{ needs.sbom-check.outputs.check_status == 'okay' }}
runs-on: ${{ github.event.client_payload.agentSpec }}
steps:
- name: Available image version check for ${{ github.event.client_payload.ReleaseBranchName }}
@@ -26,15 +54,9 @@ jobs:
if ("$imageMajorVersion.$imageMinorVersion" -ne '${{ github.event.client_payload.imageVersion }}') {
throw "Current runner $imageMajorVersion.$imageMinorVersion image version doesn't match ${{ github.event.client_payload.imageVersion }}."
}
#Install and run SYFT, compress SBOM, upload it to release assets
create-sbom:
needs: version-check
runs-on: ${{ github.event.client_payload.agentSpec }}
steps:
#Installation section
- 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 D:/syft v0.84.1
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft
- name: Install SYFT tool on Ubuntu or macOS
if: ${{ runner.os != 'Windows' }}
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
@@ -53,7 +75,7 @@ jobs:
- name: Compress SBOM file
run: Compress-Archive sbom.json sbom.json.zip
#Upload artifact action
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sbom-${{ github.event.client_payload.agentSpec }}-${{ github.event.client_payload.imageVersion }}
path: sbom.json.zip
@@ -68,4 +90,4 @@ jobs:
upload_url: "https://uploads.github.com/repos/actions/runner-images/releases/${{ github.event.client_payload.ReleaseID }}/assets{?name,label}"
asset_path: ./sbom.json.zip
asset_name: sbom.${{ github.event.client_payload.agentSpec }}.json.zip
asset_content_type: application/zip
asset_content_type: application/zip
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
+5 -5
View File
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
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@v7
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,11 +36,11 @@ jobs:
});
- name: Merge pull request for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/github-script@v2
uses: actions/github-script@v7
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 }},
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run Software Report module tests
shell: pwsh
@@ -0,0 +1,47 @@
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
steps:
- name: Trigger Build workflow
env:
CI_PR_TOKEN: ${{ secrets.CI_PR_TOKEN }}
PR_TITLE: ${{ github.event.pull_request.title }}
CI_PR: ${{ secrets.CI_REPO }}
run: |
$headers = @{
Authorization="Bearer $env:CI_PR_TOKEN"
}
# Private repository for builds
$apiRepoUrl = "https://api.github.com/repos/$env:CI_PR"
$eventType = "trigger-${{ inputs.image_type }}-build"
$body = @{
event_type = $eventType;
client_payload = @{
pr_title = "$env:PR_TITLE"
custom_repo = "${{ github.event.pull_request.head.repo.full_name }}"
custom_repo_commit_hash = "${{ github.event.pull_request.head.sha }}"
}
}
$bodyString = $body | ConvertTo-Json
try {
Invoke-WebRequest -Uri "$apiRepoUrl/dispatches" -Method Post -Headers $headers -Body $bodyString | Out-Null
} catch {
throw "$($_.exception[0].message)"
}
+20
View File
@@ -0,0 +1,20 @@
name: Trigger Ubuntu20.04 CI
run-name: Ubuntu20.04 - ${{ github.event.pull_request.title }}
on:
pull_request_target:
types: labeled
paths:
- 'images/ubuntu/**'
defaults:
run:
shell: pwsh
jobs:
Ubuntu_2004:
if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2004'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with:
image_type: 'ubuntu2004'
secrets: inherit
+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
+4 -4
View File
@@ -10,19 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Update release for ${{ github.event.client_payload.ReleaseBranchName }}
uses: actions/github-script@v2
uses: actions/github-script@v7
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@v3
- 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_2022:
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
@@ -21,5 +21,14 @@
],
"shellcheck.customArgs": [
"-x"
]
],
"json.schemas": [
{
"fileMatch": [
"**/toolset-*.json"
],
"url": "./schemas/toolset-schema.json"
}
]
}
+28 -28
View File
@@ -6,17 +6,17 @@
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.
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 image 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 [How to add a new tool](CONTRIBUTING.md#how-to-add-a-new-tool) 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:
@@ -25,40 +25,40 @@ Here are a few things you can do that will increase the likelihood of your pull
- 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).
- 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.
## How to add new tool
## How to add a 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-2019.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-IsWin19`, `Test-IsWin22` (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. [Ubuntu2004-Readme.md](images/linux/Ubuntu2004-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. [Ubuntu2004-Readme.md](images/ubuntu/Ubuntu2004-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.
## Resources
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 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
+216 -202
View File
@@ -1,202 +1,216 @@
# 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 | Rollout Progress of Latest Image Release |
| --------------------|---------------------|--------------------|---------------------|
| Ubuntu 22.04 | `ubuntu-latest` or `ubuntu-22.04` | [ubuntu-22.04] | [![status22](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=ubuntu22&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=ubuntu22&redirect=1)
| Ubuntu 20.04 | `ubuntu-20.04` | [ubuntu-20.04] | [![status20](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=ubuntu20&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=ubuntu20&redirect=1)
| macOS 13 [beta] | `macos-13` or `macos-13-xl`| [macOS-13] | [![statusumac13](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-13&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-13&redirect=1)
| macOS 12 | `macos-latest`, `macos-latest-xl`, `macos-12`, or `macos-12-xl`| [macOS-12] | [![statusumac12](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-12&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-12&redirect=1)
| macOS 11 | `macos-11`| [macOS-11] | [![statusmac11](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-11&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=macos-11&redirect=1)
| Windows Server 2022 | `windows-latest` or `windows-2022` | [windows-2022] | [![statuswin22](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=windows-2022&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=windows-2022&redirect=1) |
| Windows Server 2019 | `windows-2019` | [windows-2019] | [![statuswin19](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=windows-2019&badge=1)](https://gh-runnerimagesdeploymentstatus.azurewebsites.net/api/status?imageName=windows-2019&redirect=1)
### 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-22.04]: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
[ubuntu-20.04]: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md
[windows-2022]: https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md
[windows-2019]: https://github.com/actions/runner-images/blob/main/images/win/Windows2019-Readme.md
[macOS-11]: https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md
[macOS-12]: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md
[macOS-13]: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
[macOS-10.15]: https://github.com/actions/runner-images/blob/main/images/macos/macos-10.15-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-12, 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 |
| 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 |
### 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) | [Eclipse-Temurin (Adoptium)](https://packages.adoptium.net/artifactory/deb) </br> [Erlang](https://packages.erlang-solutions.com/ubuntu) </br>[Firefox](https://launchpad.net/~mozillateam/+archive/ubuntu/ppa) </br> [gcc, gfortran](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test) </br> [git](https://launchpad.net/~git-core/+archive/ubuntu/ppa) </br> [HHvm](https://dl.hhvm.com/ubuntu) </br> [PHP](https://launchpad.net/~ondrej/+archive/ubuntu/php) (Ubuntu 20 only) </br> [Mono](https://download.mono-project.com/repo/ubuntu) </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>
# 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 | Rollout Status of Latest Image Release |
| --------------------|---------------------|--------------------|--------------------|
| Ubuntu 24.04 | `ubuntu-latest` or `ubuntu-24.04` | [ubuntu-24.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu24.json) |
| Ubuntu 22.04 | `ubuntu-22.04` | [ubuntu-22.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu22.json) |
| Ubuntu 20.04 <sup>deprecated</sup> | `ubuntu-20.04` | [ubuntu-20.04] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fubuntu20.json) |
| macOS 15 <sup>beta</sup> | `macos-15-large`| [macOS-15] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15.json) |
| macOS 15 Arm64 <sup>beta</sup> | `macos-15` or `macos-15-xlarge` | [macOS-15-arm64] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-15-arm64.json) |
| macOS 14 | `macos-latest-large` or `macos-14-large`| [macOS-14] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-14.json) |
| macOS 14 Arm64 |`macos-latest`, `macos-14`, `macos-latest-xlarge` or `macos-14-xlarge`| [macOS-14-arm64] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-14-arm64.json) |
| macOS 13 | `macos-13` or `macos-13-large` | [macOS-13] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-13.json) |
| macOS 13 Arm64 | `macos-13-xlarge` | [macOS-13-arm64] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fmacos-13-arm64.json) |
| Windows Server 2025 <sup>beta</sup> | `windows-2025` | [windows-2025] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fwin25.json) |
| Windows Server 2022 | `windows-latest` or `windows-2022` | [windows-2022] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fwin22.json) |
| Windows Server 2019 | `windows-2019` | [windows-2019] | ![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fgist.githubusercontent.com%2Fsubir0071%2F385e39188f4280878bada99250e99db7%2Fraw%2Fwin19.json) |
### 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
[ubuntu-20.04]: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2004-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
[windows-2019]: https://github.com/actions/runner-images/blob/main/images/windows/Windows2019-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
[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 |
### 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) | [containers](https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable) (Ubuntu 20 only) <br/> [docker](https://download.docker.com/linux/ubuntu) (Ubuntu20 0nly) <br/> [Eclipse-Temurin (Adoptium)](https://packages.adoptium.net/artifactory/deb/) <br/> [Erlang](https://packages.erlang-solutions.com/ubuntu) <br/> [Firefox](http://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>
+118 -117
View File
@@ -2,24 +2,24 @@
The runner-images project uses [Packer](https://www.packer.io/) to generate disk images for Windows 2019/2022 and Ubuntu 20.04/22.04.
Each image is configured by a JSON or HCL2 Packer template that specifies where to build the image (Azure in this case)
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.
The Packer process initializes a connection to Azure subscription using Azure CLI and creates temporary resources
required for the build process: resource group, network interfaces and virtual machine from the "clean" image specified in the template.
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.
If the VM deployment succeeds, Packer connects 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 cleanup all the temporary resources it created (unless otherwise configured).
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).
After successful completion of all installation steps Packer creates managed image from the temporary VM's disk and deletes the VM.
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)
- [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)
- [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)
@@ -27,15 +27,15 @@ After successful completion of all installation steps Packer creates managed ima
- [Toolset](#toolset)
- [Post-generation scripts](#post-generation-scripts)
- [Running scripts](#running-scripts)
- [Script details: Ubuntu](#script-details-ubuntu)
- [Script details: Windows](#script-details-windows)
- [Script Details: Ubuntu](#script-details-ubuntu)
- [Script Details: Windows](#script-details-windows)
## Build agent preparation
## Build Agent Preparation
Build agent is a machine where Packer process will be started.
You can use any physical or virtual machine running OS Windows or Linux.
Of course you may also use [Azure VM](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/quick-create-cli).
In any case you will need these software installed:
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.
@@ -60,11 +60,12 @@ In any case you will need these software installed:
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 package `powershell`.
to add Microsoft's Linux Software Repository and then install the `powershell` package.
- Azure CLI.
Follow 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:
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
@@ -73,72 +74,72 @@ In any case you will need these software installed:
## Manual image generation
This repo bundles script that helps generating images in Azure.
All you need are Azure subscription and build agent configured as described above.
We suggest starting with building UbuntuMinimal image because it includes only basic software and build in less than 30 minutes.
This repository includes a script that assists in generating images in Azure.
All you need is an Azure subscription and a build agent configured as described above.
We suggest starting with building the UbuntuMinimal image because it includes only basic software and builds in less than 30 minutes.
All the commands below should be executed in Powershell.
All the commands below should be executed in PowerShell.
First clone runner-images repository and set current directory to it:
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
```
Then import [GenerateResourcesAndImage](../helpers/GenerateResourcesAndImage.ps1) script from `helpers` subdirectory:
Then, import the [GenerateResourcesAndImage](../helpers/GenerateResourcesAndImage.ps1) script from the `helpers` subdirectory:
```powershell
Import-Module .\helpers\GenerateResourcesAndImage.ps1
```
Finally, run `GenerateResourcesAndImage` function setting mandatory arguments: image type and where to create resources:
Finally, run the `GenerateResourcesAndImage` function, setting the mandatory arguments: image type and where to build and store the resulting managed image:
- `SubscriptionId` - your Azure Subscription ID
- `ResourceGroupName` - name of the resource group that will be created within your subscription (e.g. "imagegen-test")
- `AzureLocation` - location where resources will be created (e.g. "East US")
- `ImageType` - what image to build (we suggest choosing "UbuntuMinimal" here, other valid options are "Windows2019", "Windows2022", "Ubuntu2004", "Ubuntu2204")
- `SubscriptionId` - your Azure Subscription ID;
- `ResourceGroupName` - the name of the resource group that will be created within your subscription (e.g., "imagegen-test");
- `AzureLocation` - the location where resources will be created (e.g., "East US");
- `ImageType` - the type of image to build (we suggest choosing "UbuntuMinimal" here; other valid options are "Windows2019", "Windows2022", "Windows2025", "Ubuntu2004", "Ubuntu2204", "Ubuntu2404").
This function automatically creates all required Azure resources and kicks off packer image generation for the selected image type.
This function automatically creates all required Azure resources and initiates the Packer image generation for the selected image type.
When image is ready you may proceed to [deployment](#generated-machine-deployment)
When the image is ready, you may proceed to [deployment](#generated-machine-deployment).
## Manual image generation customization
## Manual Image Generation Customization
Function `GenerateResourcesAndImage` accepts a bunch of arguments that may help you generating image in your specific environment.
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 that all the resources involved in image generation process are tagged.
In this case pass a HashTable of tags as a value for `Tags` parameter.
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 function to authenticate interactively, you should create Service Principal and invoke the function with parameters `AzureClientId`, `AzureClientSecret` and `AzureTenantId`.
You can find more details [in corresponding section below](#azure-subscription-authentication).
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 parameters available.
Use `get-help GenerateResourcesAndImage -Detailed` for the complete list of available parameters.
### Network security
### Network Security
To connect to a temporary virtual machine Packer uses WinRM or SSH.
To connect to a temporary virtual machine, Packer uses WinRM or SSH.
If your build agent is located outside of the Azure subscription where temporary VM is created, the public network interface and public IP address is used.
Make sure that firewalls are configured properly and WinRM (tcp port 5986) and ssh (tcp port 22) connections are allowed both outgoing for build agent and incoming for temporary VM.
Also if you don't want temporary VM to be accessible from everywhere, set `RestrictToAgentIpAddress` parameter value to `$true`
to setup firewall rules allowing access only from your build agent public IP address.
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 private virtual network.
To achieve that set proper values for environment variables `VNET_RESOURCE_GROUP`, `VNET_NAME` and `VNET_SUBNET`.
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
### Azure Subscription Authentication
Packer uses Service Principal to authenticate in Azure infrastructure.
For more information about Service Principals refer to
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).
Function `GenerateResourcesAndImage` is able to create Service Principle to be used by Packer.
It uses Connect-AzAccount cmdlet that invokes interactive authentication process by default.
If you don't want to use interactive authentication you should create Service Principal with full read-write permissions for selected Azure subscription on your own
and provide proper values for parameters `AzureClientId`, `AzureClientSecret` and `AzureTenantId`.
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 Service Principle using Az Powershell module:
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]@{
@@ -160,9 +161,9 @@ Start-Sleep -Seconds 30
}
```
## Generated machine deployment
## Generated Machine Deployment
After the successful image generation, Virtual Machine can be created from the generated image using [CreateAzureVMFromPackerTemplate](../helpers/CreateAzureVMFromPackerTemplate.ps1) script.
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
@@ -172,29 +173,29 @@ CreateAzureVMFromPackerTemplate -SubscriptionId {YourSubscriptionId} -ResourceGr
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.
- `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. Example: "eastus"
- `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 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.
## Automated image generation
If you want to generate images automatically (e.g. as a part of CI/CD pipeline)
you can use Packer directly. To do that you will need:
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
[Build agent preparation](#build-agent-preparation) section.
- Azure subscription and Service Principal configured as described in
[Azure subscription authentication](#azure-subscription-authentication) section.
- Resource group created in your Azure subscription where managed image will be stored.
- String to be used as password for the user used to install software (Windows only).
- 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 you CI/CD pipeline using the following command:
Then, you can invoke Packer in your CI/CD pipeline using the following command:
```powershell
packer build -var "subscription_id=$SubscriptionId" `
@@ -210,54 +211,54 @@ packer build -var "subscription_id=$SubscriptionId" `
Where:
- `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")
- `ImageName` and `ImageResourceGroupName` - name of the resource group where managed image will be stored
- `TemplatePath` - path to the Packer template file (e.g. "images/win/windows2022.json")
- `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");
- `ImageName` and `ImageResourceGroupName` - name of the resource group where the managed image will be stored;
- `TemplatePath` - path to the Packer template file (e.g., "images/windows/templates/windows-2022.pkr.hcl").
### Required variables
The following variables are required to be passed to Packer process:
The following variables are required to be passed to the Packer process:
| Template var | Env var | Description
| ------------ | ------- | -----------
| `subscription_id` | `ARM_SUBSCRIPTION_ID` | Subscription under which the build will be performed.
| `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 service principal; may be omitted if `client_secret` is set.
| `location` | `ARM_RESOURCE_LOCATION` | Azure datacenter in which your VM will build.
| `managed_image_resource_group_name` | `ARM_RESOURCE_GROUP` | Resource group under which the final artifact will be stored.
| `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` - 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 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.
- `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` - 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.
- `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
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 image.
- `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.
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:
@@ -267,12 +268,12 @@ Generated tool versions and details can be found in related projects:
## 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 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-generation` folder in the repository:
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/win/post-generation>
- Linux: <https://github.com/actions/runner-images/tree/main/images/linux/post-generation>
- 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`.
@@ -295,16 +296,16 @@ The scripts are copied to the image during the generation process to the followi
Get-ChildItem C:\post-generation -Filter *.ps1 | ForEach-Object { & $_.FullName }
```
### Script details: Ubuntu
### Script Details: 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 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 [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 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).
### Script details: Windows
### Script Details: Windows
- **GenerateIISExpressCertificate.ps1** - generates and imports a certificate to run applications with IIS Express through HTTPS
- **InternetExplorerConfiguration** - turns off the Internet Explorer Enhanced Security feature
- **Msys2FirstLaunch.ps1** - initializes bash user profile in MSYS2
- **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

+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
}
}
+1 -1
View File
@@ -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)]
+54 -40
View File
@@ -3,9 +3,11 @@ $ErrorActionPreference = 'Stop'
enum ImageType {
Windows2019 = 1
Windows2022 = 2
Ubuntu2004 = 3
Ubuntu2204 = 4
UbuntuMinimal = 5
Windows2025 = 3
Ubuntu2004 = 4
Ubuntu2204 = 5
Ubuntu2404 = 6
UbuntuMinimal = 7
}
Function Get-PackerTemplatePath {
@@ -17,20 +19,27 @@ Function Get-PackerTemplatePath {
)
switch ($ImageType) {
# 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") "windows-2019.pkr.hcl"
}
([ImageType]::Windows2022) {
$relativeTemplatePath = Join-Path "win" "windows2022.json"
$relativeTemplatePath = Join-Path (Join-Path "windows" "templates") "windows-2022.pkr.hcl"
}
([ImageType]::Windows2025) {
$relativeTemplatePath = Join-Path (Join-Path "windows" "templates") "windows-2025.pkr.hcl"
}
([ImageType]::Ubuntu2004) {
$relativeTemplatePath = Join-Path "linux" "ubuntu2004.json"
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "ubuntu-20.04.pkr.hcl"
}
([ImageType]::Ubuntu2204) {
$relativeTemplatePath = Join-Path "linux" "ubuntu2204.pkr.hcl"
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "ubuntu-22.04.pkr.hcl"
}
([ImageType]::Ubuntu2404) {
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "ubuntu-24.04.pkr.hcl"
}
([ImageType]::UbuntuMinimal) {
$relativeTemplatePath = Join-Path "linux" "ubuntuminimal.pkr.hcl"
$relativeTemplatePath = Join-Path (Join-Path "ubuntu" "templates") "ubuntu-minimal.pkr.hcl"
}
default { throw "Unknown type of image" }
}
@@ -76,7 +85,7 @@ Function GenerateResourcesAndImage {
.PARAMETER ResourceGroupName
The name of the resource group to create the Azure resources in.
.PARAMETER ImageType
The type of image to generate. Valid values are: Windows2019, Windows2022, Ubuntu2004, Ubuntu2204, UbuntuMinimal.
The type of image to generate. Valid values are: Windows2019, Windows2022, Windows2025, Ubuntu2004, Ubuntu2204, Ubuntu2404, UbuntuMinimal.
.PARAMETER ManagedImageName
The name of the managed image to create. The default is "Runner-Image-{{ImageType}}".
.PARAMETER AzureLocation
@@ -96,8 +105,10 @@ Function GenerateResourcesAndImage {
This parameter cannot be used in combination with the virtual_network_name packer parameter.
.PARAMETER Force
Delete the resource group if it exists without user confirmation.
This parameter is deprecated and will be removed in a future release.
.PARAMETER ReuseResourceGroup
Reuse the resource group if it exists without user confirmation.
This parameter is deprecated and will be removed in a future release.
.PARAMETER OnError
Specify how packer handles an error during image creation.
Options:
@@ -108,6 +119,8 @@ Function GenerateResourcesAndImage {
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:\runner-images" -ImageType Ubuntu2004 -AzureLocation "East US"
#>
@@ -133,6 +146,8 @@ Function GenerateResourcesAndImage {
[Parameter(Mandatory = $False)]
[string] $AzureTenantId,
[Parameter(Mandatory = $False)]
[string] $PluginVersion = "2.2.1",
[Parameter(Mandatory = $False)]
[switch] $RestrictToAgentIpAddress,
[Parameter(Mandatory = $False)]
[switch] $Force,
@@ -145,10 +160,14 @@ Function GenerateResourcesAndImage {
[hashtable] $Tags = @{}
)
if ($Force -or $ReuseResourceGroup) {
Write-Warning "The `ReuseResourceGroup` and `Force` parameters are deprecated and will be removed in a future release. The resource group will be reused when it already exists and an error will be thrown when it doesn't. If you want to delete the resource group, please delete it manually."
}
if ($Force -and $ReuseResourceGroup) {
throw "Force and ReuseResourceGroup cannot be used together."
}
Show-LatestCommit -ErrorAction SilentlyContinue
# Validate packer is installed
@@ -169,26 +188,20 @@ Function GenerateResourcesAndImage {
}
Write-Host "Access to packer generated VM will be restricted to agent IP Address: $AgentIp."
if ($TemplatePath.Contains("pkr.hcl")) {
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
}
else {
$AllowedInboundIpAddresses = '["{0}"]' -f $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 = $AgentIp
$AllowedInboundIpAddresses = '["{0}"]' -f $AgentIp
}
}
else {
if ($TemplatePath.Contains("pkr.hcl")) {
$AllowedInboundIpAddresses = "[]"
}
else {
$AllowedInboundIpAddresses = ""
}
$AllowedInboundIpAddresses = "[]"
}
Write-Debug "Allowed inbound IP addresses: $AllowedInboundIpAddresses."
@@ -200,20 +213,21 @@ Function GenerateResourcesAndImage {
Write-Verbose "PowerShell 5 detected. Replacing double quotes with escaped double quotes in tags JSON."
$TagsJson = $TagsJson -replace '"', '\"'
}
Write-Debug "Tags JSON: $TagsJson."
if ($TemplatePath.Contains(".json")) {
Write-Verbose "Injecting tags into packer template."
if ($Tags) {
$BuilderScriptPathInjected = $TemplatePath.Replace(".json", "-temp.json")
$PackerTemplateContent = Get-Content -Path $TemplatePath | ConvertFrom-Json
$PackerTemplateContent.builders | Add-Member -Name "azure_tags" -Value $Tags -MemberType NoteProperty
$PackerTemplateContent | ConvertTo-Json -Depth 3 | Out-File -Encoding Ascii $BuilderScriptPathInjected
$TemplatePath = $BuilderScriptPathInjected
}
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()
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 `
"-var=client_id=fake" `
@@ -227,7 +241,7 @@ Function GenerateResourcesAndImage {
"-var=allowed_inbound_ip_addresses=$($AllowedInboundIpAddresses)" `
"-var=azure_tags=$($TagsJson)" `
$TemplatePath
if ($LastExitCode -ne 0) {
throw "Packer template validation failed."
}
@@ -240,7 +254,7 @@ Function GenerateResourcesAndImage {
}
else {
Write-Verbose "AzureClientId was provided, will use service principal login."
az login --service-principal --username $AzureClientId --password $AzureClientSecret --tenant $AzureTenantId --output none
az login --service-principal --username $AzureClientId --password=$AzureClientSecret --tenant $AzureTenantId --output none
}
az account set --subscription $SubscriptionId
if ($LastExitCode -ne 0) {
@@ -275,7 +289,7 @@ Function GenerateResourcesAndImage {
# Resource group already exists, ask the user what to do
$title = "Resource group '$ResourceGroupName' already exists"
$message = "Do you want to delete the resource group and all resources in it?"
$options = @(
[System.Management.Automation.Host.ChoiceDescription]::new("&Yes", "Delete the resource group and all resources in it."),
[System.Management.Automation.Host.ChoiceDescription]::new("&No", "Keep the resource group and continue."),
@@ -331,7 +345,7 @@ Function GenerateResourcesAndImage {
if ($LastExitCode -ne 0) {
throw "Failed to create service principal '$ServicePrincipalName'."
}
$ServicePrincipalAppId = $ServicePrincipal.appId
$ServicePrincipalPassword = $ServicePrincipal.password
$TenantId = $ServicePrincipal.tenant
@@ -368,7 +382,7 @@ Function GenerateResourcesAndImage {
Write-Error $_
} finally {
Write-Verbose "`nCleaning up..."
# Remove ADServicePrincipal and ADApplication
if ($ADCleanupRequired) {
Write-Host "Removing ADServicePrincipal..."
@@ -13,15 +13,15 @@ class BaseNode {
}
[String] ToMarkdown([Int32] $Level) {
throw "Abtract method 'ToMarkdown(level)' is not implemented for '$($this.GetType().Name)'"
throw "Abstract method 'ToMarkdown(level)' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
throw "Abtract method 'IsSimilarTo' is not implemented for '$($this.GetType().Name)'"
throw "Abstract method 'IsSimilarTo' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
throw "Abtract method 'IsIdenticalTo' is not implemented for '$($this.GetType().Name)'"
throw "Abstract method 'IsIdenticalTo' is not implemented for '$($this.GetType().Name)'"
}
}
@@ -39,7 +39,7 @@ class BaseToolNode: BaseNode {
}
[String] GetValue() {
throw "Abtract method 'GetValue' is not implemented for '$($this.GetType().Name)'"
throw "Abstract method 'GetValue' is not implemented for '$($this.GetType().Name)'"
}
[Boolean] IsSimilarTo([BaseNode] $OtherNode) {
@@ -53,4 +53,4 @@ class BaseToolNode: BaseNode {
[Boolean] IsIdenticalTo([BaseNode] $OtherNode) {
return $this.IsSimilarTo($OtherNode) -and ($this.GetValue() -eq $OtherNode.GetValue())
}
}
}
@@ -89,7 +89,7 @@ class HeaderNode: BaseNode {
}
[void] AddTable([PSCustomObject[]] $Table) {
$this.AddNode([TableNode]::FromObjectsArray($Table))
$this.AddNode([TableNode]::FromObjectsArray($Table))
}
[void] AddNote([String] $Content) {
-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,195 +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
parameters:
- name: job_id
type: string
default: 'generate_image'
- name: image_type
type: string
- name: image_readme_name
type: string
- name: agent_pool
type: object
default:
name: 'ci-agent-pool'
- name: variable_group_name
type: string
default: 'Image Generation Variables'
- name: create_release
type: boolean
default: true
- name: repository_ref
type: string
default: 'self'
jobs:
- job: ${{ parameters.job_id }}
displayName: Image Generation (${{ parameters.image_type }})
timeoutInMinutes: 600
cancelTimeoutInMinutes: 30
pool: ${{ parameters.agent_pool }}
variables:
- group: ${{ parameters.variable_group_name }}
steps:
- checkout: ${{ parameters.repository_ref }}
clean: true
fetchDepth: 0
fetchTags: false
- 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 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.pkr.hcl"
if ( -not (Test-Path $TemplatePath) ) {
$TemplatePath = Join-Path $TemplateDirectoryPath "$ImageType.json"
}
Write-Host "##vso[task.setvariable variable=TemplateDirectoryPath;]$TemplateDirectoryPath"
Write-Host "##vso[task.setvariable variable=TemplatePath;]$TemplatePath"
$ManagedImageName = "${{ parameters.image_type }}-$(Build.BuildId)"
Write-Host "##vso[task.setvariable variable=ManagedImageName;]$ManagedImageName"
$VhdName = "$ManagedImageName.vhd"
Write-Host "##vso[task.setvariable variable=VhdName;]$VhdName"
$TempResourceGroupName = "packer-temp-$ManagedImageName"
Write-Host "##vso[task.setvariable variable=TempResourceGroupName;]$TempResourceGroupName"
- task: PowerShell@2
displayName: 'Build VM'
inputs:
targetType: filePath
filePath: ./images.CI/linux-and-win/build-image.ps1
arguments: -ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-TemplatePath $(TemplatePath) `
-ImageName "$(ManagedImageName)" `
-ImageResourceGroupName $(AZURE_RESOURCE_GROUP) `
-TempResourceGroupName "$(TempResourceGroupName)" `
-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: "$(Agent.TempDirectory)/packer-log.txt"
- task: PowerShell@2
displayName: 'Copy image artifacts to the separate directory'
inputs:
targetType: 'inline'
script: |
$readmePath = Join-Path "$(TemplateDirectoryPath)" "${{ parameters.image_readme_name }}"
$softwareReportPath = Join-Path "$(TemplateDirectoryPath)" "software-report.json"
Copy-Item -Path $readmePath -Destination "$(Build.ArtifactStagingDirectory)/"
if (Test-Path $softwareReportPath) {
Copy-Item -Path $softwareReportPath -Destination "$(Build.ArtifactStagingDirectory)/"
}
- task: PowerShell@2
displayName: 'Print markdown software report'
inputs:
targetType: 'inline'
script: |
Get-Content -Path "$(Build.ArtifactStagingDirectory)/${{ parameters.image_readme_name }}"
- task: PowerShell@2
displayName: 'Print json software report'
inputs:
targetType: 'inline'
script: |
$softwareReportPath = "$(Build.ArtifactStagingDirectory)/software-report.json"
if (Test-Path $softwareReportPath) {
Get-Content -Path $softwareReportPath
}
- 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" `
-PrefixToPathTrim "$(TemplateDirectoryPath)" `
-PrintTopNLongest 25
- task: PowerShell@2
displayName: 'Convert managed image to VHD'
inputs:
targetType: filePath
filePath: ./images.CI/linux-and-win/convert-to-vhd.ps1
arguments: -SubscriptionId $(AZURE_SUBSCRIPTION) `
-Location $(AZURE_LOCATION) `
-ResourceGroupName $(AZURE_RESOURCE_GROUP) `
-ManagedImageName "$(ManagedImageName)" `
-GalleryName "github_imagegeneration_convert_to_vhd" `
-GalleryImageSku "${{ parameters.image_type }}" `
-GalleryImageVersion "0.0.$(Build.BuildId)" `
-StorageAccountName $(AZURE_STORAGE_ACCOUNT) `
-StorageAccountContainerName "images" `
-VhdName "$(VhdName)" `
-ClientId $(CLIENT_ID) `
-ClientSecret $(CLIENT_SECRET) `
-TenantId $(AZURE_TENANT) `
-RemoveManagedImage
- ${{ if eq(parameters.create_release, true) }}:
- 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 }}" `
-StorageAccountContainerName "images" `
-VhdName "$(VhdName)" `
-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: -TempResourceGroupName "$(TempResourceGroupName)" `
-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: 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: 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
+15 -5
View File
@@ -1,16 +1,19 @@
param(
[String] [Parameter (Mandatory=$true)] $TemplatePath,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$false)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $Location,
[String] [Parameter (Mandatory=$true)] $ImageName,
[String] [Parameter (Mandatory=$true)] $ImageResourceGroupName,
[String] [Parameter (Mandatory=$true)] $TempResourceGroupName,
[String] [Parameter (Mandatory=$true)] $SubscriptionId,
[String] [Parameter (Mandatory=$true)] $TenantId,
[String] [Parameter (Mandatory=$false)] $pluginVersion = "2.2.1",
[String] [Parameter (Mandatory=$false)] $VirtualNetworkName,
[String] [Parameter (Mandatory=$false)] $VirtualNetworkRG,
[String] [Parameter (Mandatory=$false)] $VirtualNetworkSubnet
[String] [Parameter (Mandatory=$false)] $VirtualNetworkSubnet,
[String] [Parameter (Mandatory=$false)] $AllowedInboundIpAddresses = "[]",
[hashtable] [Parameter (Mandatory=$false)] $Tags = @{}
)
if (-not (Test-Path $TemplatePath))
@@ -22,8 +25,6 @@ if (-not (Test-Path $TemplatePath))
$ImageTemplateName = [io.path]::GetFileName($TemplatePath).Split(".")[0]
$InstallPassword = [System.GUID]::NewGuid().ToString().ToUpper()
packer validate -syntax-only $TemplatePath
$SensitiveData = @(
'OSType',
'StorageAccountLocation',
@@ -34,9 +35,17 @@ $SensitiveData = @(
': ->'
)
$azure_tags = $Tags | ConvertTo-Json -Compress
Write-Host "Show Packer Version"
packer --version
Write-Host "Download packer plugins"
packer plugins install github.com/hashicorp/azure $pluginVersion
Write-Host "Validate packer template"
packer validate -syntax-only $TemplatePath
Write-Host "Build $ImageTemplateName VM"
packer build -var "client_id=$ClientId" `
-var "client_secret=$ClientSecret" `
@@ -50,7 +59,8 @@ packer build -var "client_id=$ClientId" `
-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 "azure_tags=$azure_tags" `
-color=false `
$TemplatePath `
| Where-Object {
+4 -15
View File
@@ -1,23 +1,12 @@
param(
[String] [Parameter (Mandatory=$true)] $TempResourceGroupName,
[String] [Parameter (Mandatory=$true)] $StorageAccount,
[String] [Parameter (Mandatory=$true)] $SubscriptionId,
[String] [Parameter (Mandatory=$true)] $ClientId,
[String] [Parameter (Mandatory=$true)] $ClientSecret,
[String] [Parameter (Mandatory=$true)] $TenantId
[Parameter (Mandatory=$true)] [string] $TempResourceGroupName
)
az login --service-principal --username $ClientId --password $ClientSecret --tenant $TenantId | Out-Null
$groupExist = az group exists --name $TempResourceGroupName --subscription $SubscriptionId
$groupExist = az group exists --name $TempResourceGroupName
if ($groupExist -eq "true") {
$osDiskName = az deployment group 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
az group delete --name $TempResourceGroupName --yes | Out-Null
Write-Host "Temporary group was deleted successfully"
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"
} else {
Write-Host "No temporary groups found"
}
}
-185
View File
@@ -1,185 +0,0 @@
param (
[String] [Parameter (Mandatory = $true)] $SubscriptionId,
[String] [Parameter (Mandatory = $true)] $Location,
[String] [Parameter (Mandatory = $true)] $ResourceGroupName,
[String] [Parameter (Mandatory = $true)] $ManagedImageName,
[String] [Parameter (Mandatory = $true)] $GalleryName,
[String] [Parameter (Mandatory = $true)] $GalleryImageSku,
[String] [Parameter (Mandatory = $true)] $GalleryImageVersion,
[String] [Parameter (Mandatory = $true)] $StorageAccountName,
[String] [Parameter (Mandatory = $true)] $StorageAccountContainerName,
[String] [Parameter (Mandatory = $true)] $VhdName,
[Switch] [Parameter (Mandatory = $false)] $RemoveManagedImage,
[String] [Parameter (Mandatory = $true)] $ClientId,
[String] [Parameter (Mandatory = $true)] $ClientSecret,
[String] [Parameter (Mandatory = $true)] $TenantId
)
$ErrorActionPreference = "Stop"
# Login to Azure
az login --service-principal --username $ClientId --password $ClientSecret --tenant $TenantId | Out-Null
az account set --subscription $SubscriptionId | Out-Null
# Create Compute Image Gallery if it doesn't exist
Write-Host "Creating Compute Image Gallery '$GalleryName'..."
$galleryExists = az sig list --resource-group $ResourceGroupName --query "[?name=='$GalleryName']" -o tsv
if ($null -eq $galleryExists) {
az sig create --resource-group $ResourceGroupName --gallery-name $GalleryName --location $Location
}
# Create Image Definition if it doesn't exist
Write-Host "Creating Image Definition '$ManagedImageName'..."
$imageDefinitionName = "RunnerImage-$GalleryImageSku"
if ($ManagedImageName -like "*windows*") {
$imageOsType = "Windows"
} elseif ($ManagedImageName -like "*ubuntu*") {
$imageOsType = "Linux"
} else {
throw "Unknown OS type for image '$ManagedImageName'"
}
$galleryImageExists = az sig image-definition list --resource-group $ResourceGroupName --gallery-name $GalleryName --query "[?name=='$imageDefinitionName']" -o tsv
if ($null -eq $galleryImageExists) {
az sig image-definition create `
--resource-group $ResourceGroupName `
--gallery-name $GalleryName `
--gallery-image-definition $imageDefinitionName `
--publisher "GuthubImagesGeneration" `
--offer "RunnerImage" `
--sku $GalleryImageSku `
--os-type $imageOsType `
--location $Location
}
# Create Image Version from existing Managed Image
Write-Host "Creating Image Version '$GalleryImageVersion' from Managed Image '$ManagedImageName'..."
az sig image-version create `
--resource-group $ResourceGroupName `
--gallery-name $GalleryName `
--gallery-image-definition $imageDefinitionName `
--gallery-image-version $GalleryImageVersion `
--managed-image "/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroupName/providers/Microsoft.Compute/images/$ManagedImageName" `
--target-regions $Location `
--replica-count 1 `
--location $Location
# Create Azure Managed Disk from Shared Image Gallery
Write-Host "Creating Azure Managed Disk '$ManagedImageName' from Shared Image Gallery..."
az disk create `
--resource-group $ResourceGroupName `
--name $ManagedImageName `
--location $Location `
--gallery-image-reference "/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroupName/providers/Microsoft.Compute/galleries/$GalleryName/images/$imageDefinitionName/versions/$GalleryImageVersion"
# Generate SAS URL for the Managed Disk
Write-Host "Generating SAS URL for the Managed Disk '$ManagedImageName'..."
$sourceDiskUri = az disk grant-access `
--resource-group $ResourceGroupName `
--name $ManagedImageName `
--duration-in-seconds 86400 `
--access-level Read `
--query [accessSas] -o tsv
Write-Host "Querying key for the storage account '$StorageAccountName'..."
$targetKey = az storage account keys list `
--resource-group $ResourceGroupName `
--account-name $StorageAccountName `
--query "[0].value" -o tsv
Write-Host ("Copying VHD blob from '{0}' to 'https://{1}.blob.core.windows.net/{2}/{3}'..." `
-f $sourceDiskUri.Split('?')[0], $StorageAccountName, $StorageAccountContainerName, $VhdName)
az storage blob copy start `
--source-uri $sourceDiskUri `
--destination-blob $VhdName `
--destination-container $StorageAccountContainerName `
--account-name $StorageAccountName `
--account-key $targetKey `
--only-show-errors
Write-Host "Waiting for the copy to complete..."
while ($true) {
$status = az storage blob show `
--container-name $StorageAccountContainerName `
--name $VhdName `
--account-name $StorageAccountName `
--account-key $targetKey `
--query "properties.copy.status" -o tsv
if ($status -eq "success") {
Write-Host "Copy completed successfully."
break
} elseif ($status -ne "pending") {
Write-Host "Copy failed with status '$status', see blob information below:"
az storage blob show `
--container-name $StorageAccountContainerName `
--name $VhdName `
--account-name $StorageAccountName `
--account-key $targetKey
throw "Copy failed with status '$status'"
}
$progress = az storage blob show `
--container-name $StorageAccountContainerName `
--name $VhdName `
--account-name $StorageAccountName `
--account-key $targetKey `
--query "properties.copy.progress" -o tsv
Write-Host "Progress: $(($progress.Split("/")[0] / $progress.Split("/")[1]).ToString("P"))"
Start-Sleep -Seconds 15
}
Write-Host "Successfully converted '$ManagedImageName' to '$VhdName' in '$StorageAccountName' storage account."
# Remove Managed Image if requested
if ($RemoveManagedImage) {
Write-Host "Removing Managed Image '$ManagedImageName'..."
az image delete `
--resource-group $ResourceGroupName `
--name $ManagedImageName `
--only-show-errors
if ($LastExitCode) {
Write-Host "Warning: Failed to delete the Managed Image '$ManagedImageName'."
}
}
Write-Host "Cleaning up..."
# Revoke SAS URL for the Managed Disk
az disk revoke-access `
--resource-group $ResourceGroupName `
--name $ManagedImageName `
--only-show-errors
if ($LastExitCode) {
Write-Host "Warning: Failed to revoke access to the Managed Disk '$ManagedImageName'."
}
# Delete Azure Managed Disk from Shared Image Gallery
az disk delete `
--resource-group $ResourceGroupName `
--name $ManagedImageName `
--only-show-errors `
--yes
if ($LastExitCode) {
Write-Host "Warning: Failed to delete the Managed Disk '$ManagedImageName'."
}
# Delete Image Version from Shared Image Gallery
az sig image-version delete `
--resource-group $ResourceGroupName `
--gallery-name $GalleryName `
--gallery-image-definition $imageDefinitionName `
--gallery-image-version $GalleryImageVersion `
--only-show-errors
if ($LastExitCode) {
Write-Host "Warning: Failed to delete the Image Version '$GalleryImageVersion'."
}
Write-Host "Done."
+12 -16
View File
@@ -1,12 +1,11 @@
param(
[UInt32] [Parameter (Mandatory)] $BuildId,
[String] [Parameter (Mandatory)] $Organization,
[String] [Parameter (Mandatory)] $Project,
[String] [Parameter (Mandatory)] $ImageName,
[String] [Parameter (Mandatory)] $StorageAccountContainerName,
[String] [Parameter (Mandatory)] $VhdName,
[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 = @{
@@ -15,14 +14,11 @@ $Body = @{
ImageBuildId = @{
value = $BuildId
}
ImageName = @{
value = $ImageName
ImageType = @{
value = $ImageType
}
ImageStorageContainerName = @{
value = $StorageAccountContainerName
}
ImageBlobPath = @{
value = $VhdName
ManagedImageName = @{
value = $ManagedImageName
}
}
isDraft = "false"
@@ -37,4 +33,4 @@ $headers = @{
[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)"
-235
View File
@@ -1,235 +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
$AnkaCaCrtPath="$HOME/.config/anka/certs/anka-ca-crt.pem"
$images = anka --machine-readable registry --cacert $AnkaCaCrtPath --registry-path $RegistryUrl list | ConvertFrom-Json | ForEach-Object body
$images | Where-Object name -eq $TemplateName | ForEach-Object {
$id = $_.uuid
Show-StringWithFormat "Deleting '$TemplateName[$id]' VM and '$TagName' tag"
$curlCommand='curl -s -X DELETE -k "{0}/registry/vm?id={1}"' -f $RegistryUrl, $id
Invoke-AnkaCommand -Command $curlCommand
}
$command = "anka registry --cacert $AnkaCaCrtPath --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"
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 = {
$vmStatus = Get-AnkaVMStatus -VMName $VMName
if ($vmStatus -eq "failed") {
Write-Host "`t [-] $VMName is in failed status"
exit 1
}
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,212 +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] $PushToRegistry = $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
Wait-AnkaVMSSHService -VMName $TemplateName -Seconds 30
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 {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Password
)
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
$listOfNewUpdates = $($($newUpdates.Split("*")).Split("Title") | Where-Object {$_ -match "Label:"}).Replace("Label: ", '')
Write-Host "`t[*] Installing Software Updates on '$TemplateName' VM:"
Install-SoftwareUpdate -HostName $ipAddress -listOfUpdates $listOfNewUpdates -Password $Password | Show-StringWithFormat
# Check if Action: restart
# Make an array of updates
$listOfNewUpdates = $newUpdates.split('*').Trim('')
foreach ($newupdate in $listOfNewUpdates) {
# Will be True if the value is not Venture, not empty, and contains "Action: restart" words
if ($newupdate.Contains("Action: restart") -and !$newupdate.Contains("macOS Ventura") -and (-not [String]::IsNullOrEmpty($newupdate))) {
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: "
Show-StringWithFormat $updates
exit 1
}
}
}
Write-Host "`t[*] Show the install history:"
$hUpdates = Get-SoftwareUpdateHistory -HostName $ipAddress
Show-StringWithFormat $hUpdates
}
function Invoke-UpdateSettings {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Password
)
$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 -Password $Password
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:"
$shortMacOSVersion = Get-ShortMacOSVersion -MacOSVersion $MacOSVersion
if ([string]::IsNullOrEmpty($TemplateName)) {
$osArch = $(arch)
if ($osArch -eq "arm64") {
$macOSInstaller = Get-MacOSIPSWInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
$TemplateName = "clean_macos_${shortMacOSVersion}_${osArch}_${DiskSizeGb}gb"
} else {
$macOSInstaller = Get-MacOSInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
$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 -Password $TemplatePassword
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
if ($PushToRegistry) {
# 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
}
-457
View File
@@ -1,457 +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/runner-images/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 Invoke-SoftwareUpdateArm64 {
param (
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $HostName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string] $Password
)
$url = "https://raw.githubusercontent.com/actions/runner-images/main/images/macos/provision/configuration/auto-software-update-arm64.exp"
$script = Invoke-RestMethod -Uri $url
$base64 = [Convert]::ToBase64String($script.ToCharArray())
$command = "echo $base64 | base64 --decode > ./auto-software-update-arm64.exp;chmod +x ./auto-software-update-arm64.exp; ./auto-software-update-arm64.exp ${Password};rm ./auto-software-update-arm64.exp"
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-AvailableIPSWVersions {
param (
[bool] $IsBeta = $false,
[bool] $IsLatest = $true,
[string] $MacOSCodeNameOrVersion
)
if ($IsBeta) {
$command = { mist list firmware "$MacOSCodeNameOrVersion" --include-betas --latest --export "/Applications/export.json"}
} elseif ($IsLatest) {
$command = { mist list firmware "$MacOSCodeNameOrVersion" --latest --export "/Applications/export.json" }
} else {
$command = { mist list firmware "$MacOSCodeNameOrVersion" --export "/Applications/export.json" }
}
$condition = { $LASTEXITCODE -eq 0 }
Invoke-WithRetry -Command $command -BreakCondition $condition | Out-Null
$softwareList = get-content -Path "/Applications/export.json"
$turgetVersion = ($softwareList | ConvertFrom-Json).version
if ($null -eq $turgetVersion) {
Write-Host "Requested macOS '$MacOSCodeNameOrVersion' version not found in the list of available installers."
$command = { mist list firmware "$($MacOSCodeNameOrVersion.split('.')[0])" }
Invoke-WithRetry -Command $command -BreakCondition $condition
exit 1
}
return $turgetVersion
}
function Get-MacOSIPSWInstaller {
param (
[Parameter(Mandatory)]
[version] $MacOSVersion,
[bool] $DownloadLatestVersion = $false,
[bool] $BetaSearch = $false
)
if ($MacOSVersion -eq [version] "12.0") {
$MacOSName = "macOS Monterey"
} elseif ($MacOSVersion -eq [version] "13.0") {
$MacOSName = "macOS Ventura"
} else {
$MacOSName = $MacOSVersion.ToString()
}
Write-Host "`t[*] Finding available full installers"
if ($DownloadLatestVersion -eq $true) {
$targetVersion = Get-AvailableIPSWVersions -IsLatest $true -MacOSCodeNameOrVersion $MacOSName
Write-host "`t[*] The 'DownloadLatestVersion' flag is set to true. Latest macOS version is '$MacOSName' - '$targetVersion' now"
} elseif ($BetaSearch -eq $true) {
$targetVersion = Get-AvailableIPSWVersions -IsBeta $true -MacOSCodeNameOrVersion $MacOSName
Write-host "`t[*] The 'BetaSearch' flag is set to true. Latestbeta macOS version is '$MacOSName' - '$targetVersion' now"
} else {
$targetVersion = Get-AvailableIPSWVersions -MacOSCodeNameOrVersion $MacOSName -IsLatest $false
Write-host "`t[*] The exact version was specified - '$MacOSName' "
}
$installerPathPattern = "/Applications/Install ${macOSName}*.ipsw"
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"
}
# Download macOS installer
$installerDir = "/Applications/"
$installerName = "Install ${macOSName}.ipsw"
Write-Host "`t[*] Requested macOS '$targetVersion' version installer found, fetching it from mist database"
Invoke-WithRetry { mist download firmware "$targetVersion" --output-directory $installerDir --firmware-name "$installerName" } {$LASTEXITCODE -eq 0} | Out-Null
if (Test-Path "$installerDir$installerName") {
$result = "$installerDir$installerName"
} else {
Write-host "`t[*] Requested macOS '$targetVersion' version installer failed to download"
exit 1
}
return $result
}
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.Split(" ")[1]
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
}
# 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"
Invoke-WithRetry -Command { sudo /usr/local/bin/mist download installer $MacOSVersion application --force --export installer.json --output-directory /Applications } -BreakCondition { $LASTEXITCODE -eq 0 } | Out-Null
if (-not(Test-Path installer.json -PathType leaf)) {
Write-Host "`t[x] Failed to fetch $MacOSVersion macOS"
exit 1
}
$installerPath = (Get-Content installer.json | Out-String | ConvertFrom-Json).options.applicationPath
if (-not $installerPath) {
Write-Host "`t[x] Path not found using '$installerPathPattern'"
exit 1
}
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,
[array] $listOfUpdates,
[string] $Password
)
$osVersion = [Environment]::OSVersion
# If an update is happening on macOS 12 we will use the prepared list of updates, otherwise, we will install all updates.
if ($osVersion.Version.Major -eq "12") {
foreach ($update in $listOfUpdates){
# Filtering updates that contain "Ventura" word
if ($update -notmatch "Ventura") {
$command = "sudo /usr/sbin/softwareupdate --restart --verbose --install '$($update.trim())'"
Invoke-SSHPassCommand -HostName $HostName -Command $command
}
}
} else {
$osArch = $(arch)
if ($osArch -eq "arm64") {
Invoke-SoftwareUpdateArm64 -HostName $HostName -Password $Password
} else {
$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 " "
$result = bash -c "$sshPassOptions \""$Command\"" 2>&1"
if ($LASTEXITCODE -ne 0) {
Write-Error "There is an error during command execution:`n$result"
exit 1
}
$result
}
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
)
#
# https://unix.stackexchange.com/questions/58271/closing-connection-after-executing-reboot-using-ssh-command
#
$command = '(sleep 1 && sudo reboot &) && exit'
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,148 +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
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_storage_url=$(xcode_install_storage_url)" `
-var="xcode_install_sas=$(xcode_install_sas)" `
-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 software report files"
cp -vR "images/image-output/software-report/." "$(Build.ArtifactStagingDirectory)/"
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 markdown software report
- bash: |
cat "$(Build.ArtifactStagingDirectory)/systeminfo.json"
displayName: Print json 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-11_$(date:yyyyMMdd)$(rev:.r)_unstable
schedules:
- cron: '45 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
}
}
-86
View File
@@ -1,86 +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,
[string]$JobStatus,
[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 -and $env:AGENT_JOBSTATUS -eq 'Failed') -or ($JobStatus -and $JobStatus -eq 'failure')) {
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
}
-117
View File
@@ -1,117 +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,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$Cluster,
[string]$TagCategory = "Busy"
)
# 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 '(^\.|vmkdump)').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
-73
View File
@@ -1,73 +0,0 @@
<#
.SYNOPSIS
This script sets resources for VM
.PARAMETER VMName
VM name to resize (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")
.PARAMETER CpuCount
Target number of CPUs (Example "3")
.PARAMETER CoresPerSocketCount
Target number of cores per socket (Example "3")
.PARAMETER Memory
Target amount of memory in MB (Example "14336")
#>
[CmdletBinding()]
param(
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VMName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIServer,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIUserName,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$VIPassword,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[int32]$CpuCount,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[int32]$CoresPerSocketCount,
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[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
$vm = Get-VM $VMName
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
}
-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."
}
}
}
@@ -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
@@ -1,15 +0,0 @@
#!/bin/bash -e
################################################################################
## File: apt-ubuntu-archive.sh
## Desc: Script for configuring apt sources. https://manpages.ubuntu.com/manpages/jammy/en/man1/apt-transport-mirror.1.html
################################################################################
touch /etc/apt/apt-mirrors.txt
printf "http://azure.archive.ubuntu.com/ubuntu/\tpriority:1\n" | tee -a /etc/apt/apt-mirrors.txt
printf "http://archive.ubuntu.com/ubuntu/\tpriority:2\n" | tee -a /etc/apt/apt-mirrors.txt
printf "http://security.ubuntu.com/ubuntu/\tpriority:3\n" | tee -a /etc/apt/apt-mirrors.txt
sed -i 's/http:\/\/azure.archive.ubuntu.com\/ubuntu\//mirror+file:\/etc\/apt\/apt-mirrors.txt/' /etc/apt/sources.list
cp -f /etc/apt/sources.list /etc/cloud/templates/sources.list.ubuntu.tmpl
-16
View File
@@ -1,16 +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
# update
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
apt-get -yq update
apt-get -yq dist-upgrade
@@ -1,93 +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-OSVersionShort {
$(Get-OSVersionFull) | Take-OutputPart -Delimiter '.' -Part 0,1
}
function Get-OSVersionFull {
lsb_release -ds | Take-OutputPart -Part 1, 2
}
function Get-KernelVersion {
$kernelVersion = uname -r
return $kernelVersion
}
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 {
$packagesListFile = "/usr/local/lib/android/sdk/packages-list.txt"
if (-Not (Test-Path -Path $packagesListFile -PathType Leaf)) {
(/usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager --list --verbose 2>&1) |
Where-Object { $_ -Match "^[^\s]" } |
Where-Object { $_ -NotMatch "^(Loading |Info: Parsing |---|\[=+|Installed |Available )" } |
Where-Object { $_ -NotMatch "^[^;]*$" } |
Out-File -FilePath $packagesListFile
Write-Host Android packages list:
Get-Content $packagesListFile
}
return Get-Content $packagesListFile
}
function Get-EnvironmentVariable($variable) {
return [System.Environment]::GetEnvironmentVariable($variable)
}
@@ -1,41 +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 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-AptSourceRepository {
param([String] $PackageName)
$sourceUrl = Get-Content "$PSScriptRoot/../helpers/apt-sources.txt" | Select-String -Pattern $PackageName | Take-OutputPart -Part (1..3)
return $sourceUrl
}
@@ -1,85 +0,0 @@
#!/bin/bash -e
################################################################################
## File: etc-environment.sh
## Desc: Helper functions for source and modify /etc/environment
################################################################################
# NB: sed expression use '%' as a delimiter in order to simplify handling
# values containg slashes (i.e. directory path)
# The values containing '%' will break the functions
function getEtcEnvironmentVariable {
variable_name="$1"
# remove `variable_name=` and possible quotes from the line
grep "^${variable_name}=" /etc/environment |sed -E "s%^${variable_name}=\"?([^\"]+)\"?.*$%\1%"
}
function addEtcEnvironmentVariable {
variable_name="$1"
variable_value="$2"
echo "$variable_name=$variable_value" | sudo tee -a /etc/environment
}
function replaceEtcEnvironmentVariable {
variable_name="$1"
variable_value="$2"
# modify /etc/environemnt in place by replacing a string that begins with variable_name
sudo sed -i -e "s%^${variable_name}=.*$%${variable_name}=\"${variable_value}\"%" /etc/environment
}
function setEtcEnvironmentVariable {
variable_name="$1"
variable_value="$2"
if grep "$variable_name" /etc/environment > /dev/null; then
replaceEtcEnvironmentVariable $variable_name $variable_value
else
addEtcEnvironmentVariable $variable_name $variable_value
fi
}
function prependEtcEnvironmentVariable {
variable_name="$1"
element="$2"
# TODO: handle the case if the variable does not exist
existing_value=$(getEtcEnvironmentVariable "${variable_name}")
setEtcEnvironmentVariable "${variable_name}" "${element}:${existing_value}"
}
function appendEtcEnvironmentVariable {
variable_name="$1"
element="$2"
# TODO: handle the case if the variable does not exist
existing_value=$(getEtcEnvironmentVariable "${variable_name}")
setEtcEnvironmentVariable "${variable_name}" "${existing_value}:${element}"
}
function prependEtcEnvironmentPath {
element="$1"
prependEtcEnvironmentVariable PATH "${element}"
}
function appendEtcEnvironmentPath {
element="$1"
appendEtcEnvironmentVariable PATH "${element}"
}
# Process /etc/environment as if it were shell script with `export VAR=...` expressions
# The PATH variable is handled specially in order to do not override the existing PATH
# variable. The value of PATH variable read from /etc/environment is added to the end
# of value of the exiting PATH variable exactly as it would happen with real PAM app read
# /etc/environment
#
# TODO: there might be the others variables to be processed in the same way as "PATH" variable
# ie MANPATH, INFOPATH, LD_*, etc. In the current implementation the values from /etc/evironments
# replace the values of the current environment
function reloadEtcEnvironment {
# add `export ` to every variable of /etc/environemnt except PATH and eval the result shell script
eval $(grep -v '^PATH=' /etc/environment | sed -e 's%^%export %')
# handle PATH specially
etc_path=$(getEtcEnvironmentVariable PATH)
export PATH="$PATH:$etc_path"
}
-97
View File
@@ -1,97 +0,0 @@
#!/bin/bash -e
################################################################################
## File: install.sh
## Desc: Helper functions for installing tools
################################################################################
download_with_retries() {
# Due to restrictions of bash functions, positional arguments are used here.
# In case if you using latest argument NAME, you should also set value to all previous parameters.
# Example: download_with_retries $ANDROID_SDK_URL "." "android_sdk.zip"
local URL="$1"
local DEST="${2:-.}"
local NAME="${3:-${URL##*/}}"
local COMPRESSED="$4"
if [[ $COMPRESSED == "compressed" ]]; then
local COMMAND="curl $URL -4 -sL --compressed -o '$DEST/$NAME' -w '%{http_code}'"
else
local COMMAND="curl $URL -4 -sL -o '$DEST/$NAME' -w '%{http_code}'"
fi
# Save current errexit state and disable it to prevent unexpected exit on error
if echo $SHELLOPTS | grep '\(^\|:\)errexit\(:\|$\)' > /dev/null;
then
local ERR_EXIT_ENABLED=true
else
local ERR_EXIT_ENABLED=false
fi
set +e
echo "Downloading '$URL' to '${DEST}/${NAME}'..."
retries=20
interval=30
while [ $retries -gt 0 ]; do
((retries--))
test "$ERR_EXIT_ENABLED" = true && set +e
http_code=$(eval $COMMAND)
exit_code=$?
test "$ERR_EXIT_ENABLED" = true && set -e
if [ $http_code -eq 200 ] && [ $exit_code -eq 0 ]; then
echo "Download completed"
return 0
else
echo "Error — Either HTTP response code for '$URL' is wrong - '$http_code' or exit code is not 0 - '$exit_code'. Waiting $interval seconds before the next attempt, $retries attempts left"
sleep $interval
fi
done
echo "Could not download $URL"
return 1
}
## Use dpkg to figure out if a package has already been installed
## Example use:
## if ! IsPackageInstalled packageName; then
## echo "packageName is not installed!"
## fi
IsPackageInstalled() {
dpkg -S $1 &> /dev/null
}
verlte() {
sortedVersion=$(echo -e "$1\n$2" | sort -V | head -n1)
[ "$1" = "$sortedVersion" ]
}
get_toolset_path() {
echo "/imagegeneration/installers/toolset.json"
}
get_toolset_value() {
local toolset_path=$(get_toolset_path)
local query=$1
echo "$(jq -r "$query" $toolset_path)"
}
get_github_package_download_url() {
local REPO_ORG=$1
local FILTER=$2
local VERSION=$3
local SEARCH_IN_COUNT="100"
json=$(curl -fsSL "https://api.github.com/repos/${REPO_ORG}/releases?per_page=${SEARCH_IN_COUNT}")
if [ -n "$VERSION" ]; then
tagName=$(echo $json | jq -r '.[] | select(.prerelease==false).tag_name' | sort --unique --version-sort | egrep -v ".*-[a-z]|beta" | egrep "\w*${VERSION}" | tail -1)
else
tagName=$(echo $json | jq -r '.[] | select((.prerelease==false) and (.assets | length > 0)).tag_name' | sort --unique --version-sort | egrep -v ".*-[a-z]|beta" | tail -1)
fi
downloadUrl=$(echo $json | jq -r ".[] | select(.tag_name==\"${tagName}\").assets[].browser_download_url | select(${FILTER})" | head -n 1)
if [ -z "$downloadUrl" ]; then
echo "Failed to parse a download url for the '${tagName}' tag using '${FILTER}' filter"
exit 1
fi
echo $downloadUrl
}
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash -e
################################################################################
## File: install-helpers.sh
## Desc: Helper functions for installing tools
################################################################################
function isUbuntu20
{
lsb_release -d | grep -q 'Ubuntu 20'
}
function isUbuntu22
{
lsb_release -d | grep -q 'Ubuntu 22'
}
function getOSVersionLabel
{
lsb_release -cs
}
@@ -1,95 +0,0 @@
################################################################################
## File: Configure-Toolset.ps1
## Team: CI-Build
## Desc: Configure toolset
################################################################################
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
function Get-ToolsetToolFullPath
{
param
(
[Parameter(Mandatory)] [string] $ToolName,
[Parameter(Mandatory)] [string] $ToolVersion,
[Parameter(Mandatory)] [string] $ToolArchitecture
)
$toolPath = Join-Path -Path $env:AGENT_TOOLSDIRECTORY -ChildPath $toolName
$toolPathVersion = Join-Path -Path $toolPath -ChildPath $toolVersion
$foundVersion = Get-Item $toolPathVersion | Sort-Object -Property {[version]$_.name} -Descending | Select-Object -First 1
$installationDir = Join-Path -Path $foundVersion -ChildPath $toolArchitecture
return $installationDir
}
function Add-EnvironmentVariable
{
param
(
[Parameter(Mandatory)] [string] $Name,
[Parameter(Mandatory)] [string] $Value,
[string] $FilePath = "/etc/environment"
)
$envVar = "{0}={1}" -f $name, $value
Tee-Object -InputObject $envVar -FilePath $filePath -Append
}
$ErrorActionPreference = "Stop"
Write-Host "Configure toolset tools environment..."
$toolsEnvironment = @{
go = @{
command = "ln -s {0}/bin/* /usr/bin/"
variableTemplate = "GOROOT_{0}_{1}_X64"
}
}
$toolset = Get-Content -Path "$env:INSTALLER_SCRIPT_FOLDER/toolset.json" -Raw | ConvertFrom-Json
foreach ($tool in $toolset.toolcache)
{
$toolName = $tool.name
$toolArch = $tool.arch
$toolEnvironment = $toolsEnvironment[$toolName]
if (-not $toolEnvironment)
{
continue
}
foreach ($toolVersion in $tool.versions)
{
Write-Host "Set $toolName $toolVersion environment variable..."
$toolPath = Get-ToolsetToolFullPath -ToolName $toolName -ToolVersion $toolVersion -ToolArchitecture $toolArch
$envName = $toolEnvironment.variableTemplate -f $toolVersion.split(".")
# Add environment variable name=value
Add-EnvironmentVariable -Name $envName -Value $toolPath
}
# Invoke command and add env variable for the default tool version
$toolDefVersion = $tool.default
if (-not $toolDefVersion)
{
continue
}
$envDefName = $toolEnvironment.defaultVariable
$toolPath = Get-ToolsetToolFullPath -ToolName $toolName -ToolVersion $toolDefVersion -ToolArchitecture $toolArch
if ($envDefName)
{
Write-Host "Set default $envDefName for $toolName $toolDefVersion environment variable..."
Add-EnvironmentVariable -Name $envDefName -Value $toolPath
}
if ($toolEnvironment.command)
{
$command = $toolEnvironment.command -f $toolPath
Write-Host "Invoke $command command for default $toolName $toolDefVersion..."
Invoke-Expression -Command $command
}
}
Invoke-PesterTests -TestFile "Toolset" -TestName "Toolset"
@@ -1,40 +0,0 @@
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
Import-Module "$env:HELPER_SCRIPTS/Tests.Helpers.psm1" -DisableNameChecking
# Get modules content from toolset
$modules = (Get-ToolsetContent).azureModules
$installPSModulePath = "/usr/share"
foreach ($module in $modules)
{
$moduleName = $module.name
Write-Host "Installing ${moduleName} to the ${installPSModulePath} path..."
foreach ($version in $module.versions)
{
$modulePath = Join-Path -Path $installPSModulePath -ChildPath "${moduleName}_${version}"
Write-Host " - $version [$modulePath]"
Save-Module -Path $modulePath -Name $moduleName -RequiredVersion $version -Force
}
$assets = Invoke-RestMethod $module.url
# Get github release asset for each version
foreach ($toolVersion in $module.zip_versions) {
$asset = $assets | Where-Object version -eq $toolVersion `
| Select-Object -ExpandProperty files `
| Select-Object -First 1
Write-Host "Installing $($module.name) $toolVersion ..."
if ($null -ne $asset) {
Write-Host "Download $($asset.filename)"
wget $asset.download_url -nv --retry-connrefused --tries=10 -P $installPSModulePath
} else {
Write-Host "Asset was not found in versions manifest"
exit 1
}
}
}
Invoke-PesterTests -TestFile "PowerShellModules" -TestName "AzureModules"
@@ -1,24 +0,0 @@
#!/bin/bash -e
################################################################################
## File: aliyun-cli.sh
## Desc: Installs Alibaba Cloud CLI
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
# Install Alibaba Cloud CLI
# Pin tool version on ubuntu20 due to issues with GLIBC_2.32 not available
if isUbuntu20; then
toolsetVersion=$(get_toolset_value '.aliyunCli.version')
downloadUrl="https://github.com/aliyun/aliyun-cli/releases/download/v$toolsetVersion/aliyun-cli-linux-$toolsetVersion-amd64.tgz"
else
downloadUrl="https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz"
fi
download_with_retries $downloadUrl "/tmp"
tar xzf /tmp/aliyun-cli-linux-*-amd64.tgz
mv aliyun /usr/local/bin
invoke_tests "CLI.Tools" "Aliyun CLI"
-126
View File
@@ -1,126 +0,0 @@
#!/bin/bash -e
################################################################################
## File: android.sh
## Desc: Installs Android SDK
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
source $HELPER_SCRIPTS/etc-environment.sh
function filter_components_by_version {
minimumVersion=$1
shift
toolsArr=("$@")
for item in ${toolsArr[@]}
do
# take the last argument after spliting string by ';'' and '-''
version=$(echo "${item##*[-;]}")
if verlte $minimumVersion $version
then
components+=($item)
fi
done
}
function get_full_ndk_version {
majorVersion=$1
ndkFullVersion=$($SDKMANAGER --list | grep "ndk;${majorVersion}.*" | awk '{gsub("ndk;", ""); print $1}' | sort -V | tail -n1)
echo "$ndkFullVersion"
}
# Set env variable for SDK Root (https://developer.android.com/studio/command-line/variables)
ANDROID_ROOT=/usr/local/lib/android
ANDROID_SDK_ROOT=${ANDROID_ROOT}/sdk
SDKMANAGER=${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager
echo "ANDROID_SDK_ROOT=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# ANDROID_HOME is deprecated, but older versions of Gradle rely on it
echo "ANDROID_HOME=${ANDROID_SDK_ROOT}" | tee -a /etc/environment
# Create android sdk directory
mkdir -p ${ANDROID_SDK_ROOT}
cmdlineTools="android-cmdline-tools.zip"
# Download the latest command line tools so that we can accept all of the licenses.
# See https://developer.android.com/studio/#command-tools
cmdlineToolsVersion=$(get_toolset_value '.android."cmdline-tools"')
if [[ $cmdlineToolsVersion == "latest" ]]; then
repositoryXmlUrl="https://dl.google.com/android/repository/repository2-1.xml"
download_with_retries $repositoryXmlUrl "/tmp" "repository2-1.xml"
cmdlineToolsVersion=$(
yq -p=xml \
'.sdk-repository.remotePackage[] | select(."+@path" == "cmdline-tools;latest" and .channelRef."+@ref" == "channel-0").archives.archive[].complete.url | select(contains("commandlinetools-linux"))' \
/tmp/repository2-1.xml
)
if [[ -z $cmdlineToolsVersion ]]; then
echo "Failed to parse latest command-line tools version"
exit 1
fi
fi
download_with_retries "https://dl.google.com/android/repository/${cmdlineToolsVersion}" "." $cmdlineTools
unzip -qq $cmdlineTools -d ${ANDROID_SDK_ROOT}/cmdline-tools
# Command line tools need to be placed in ${ANDROID_SDK_ROOT}/sdk/cmdline-tools/latest to determine SDK root
mv ${ANDROID_SDK_ROOT}/cmdline-tools/cmdline-tools ${ANDROID_SDK_ROOT}/cmdline-tools/latest
rm -f $cmdlineTools
# Check sdk manager installation
${SDKMANAGER} --list 1>/dev/null
if [ $? -eq 0 ]
then
echo "Android SDK manager was installed"
else
echo "Android SDK manager was not installed"
exit 1
fi
minimumBuildToolVersion=$(get_toolset_value '.android.build_tools_min_version')
minimumPlatformVersion=$(get_toolset_value '.android.platform_min_version')
extras=$(get_toolset_value '.android.extra_list[]|"extras;" + .')
addons=$(get_toolset_value '.android.addon_list[]|"add-ons;" + .')
additional=$(get_toolset_value '.android.additional_tools[]')
ANDROID_NDK_MAJOR_VERSIONS=($(get_toolset_value '.android.ndk.versions[]'))
ANDROID_NDK_MAJOR_DEFAULT=$(get_toolset_value '.android.ndk.default')
components=("${extras[@]}" "${addons[@]}" "${additional[@]}")
for ndk_version in "${ANDROID_NDK_MAJOR_VERSIONS[@]}"
do
ndk_full_version=$(get_full_ndk_version $ndk_version)
components+=("ndk;$ndk_full_version")
done
ANDROID_NDK_MAJOR_LATEST=(${ANDROID_NDK_MAJOR_VERSIONS[-1]})
ndkDefaultFullVersion=$(get_full_ndk_version $ANDROID_NDK_MAJOR_DEFAULT)
ndkLatestFullVersion=$(get_full_ndk_version $ANDROID_NDK_MAJOR_LATEST)
ANDROID_NDK="$ANDROID_SDK_ROOT/ndk/$ndkDefaultFullVersion"
# ANDROID_NDK, ANDROID_NDK_HOME, and ANDROID_NDK_ROOT variables should be set as many customer builds depend on them https://github.com/actions/runner-images/issues/5879
echo "ANDROID_NDK=${ANDROID_NDK}" | tee -a /etc/environment
echo "ANDROID_NDK_HOME=${ANDROID_NDK}" | tee -a /etc/environment
echo "ANDROID_NDK_ROOT=${ANDROID_NDK}" | tee -a /etc/environment
echo "ANDROID_NDK_LATEST_HOME=$ANDROID_SDK_ROOT/ndk/$ndkLatestFullVersion" | tee -a /etc/environment
availablePlatforms=($($SDKMANAGER --list | sed -n '/Available Packages:/,/^$/p' | grep "platforms;android-[0-9]" | cut -d"|" -f 1))
allBuildTools=($($SDKMANAGER --list | grep "build-tools;" | cut -d"|" -f 1 | sort -u))
availableBuildTools=$(echo ${allBuildTools[@]//*rc[0-9]/})
filter_components_by_version $minimumPlatformVersion "${availablePlatforms[@]}"
filter_components_by_version $minimumBuildToolVersion "${availableBuildTools[@]}"
echo "y" | $SDKMANAGER ${components[@]}
# Old skdmanager from sdk tools doesn't work with Java > 8, set version 8 explicitly
if isUbuntu20 || isUbuntu22; then
sed -i "2i export JAVA_HOME=${JAVA_HOME_8_X64}" ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager
fi
# Add required permissions
chmod -R a+rwx ${ANDROID_SDK_ROOT}
reloadEtcEnvironment
invoke_tests "Android"
-25
View File
@@ -1,25 +0,0 @@
#!/bin/bash -e
################################################################################
## File: aws.sh
## Desc: Installs the AWS CLI, Session Manager plugin for the AWS CLI, and AWS SAM CLI
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
download_with_retries "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" "/tmp" "awscliv2.zip"
unzip -qq /tmp/awscliv2.zip -d /tmp
/tmp/aws/install -i /usr/local/aws-cli -b /usr/local/bin
download_with_retries "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" "/tmp" "session-manager-plugin.deb"
apt install /tmp/session-manager-plugin.deb
# Download & install the latest aws sam cli release
zipName="aws-sam-cli-linux-x86_64.zip"
zipUrl="https://github.com/aws/aws-sam-cli/releases/latest/download/${zipName}"
download_with_retries $zipUrl "/tmp" $zipName
unzip /tmp/${zipName} -d /tmp
/tmp/install
invoke_tests "CLI.Tools" "AWS"
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash -e
################################################################################
## File: bicep.sh
## Desc: Installs bicep cli
################################################################################
source $HELPER_SCRIPTS/install.sh
# Install Bicep CLI
download_with_retries "https://github.com/Azure/bicep/releases/latest/download/bicep-linux-x64" "." "bicep.bin"
# Mark it as executable
chmod +x ./bicep.bin
# Add bicep to PATH (requires admin)
sudo mv ./bicep.bin /usr/local/bin/bicep
invoke_tests "Tools" "Bicep"
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash -e
################################################################################
## File: cmake.sh
## Desc: Installs CMake
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
# Test to see if the software in question is already installed, if not install it
echo "Checking to see if the installer script has already been run"
if command -v cmake; then
echo "cmake is already installed"
else
downloadUrl=$(get_github_package_download_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")")
curl -fsSL ${downloadUrl} -o cmakeinstall.sh \
&& chmod +x cmakeinstall.sh \
&& ./cmakeinstall.sh --prefix=/usr/local --exclude-subdir \
&& rm cmakeinstall.sh
fi
invoke_tests "Tools" "Cmake"
@@ -1,12 +0,0 @@
#!/bin/bash -e
################################################################################
## File: snap-environment.sh
## Desc: Update /etc/environment to include /snap/bin in PATH
## because /etc/profile.d is ignored by `--norc` shell launch option
################################################################################
# Source the helpers
source $HELPER_SCRIPTS/etc-environment.sh
# Update /etc/environemnt
prependEtcEnvironmentPath "/snap/bin"
@@ -1,12 +0,0 @@
#!/bin/bash -e
################################################################################
## File: docker-compose.sh
## Desc: Installs Docker Compose
################################################################################
# Install docker-compose v1 from releases
URL="https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64"
curl -fsSL $URL -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
invoke_tests "Tools" "Docker-compose v1"
-72
View File
@@ -1,72 +0,0 @@
#!/bin/bash -e
################################################################################
## File: docker.sh
## Desc: Installs docker onto the image
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
repo_url="https://download.docker.com/linux/ubuntu"
gpg_key="/usr/share/keyrings/docker.gpg"
repo_path="/etc/apt/sources.list.d/docker.list"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o $gpg_key
echo "deb [arch=amd64 signed-by=$gpg_key] $repo_url $(getOSVersionLabel) stable" > $repo_path
apt-get update
apt-get install --no-install-recommends docker-ce docker-ce-cli containerd.io docker-buildx-plugin
# Install docker compose v2 from releases
URL=$(get_github_package_download_url "docker/compose" "contains(\"compose-linux-x86_64\")")
curl -fsSL $URL -o /usr/libexec/docker/cli-plugins/docker-compose
chmod +x /usr/libexec/docker/cli-plugins/docker-compose
# docker from official repo introduced different GID generation: https://github.com/actions/runner-images/issues/8157
gid=$(cut -d ":" -f 3 /etc/group | grep "^1..$" | sort -n | tail -n 1 | awk '{ print $1+1 }')
groupmod -g $gid docker
chgrp -hR docker /run/docker.sock
# Enable docker.service
systemctl is-active --quiet docker.service || systemctl start docker.service
systemctl is-enabled --quiet docker.service || systemctl enable docker.service
# Docker daemon takes time to come up after installing
sleep 10
docker info
if [ "${DOCKERHUB_PULL_IMAGES:-yes}" == "yes" ]; then
# If credentials are provided, attempt to log into Docker Hub
# with a paid account to avoid Docker Hub's rate limit.
if [ "${DOCKERHUB_LOGIN}" ] && [ "${DOCKERHUB_PASSWORD}" ]; then
docker login --username "${DOCKERHUB_LOGIN}" --password "${DOCKERHUB_PASSWORD}"
fi
# Pull images
images=$(get_toolset_value '.docker.images[]')
for image in $images; do
docker pull "$image"
done
# Always attempt to logout so we do not leave our credentials on the built
# image. Logout _should_ return a zero exit code even if no credentials were
# stored from earlier.
docker logout
else
echo "Skipping docker images pulling"
fi
# Install amazon-ecr-credential-helper
aws_latest_release_url="https://api.github.com/repos/awslabs/amazon-ecr-credential-helper/releases/latest"
aws_helper_url=$(curl "${authString[@]}" -fsSL $aws_latest_release_url | jq -r '.body' | awk -F'[()]' '/linux-amd64/ {print $2}')
download_with_retries "$aws_helper_url" "/usr/bin" docker-credential-ecr-login
chmod +x /usr/bin/docker-credential-ecr-login
# Cleanup custom repositories
rm $gpg_key
rm $repo_path
invoke_tests "Tools" "Docker"
if [ "${DOCKERHUB_PULL_IMAGES:-yes}" -eq "yes" ]; then
invoke_tests "Tools" "Docker images"
fi
@@ -1,23 +0,0 @@
#!/bin/bash -e
################################################################################
## File: example.sh
## Desc: This is an example script that can be copied to add a new software
## installer to the image
################################################################################
# Test to see if the software in question is already installed, if not install it
echo "Checking to see if the installer script has already been run"
if [ -z $EXAMPLE_VAR ]; then
$EXAMPLE_VAR=1.0.0
else
echo "Example variable already set to $EXAMPLE_VAR"
fi
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
if [ -z $EXAMPLE_VAR ]; then
echo "EXAMPLE_VAR variable was not set as expected"
exit 1
else
echo "EXAMPLE_VAR was set properly"
fi
@@ -1,41 +0,0 @@
#!/bin/bash -e
################################################################################
## File: firefox.sh
## Desc: Installs Firefox
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
FIREFOX_REPO="ppa:mozillateam/ppa"
# Install Firefox
add-apt-repository $FIREFOX_REPO -y
apt-get update
apt-get install --target-release 'o=LP-PPA-mozillateam' -y firefox
# Remove source repo's
add-apt-repository --remove $FIREFOX_REPO
# Document apt source repo's
echo "mozillateam $FIREFOX_REPO" >> $HELPER_SCRIPTS/apt-sources.txt
# add to gloabl system preferences for firefox locale en_US, because other browsers have en_US local.
# Default firefox local is en_GB
echo 'pref("intl.locale.requested","en_US");' >> "/usr/lib/firefox/browser/defaults/preferences/syspref.js"
# Download and unpack latest release of geckodriver
downloadUrl=$(get_github_package_download_url "mozilla/geckodriver" "test(\"linux64.tar.gz$\")")
download_with_retries "$downloadUrl" "/tmp" geckodriver.tar.gz
GECKODRIVER_DIR="/usr/local/share/gecko_driver"
GECKODRIVER_BIN="$GECKODRIVER_DIR/geckodriver"
mkdir -p $GECKODRIVER_DIR
tar -xzf /tmp/geckodriver.tar.gz -C $GECKODRIVER_DIR
chmod +x $GECKODRIVER_BIN
ln -s "$GECKODRIVER_BIN" /usr/bin/
echo "GECKOWEBDRIVER=$GECKODRIVER_DIR" | tee -a /etc/environment
invoke_tests "Browsers" "Firefox"
@@ -1,27 +0,0 @@
#!/bin/bash -e
################################################################################
## File: gfortran.sh
## Desc: Installs GNU Fortran
################################################################################
source $HELPER_SCRIPTS/install.sh
source $HELPER_SCRIPTS/os.sh
function InstallFortran {
version=$1
echo "Installing $version..."
apt-get install $version -y
}
# Install GNU Fortran compiler
add-apt-repository ppa:ubuntu-toolchain-r/test -y
apt-get update -y
versions=$(get_toolset_value '.gfortran.versions[]')
for version in ${versions[*]}
do
InstallFortran $version
done
invoke_tests "Tools" "gfortran"
@@ -1,16 +0,0 @@
#!/bin/bash -e
################################################################################
## File: github-cli.sh
## Desc: Installs GitHub CLI
## Must be run as non-root user after homebrew
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
# Install GitHub CLI
downloadUrl=$(get_github_package_download_url "cli/cli" "contains(\"linux\") and contains(\"amd64\") and contains(\".deb\")")
download_with_retries $downloadUrl "/tmp"
apt install /tmp/gh_*_linux_amd64.deb
invoke_tests "CLI.Tools" "GitHub CLI"
@@ -1,86 +0,0 @@
#!/bin/bash -e
################################################################################
## File: google-chrome.sh
## Desc: Installs google-chrome, chromedriver and chromium
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
function GetChromiumRevision {
CHROME_REVISION=$1
# Take the first part of the revision variable to search not only for a specific version,
# but also for similar ones, so that we can get a previous one if the required revision is not found
CHROME_REVISION_PREFIX=${CHROME_REVISION:0:${#CHROME_REVISION}/2+1}
SEARCH_URL="https://www.googleapis.com/storage/v1/b/chromium-browser-snapshots/o?delimiter=/&prefix=Linux_x64"
# Revision can include a hash instead of a number. Need to filter it out https://github.com/actions/runner-images/issues/5256
REVISIONS_AVAILABLE=$(curl -s $SEARCH_URL/${CHROME_REVISION_PREFIX} | jq -r '.prefixes[]' | grep -E "Linux_x64\/[0-9]+\/"| cut -d "/" -f 2 | sort --version-sort)
# If required Chromium revision is not found in the list
# we should have to decrement the revision number until we find one.
# This is mentioned in the documentation we use for this installation:
# https://www.chromium.org/getting-involved/download-chromium
LATEST_VALID_REVISION=$(echo $REVISIONS_AVAILABLE | cut -f 1 -d " ")
for REVISION in $REVISIONS_AVAILABLE; do
if [ "$CHROME_REVISION" -lt "$REVISION" ]; then
break
fi
LATEST_VALID_REVISION=$REVISION
done
echo $LATEST_VALID_REVISION
}
# Download and install Google Chrome
CHROME_DEB_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
CHROME_DEB_NAME="google-chrome-stable_current_amd64.deb"
download_with_retries $CHROME_DEB_URL "/tmp" "${CHROME_DEB_NAME}"
apt install "/tmp/${CHROME_DEB_NAME}" -f
echo "CHROME_BIN=/usr/bin/google-chrome" | tee -a /etc/environment
# Remove Google Chrome repo
rm -f /etc/cron.daily/google-chrome /etc/apt/sources.list.d/google-chrome.list /etc/apt/sources.list.d/google-chrome.list.save
# Parse Google Chrome version
FULL_CHROME_VERSION=$(google-chrome --product-version)
CHROME_VERSION=${FULL_CHROME_VERSION%.*}
echo "Chrome version is $FULL_CHROME_VERSION"
# Get chrome versions information
CHROME_PLATFORM="linux64"
CHROME_VERSIONS_URL="https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build-with-downloads.json"
CHROME_VERSIONS_JSON=$(curl -fsSL "${CHROME_VERSIONS_URL}")
# Download and unpack the latest release of chromedriver
CHROMEDRIVER_VERSION=$(echo "${CHROME_VERSIONS_JSON}" | jq -r '.builds["'"$CHROME_VERSION"'"].version')
CHROMEDRIVER_URL=$(echo "${CHROME_VERSIONS_JSON}" | jq -r '.builds["'"$CHROME_VERSION"'"].downloads.chromedriver[] | select(.platform=="'"${CHROME_PLATFORM}"'").url')
CHROMEDRIVER_ARCHIVE="chromedriver_linux64.zip"
CHROMEDRIVER_DIR="/usr/local/share/chromedriver-linux64"
CHROMEDRIVER_BIN="$CHROMEDRIVER_DIR/chromedriver"
echo "Installing chromedriver version $CHROMEDRIVER_VERSION"
download_with_retries $CHROMEDRIVER_URL "/tmp" $CHROMEDRIVER_ARCHIVE
unzip -qq /tmp/$CHROMEDRIVER_ARCHIVE -d /usr/local/share
chmod +x $CHROMEDRIVER_BIN
ln -s "$CHROMEDRIVER_BIN" /usr/bin/
echo "CHROMEWEBDRIVER=$CHROMEDRIVER_DIR" | tee -a /etc/environment
# Download and unpack Chromium
CHROME_REVISION=$(echo "${CHROME_VERSIONS_JSON}" | jq -r '.builds["'"$CHROME_VERSION"'"].revision')
CHROMIUM_REVISION=$(GetChromiumRevision $CHROME_REVISION)
CHROMIUM_URL="https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F${CHROMIUM_REVISION}%2Fchrome-linux.zip?alt=media"
CHROMIUM_ARCHIVE="${CHROMIUM_REVISION}-chromium-linux.zip"
CHROMIUM_DIR="/usr/local/share/chromium"
CHROMIUM_BIN="${CHROMIUM_DIR}/chrome-linux/chrome"
echo "Installing chromium revision $CHROMIUM_REVISION"
download_with_retries $CHROMIUM_URL "/tmp" $CHROMIUM_ARCHIVE
mkdir $CHROMIUM_DIR
unzip -qq /tmp/$CHROMIUM_ARCHIVE -d $CHROMIUM_DIR
ln -s $CHROMIUM_BIN /usr/bin/chromium
ln -s $CHROMIUM_BIN /usr/bin/chromium-browser
invoke_tests "Browsers" "Chrome"
invoke_tests "Browsers" "Chromium"
@@ -1,44 +0,0 @@
#!/bin/bash -e
################################################################################
## File: haskell.sh
## Desc: Installs Haskell
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/etc-environment.sh
# Any nonzero value for noninteractive installation
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1
export GHCUP_INSTALL_BASE_PREFIX=/usr/local
export BOOTSTRAP_HASKELL_GHC_VERSION=0
ghcup_bin=$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin
setEtcEnvironmentVariable "BOOTSTRAP_HASKELL_NONINTERACTIVE" $BOOTSTRAP_HASKELL_NONINTERACTIVE
setEtcEnvironmentVariable "GHCUP_INSTALL_BASE_PREFIX" $GHCUP_INSTALL_BASE_PREFIX
# Install GHCup
curl --proto '=https' --tlsv1.2 -fsSL https://get-ghcup.haskell.org | sh > /dev/null 2>&1 || true
export PATH="$ghcup_bin:$PATH"
prependEtcEnvironmentPath $ghcup_bin
availableVersions=$(ghcup list -t ghc -r | grep -v "prerelease" | awk '{print $2}')
# Get 2 latest Haskell Major.Minor versions
minorMajorVersions=$(echo "$availableVersions" | cut -d"." -f 1,2 | uniq | tail -n2)
for majorMinorVersion in $minorMajorVersions; do
fullVersion=$(echo "$availableVersions" | grep "$majorMinorVersion." | tail -n1)
echo "install ghc version $fullVersion..."
ghcup install ghc $fullVersion
ghcup set ghc $fullVersion
done
echo "install cabal..."
ghcup install cabal latest
chmod -R 777 $GHCUP_INSTALL_BASE_PREFIX/.ghcup
ln -s $GHCUP_INSTALL_BASE_PREFIX/.ghcup /etc/skel/.ghcup
# Install the latest stable release of haskell stack
curl -fsSL https://get.haskellstack.org/ | sh
invoke_tests "Haskell"
-10
View File
@@ -1,10 +0,0 @@
#!/bin/bash -e
################################################################################
## File: heroku.sh
## Desc: Installs Heroku CLI
################################################################################
# Install Heroku CLI
curl -fsSL https://cli-assets.heroku.com/install.sh | sh
invoke_tests "Tools" "Heroku"
-12
View File
@@ -1,12 +0,0 @@
#!/bin/bash -e
################################################################################
## File: hhvm.sh
## Desc: Installs hhvm
################################################################################
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xB4112585D386EB94
add-apt-repository https://dl.hhvm.com/ubuntu
apt-get update
apt-get -qq install -y hhvm
invoke_tests "Tools" "HHVM"
@@ -1,120 +0,0 @@
#!/bin/bash -e
################################################################################
## File: java-tools.sh
## Desc: Installs Java and related tooling (Ant, Gradle, Maven)
################################################################################
source $HELPER_SCRIPTS/install.sh
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/etc-environment.sh
createJavaEnvironmentalVariable() {
local JAVA_VERSION=$1
local DEFAULT=$2
local INSTALL_PATH_PATTERN="/usr/lib/jvm/temurin-${JAVA_VERSION}-jdk-amd64"
if [[ ${DEFAULT} == "True" ]]; then
echo "Setting up JAVA_HOME variable to ${INSTALL_PATH_PATTERN}"
addEtcEnvironmentVariable JAVA_HOME ${INSTALL_PATH_PATTERN}
echo "Setting up default symlink"
update-java-alternatives -s ${INSTALL_PATH_PATTERN}
fi
echo "Setting up JAVA_HOME_${JAVA_VERSION}_X64 variable to ${INSTALL_PATH_PATTERN}"
addEtcEnvironmentVariable JAVA_HOME_${JAVA_VERSION}_X64 ${INSTALL_PATH_PATTERN}
}
enableRepositories() {
osLabel=$(getOSVersionLabel)
# Add Addoptium PPA
# apt-key is deprecated, dearmor and add manually
wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor > /usr/share/keyrings/adoptium.gpg
echo "deb [signed-by=/usr/share/keyrings/adoptium.gpg] https://packages.adoptium.net/artifactory/deb/ $osLabel main" > /etc/apt/sources.list.d/adoptium.list
}
installOpenJDK() {
local JAVA_VERSION=$1
# Install Java from PPA repositories.
apt-get -y install temurin-${JAVA_VERSION}-jdk=\*
javaVersionPath="/usr/lib/jvm/temurin-${JAVA_VERSION}-jdk-amd64"
JAVA_TOOLCACHE_PATH="${AGENT_TOOLSDIRECTORY}/Java_Temurin-Hotspot_jdk"
fullJavaVersion=$(cat "${javaVersionPath}/release" | grep "^SEMANTIC" | cut -d "=" -f 2 | tr -d "\"" | tr "+" "-")
# If there is no semver in java release, then extract java version from -fullversion
[[ -z ${fullJavaVersion} ]] && fullJavaVersion=$(${javaVersionPath}/bin/java -fullversion 2>&1 | tr -d "\"" | tr "+" "-" | awk '{print $4}')
# Convert non valid semver like 11.0.14.1-9 -> 11.0.14-9
# https://github.com/adoptium/temurin-build/issues/2248
[[ ${fullJavaVersion} =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ ]] && fullJavaVersion=$(echo $fullJavaVersion | sed -E 's/\.[0-9]+-/-/')
javaToolcacheVersionPath="${JAVA_TOOLCACHE_PATH}/${fullJavaVersion}"
mkdir -p "${javaToolcacheVersionPath}"
# Create a complete file
touch "${javaToolcacheVersionPath}/x64.complete"
# Create symlink for Java
ln -s ${javaVersionPath} "${javaToolcacheVersionPath}/x64"
# add extra permissions to be able execute command without sudo
chmod -R 777 /usr/lib/jvm
}
# Fetch repositories data
enableRepositories
# Get all the updates from enabled repositories.
apt-get update
defaultVersion=$(get_toolset_value '.java.default')
jdkVersionsToInstall=($(get_toolset_value ".java.versions[]"))
for jdkVersionToInstall in ${jdkVersionsToInstall[@]}; do
installOpenJDK ${jdkVersionToInstall}
if [[ ${jdkVersionToInstall} == ${defaultVersion} ]]
then
createJavaEnvironmentalVariable ${jdkVersionToInstall} True
else
createJavaEnvironmentalVariable ${jdkVersionToInstall} False
fi
done
# Install Ant
apt-get install -y --no-install-recommends ant ant-optional
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
# Install Maven
mavenVersion=$(get_toolset_value '.java.maven')
mavenDownloadUrl="https://dlcdn.apache.org/maven/maven-3/${mavenVersion}/binaries/apache-maven-${mavenVersion}-bin.zip"
download_with_retries ${mavenDownloadUrl} "/tmp" "maven.zip"
unzip -qq -d /usr/share /tmp/maven.zip
ln -s /usr/share/apache-maven-${mavenVersion}/bin/mvn /usr/bin/mvn
# Install Gradle
# This script founds the latest gradle release from https://services.gradle.org/versions/all
# The release is downloaded, extracted, a symlink is created that points to it, and GRADLE_HOME is set.
gradleJson=$(curl -fsSL https://services.gradle.org/versions/all)
gradleLatestVersion=$(echo ${gradleJson} | jq -r '.[] | select(.version | contains("-") | not).version' | sort -V | tail -n1)
gradleDownloadUrl=$(echo ${gradleJson} | jq -r ".[] | select(.version==\"$gradleLatestVersion\") | .downloadUrl")
echo "gradleUrl=${gradleDownloadUrl}"
echo "gradleVersion=${gradleLatestVersion}"
download_with_retries ${gradleDownloadUrl} "/tmp" "gradleLatest.zip"
unzip -qq -d /usr/share /tmp/gradleLatest.zip
ln -s /usr/share/gradle-"${gradleLatestVersion}"/bin/gradle /usr/bin/gradle
echo "GRADLE_HOME=$(find /usr/share -depth -maxdepth 1 -name "gradle*")" | tee -a /etc/environment
# Delete java repositories and keys
rm -f /etc/apt/sources.list.d/adoptium.list
rm -f /etc/apt/sources.list.d/zulu.list
rm -f /usr/share/keyrings/adoptium.gpg
rm -f /usr/share/keyrings/zulu.gpg
reloadEtcEnvironment
invoke_tests "Java"
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash -e
################################################################################
## File: kotlin.sh
## Desc: Installs Kotlin
################################################################################
source $HELPER_SCRIPTS/install.sh
KOTLIN_ROOT="/usr/share"
downloadUrl=$(get_github_package_download_url "JetBrains/kotlin" "contains(\"kotlin-compiler\")")
download_with_retries "$downloadUrl" "/tmp"
unzip -qq /tmp/kotlin-compiler*.zip -d $KOTLIN_ROOT
rm $KOTLIN_ROOT/kotlinc/bin/*.bat
ln -sf $KOTLIN_ROOT/kotlinc/bin/* /usr/bin
invoke_tests "Tools" "Kotlin"
@@ -1,32 +0,0 @@
#!/bin/bash -e
################################################################################
## File: kubernetes-tools.sh
## Desc: Installs kubectl, helm, kustomize
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
# Install KIND
URL=$(get_github_package_download_url "kubernetes-sigs/kind" "contains(\"kind-linux-amd64\")")
curl -fsSL -o /usr/local/bin/kind $URL
chmod +x /usr/local/bin/kind
## Install kubectl
KUBECTL_VERSION=$(curl -fsSL "https://dl.k8s.io/release/stable.txt")
curl -fsSL -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl"
chmod +x /usr/local/bin/kubectl
# Install Helm
curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
# Install minikube
curl -fsSL -O https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
# Install kustomize
download_url="https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
curl -fsSL "$download_url" | bash
mv kustomize /usr/local/bin
invoke_tests "Tools" "Kubernetes tools"
@@ -1,49 +0,0 @@
#!/bin/bash -e
################################################################################
## File: microsoft-edge.sh
## Desc: Installs Microsoft Edge
################################################################################
source $HELPER_SCRIPTS/install.sh
REPO_URL="https://packages.microsoft.com/repos/edge"
gpg_key="/usr/share/keyrings/microsoft-edge.gpg"
repo_path="/etc/apt/sources.list.d/microsoft-edge.list"
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > $gpg_key
# Specify an arch as Microsoft repository supports armhf and arm64 as well
echo "deb [arch=amd64 signed-by=$gpg_key] $REPO_URL stable main" > $repo_path
apt-get update
apt-get install --no-install-recommends microsoft-edge-stable
rm $gpg_key
rm $repo_path
echo "microsoft-edge $REPO_URL" >> $HELPER_SCRIPTS/apt-sources.txt
# Install Microsoft Edge Webdriver
EDGEDRIVER_DIR="/usr/local/share/edge_driver"
EDGEDRIVER_BIN="$EDGEDRIVER_DIR/msedgedriver"
mkdir -p $EDGEDRIVER_DIR
EDGE_VERSION=$(microsoft-edge --version | cut -d' ' -f 3)
EDGE_VERSION_MAJOR=$(echo $EDGE_VERSION | cut -d'.' -f 1)
EDGE_DRIVER_VERSION_URL="https://msedgedriver.azureedge.net/LATEST_RELEASE_${EDGE_VERSION_MAJOR}_LINUX"
# Convert a resulting file to normal UTF-8
EDGE_DRIVER_LATEST_VERSION=$(curl -fsSL "$EDGE_DRIVER_VERSION_URL" | iconv -f utf-16 -t utf-8 | tr -d '\r')
EDGEDRIVER_URL="https://msedgedriver.azureedge.net/${EDGE_DRIVER_LATEST_VERSION}/edgedriver_linux64.zip"
download_with_retries $EDGEDRIVER_URL "/tmp" "edgedriver_linux64.zip"
unzip -qq /tmp/edgedriver_linux64.zip -d $EDGEDRIVER_DIR
chmod +x $EDGEDRIVER_BIN
ln -s $EDGEDRIVER_BIN /usr/bin
echo "EDGEWEBDRIVER=$EDGEDRIVER_DIR" | tee -a /etc/environment
invoke_tests "Browsers" "Edge"
@@ -1,26 +0,0 @@
#!/bin/bash -e
################################################################################
## File: mongodb.sh
## Desc: Installs Mongo DB
################################################################################
# Source the helpers
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
REPO_URL="https://repo.mongodb.org/apt/ubuntu"
osLabel=$(getOSVersionLabel)
toolsetVersion=$(get_toolset_value '.mongodb.version')
# Install Mongo DB
wget -qO - https://www.mongodb.org/static/pgp/server-$toolsetVersion.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] $REPO_URL $osLabel/mongodb-org/$toolsetVersion multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-$toolsetVersion.list
sudo apt-get update
sudo apt-get install -y mongodb-org
rm /etc/apt/sources.list.d/mongodb-org-$toolsetVersion.list
echo "mongodb $REPO_URL" >> $HELPER_SCRIPTS/apt-sources.txt
invoke_tests "Databases" "MongoDB"
-28
View File
@@ -1,28 +0,0 @@
#!/bin/bash -e
################################################################################
## File: mono.sh
## Desc: Installs Mono
################################################################################
source $HELPER_SCRIPTS/os.sh
LSB_CODENAME=$(lsb_release -cs)
# There are no packages for Ubuntu 22 in the repo, but developers confirmed that packages from Ubuntu 20 should work
if isUbuntu22; then
LSB_CODENAME="focal"
fi
# Test to see if the software in question is already installed, if not install it
# wget "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" -O out && sudo apt-key add out && rm out
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-$LSB_CODENAME main" | tee /etc/apt/sources.list.d/mono-official-stable.list
apt-get update
apt-get install -y --no-install-recommends apt-transport-https mono-complete nuget
rm /etc/apt/sources.list.d/mono-official-stable.list
rm -f /etc/apt/sources.list.d/mono-official-stable.list.save
echo "mono https://download.mono-project.com/repo/ubuntu stable-$LSB_CODENAME main" >> $HELPER_SCRIPTS/apt-sources.txt
invoke_tests "Tools" "Mono"
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash -e
################################################################################
## File: oc.sh
## Desc: Installs the OC CLI
################################################################################
source $HELPER_SCRIPTS/install.sh
# Install the oc CLI
DOWNLOAD_URL="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz"
PACKAGE_TAR_NAME="oc.tar.gz"
download_with_retries $DOWNLOAD_URL "/tmp" $PACKAGE_TAR_NAME
tar xzf "/tmp/$PACKAGE_TAR_NAME" -C "/usr/local/bin" oc
invoke_tests "CLI.Tools" "OC CLI"
@@ -1,18 +0,0 @@
#!/bin/bash -e
################################################################################
## File: oras-cli.sh
## Desc: Installs ORAS CLI
################################################################################
source $HELPER_SCRIPTS/install.sh
# Determine latest ORAS CLI version
ORAS_CLI_DOWNLOAD_URL=$(get_github_package_download_url "oras-project/oras" "endswith(\"linux_amd64.tar.gz\")")
ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL)
# Install ORAS CLI
cd /tmp
download_with_retries $ORAS_CLI_DOWNLOAD_URL
tar xzf $ORAS_CLI_ARCHIVE -C /usr/local/bin oras
invoke_tests "CLI.Tools" "Oras CLI"
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash -e
################################################################################
## File: packer.sh
## Desc: Installs packer
################################################################################
source $HELPER_SCRIPTS/install.sh
# Install Packer
URL=$(curl -fsSL https://api.releases.hashicorp.com/v1/releases/packer/latest | jq -r '.builds[] | select((.arch=="amd64") and (.os=="linux")).url')
ZIP_NAME="packer_linux_amd64.zip"
download_with_retries "${URL}" "/tmp" "${ZIP_NAME}"
unzip -qq "/tmp/${ZIP_NAME}" -d /usr/local/bin
rm -f "/tmp/${ZIP_NAME}"
invoke_tests "Tools" "Packer"
@@ -1,17 +0,0 @@
#!/bin/bash -e
################################################################################
## File: phantomjs.sh
## Desc: Installs PhantomJS
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
# Install PhantomJS
apt-get install -y chrpath libssl-dev libxft-dev libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev
PHANTOM_JS=phantomjs-2.1.1-linux-x86_64
download_with_retries https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2 "/tmp"
tar xjf /tmp/$PHANTOM_JS.tar.bz2 -C /usr/local/share
ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
invoke_tests "Tools" "Phantomjs"
@@ -1,31 +0,0 @@
#!/bin/bash -e
################################################################################
## File: pipx-packages.sh
## Desc: Install tools via pipx
################################################################################
source $HELPER_SCRIPTS/install.sh
export PATH="$PATH:/opt/pipx_bin"
pipx_packages=$(get_toolset_value ".pipx[] .package")
for package in $pipx_packages; do
python_version=$(get_toolset_value ".pipx[] | select(.package == \"$package\") .python")
if [ "$python_version" != "null" ]; then
python_path="/opt/hostedtoolcache/Python/$python_version*/x64/bin/python$python_version"
echo "Install $package into python $python_path"
pipx install $package --python $python_path
else
echo "Install $package into default python"
pipx install $package
# https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
# Install ansible into an existing ansible-core Virtual Environment
if [[ $package == "ansible-core" ]]; then
pipx inject $package ansible
fi
fi
done
invoke_tests "Common" "PipxPackages"
@@ -1,31 +0,0 @@
#!/bin/bash -e
################################################################################
## File: post-deployment.sh
## Desc: Post deployment actions
################################################################################
mv -f /imagegeneration/post-generation /opt
echo "chmod -R 777 /opt"
chmod -R 777 /opt
echo "chmod -R 777 /usr/share"
chmod -R 777 /usr/share
chmod 755 $IMAGE_FOLDER
# Remove quotes around PATH
ENVPATH=$(grep 'PATH=' /etc/environment | head -n 1 | sed -z 's/^PATH=*//')
ENVPATH=${ENVPATH#"\""}
ENVPATH=${ENVPATH%"\""}
echo "PATH=$ENVPATH" | sudo tee -a /etc/environment
echo "Updated /etc/environment: $(cat /etc/environment)"
# Clean yarn and npm cache
if yarn --version > /dev/null
then
yarn cache clean
fi
if npm --version
then
npm cache clean --force
fi
@@ -1,12 +0,0 @@
#!/bin/bash -e
################################################################################
## File: powershellcore.sh
## Desc: Installs powershellcore
################################################################################
source $HELPER_SCRIPTS/install.sh
pwshversion=$(get_toolset_value .pwsh.version)
# Install Powershell
apt-get install -y powershell=$pwshversion*
-16
View File
@@ -1,16 +0,0 @@
#!/bin/bash -e
################################################################################
## File: pulumi.sh
## Desc: Installs Pulumi
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
# Install Pulumi
VERSION=$(curl -fsSL "https://www.pulumi.com/latest-version")
TARBALL_URL="https://get.pulumi.com/releases/sdk/pulumi-v${VERSION}-linux-x64.tar.gz"
download_with_retries ${TARBALL_URL} "/tmp" pulumi-v${VERSION}.tar.gz
tar --strip=1 -xf /tmp/pulumi-v${VERSION}.tar.gz -C /usr/local/bin
invoke_tests "Tools" "Pulumi"

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