dotnet / dnceng

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

Come up with an Image refresh policy for 1ES managed images #1854

Open riarenas opened 10 months ago

riarenas commented 10 months ago

1ES managed images are always rebuilt automatically when there is a base image update or if the artifacts used by the image change. This however does not take into account artifact content updates.

1ES allows the creation of refresh schedules: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-managed-images/imagerefresh which we can leverage to regenerate images more often if needed.

Release Note Category

riarenas commented 10 months ago

There is also the capability of force-rebuilding the image: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-managed-images/forceimagecreation

Should follow up with 1ES whether there's an automated way of doing that, or if redeployment of the ARM template is the suggested way.