ci: remove Windows Server 2016 from builds on Azure Pipelines #652
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The images with Windows Server 2016 / Visual Studio 2017 have
been deprecated by Microsoft and are in the process of being
removed completely, so that no further builds with that image
will be possible.
I've just encountered the problem in #651
where the VS 2017 / Windows 2016 builds refused to start:
https://dev.azure.com/boostorg/gil/_build/results?buildId=1813&view=results
References
For reference, see
Since it seems that Microsoft is basically using the same build
environments on both Azure and GitHub Actions when it comes to
Windows and Visual Studio, I decided to remove those jobs instead
of updating them to a newer version of the image. The tests that
would be possible with newer images on Azure are basically what
we are already doing with GitHub Actions here.
Looks like the new final deadline for removal of Windows 2016 is
30th June 2022. But until that happens there will be several
"brownouts" lasting 24 hours each where users will see error
messages that indicate the image will be removed soon. This
basically means we cannot rely on Windows 2016 anymore, even
before 30th June.
Tasklist