Skip to content

Commit 3bf6333

Browse files
[Windows] Deprecate Windows 2019 runner
1 parent 691dac8 commit 3bf6333

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Here are a few things you can do that will increase the likelihood of your pull
3434

3535
- For every new tool, add validation scripts and update the software report script to ensure that it is included in the documentation.
3636
- If the tool is available on multiple platforms (macOS, Windows, Linux), make sure you include it on as many as possible.
37+
- 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-2022.json](images/windows/toolsets/toolset-2022.json) as an example.
3738
- Use consistent naming across all files.
3839
- Validation scripts should be simple and shouldn't change the image content.
3940

@@ -44,6 +45,7 @@ There are a bunch of helper functions that could simplify your code: `Install-Ch
4445
- Add a script that will validate the tool installation and put the script in the `scripts/tests` folder.
4546
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.
4647
Add `Invoke-PesterTests -TestFile <testFileName> [-TestName <describeName>]` at the end of the installation script to ensure that your tests will be run.
48+
- 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. [Windows2022-Readme.md](images/windows/Windows2022-Readme.md) and uses [MarkdownPS](https://github.com/Sarafian/MarkdownPS).
4749

4850
### Ubuntu
4951

docs/create-image-and-azure-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GitHub Actions Runner Images
22

3-
The runner-images project uses [Packer](https://www.packer.io/) to generate disk images for Windows 2022 and Ubuntu 22.04/24.04.
3+
The runner-images project uses [Packer](https://www.packer.io/) to generate disk images for Windows 2022/2025 and Ubuntu 22.04/24.04.
44

55
Each image is configured by a HCL2 Packer template that specifies where to build the image (Azure, in this case),
66
and what steps to run to install software and prepare the disk.

helpers/GenerateResourcesAndImage.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
$ErrorActionPreference = 'Stop'
22

33
enum ImageType {
4-
Windows2022 = 2
5-
Windows2025 = 3
6-
Ubuntu2204 = 4
7-
Ubuntu2404 = 5
8-
UbuntuMinimal = 6
4+
Windows2022 = 1
5+
Windows2025 = 2
6+
Ubuntu2204 = 3
7+
Ubuntu2404 = 4
8+
UbuntuMinimal = 5
99
}
1010

1111
Function Get-PackerTemplatePath {

0 commit comments

Comments
 (0)