dotnet / dnceng

.NET Engineering Services
MIT License
25 stars 19 forks source link

Investigate 1ES hosted pool feature: Image aliases #943

Open riarenas opened 1 year ago

riarenas commented 1 year ago

New 1ES feature

for pools that have multiple images, you can target the image to use in your pipeline through ImageOverride demand and passing the image name you want. However, this means that whenever you change the pool image, you need to update all your YAML pipelines. For example, the pool image is MyImage1 and the demand in YAML is MyImage1. If you remove MyImage1 and replace it with MyBetterImage, you also need to update the YAML.

Now, you can specify an alias on the pool image (example here) and use that alias in your YAML pipeline.

We should see if we can take advantage of this. Maybe offering something like windows-latest-with-vs, standard ubuntu-latest aliases.

Release Note Category

riarenas commented 1 year ago

Internal Teams thread of the announcement

riarenas commented 1 year ago

Considerations need to be taken for release branches so that we don't end up moving forward with major distro versions in older releases that might not support them.