Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows-2016 environment will be removed on March 15, 2022 #4312

Closed
1 of 8 tasks
miketimofeev opened this issue Oct 19, 2021 · 120 comments
Closed
1 of 8 tasks

Windows-2016 environment will be removed on March 15, 2022 #4312

miketimofeev opened this issue Oct 19, 2021 · 120 comments

Comments

@miketimofeev
Copy link
Contributor

miketimofeev commented Oct 19, 2021

Breaking changes

Windows 2016 hosted runners will be removed from GitHub actions and Azure DevOps.
To raise awareness of the upcoming removal, we will temporarily fail jobs using Windows 2016 for two short 'brownout' periods. Builds that are scheduled to run during the brownout periods will fail. The brownouts are scheduled for the following dates and times:

GitHub Actions:

  • December 1, 2021 4:00pm UTC – 10:00pm UTC
  • February 7, 2022 4:00pm UTC – 10:00pm UTC

Azure DevOps

  • December, 15 3:00 PM - 4:30 PM UTC
  • January, 11 3:00 PM - 4:00 PM UTC
  • January, 21 3:00 PM - 5:00 PM UTC
  • February, 2 2:00 PM - 6:00 PM UTC
  • February, 14 2:00 PM - 8:00 PM UTC
  • February, 24 2:00 PM - 8:00 PM UTC
  • March, 9 2:00 PM - 8:00 PM UTC

Target date

March 15, 2022

The motivation for the changes

Windows Server 2016 Active support ends on 11 Jan 2022 and Windows Server 2022 VM image is going out of beta later this year.
As part of our ongoing efforts to keep GitHub and Azure Devops hosted runners updated and secure, the Windows 2016 virtual environment will be removed from GitHub Actions and Azure DevOps.

Possible impact

If your project depends on Windows 2016 environment and visual studio 2017 it can be broken.

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Mitigation ways

We recommend you change jobs using runs-on: windows-2016 to use runs-on: windows-latest which will ensure you're always running on the latest version of Windows Server.

If you need to pin your job to a specific version of Windows Server, you can see the full list of supported versions here https://github.com/actions/virtual-environments#available-environments

@IanKemp
Copy link

IanKemp commented Oct 28, 2021

Windows Server 2016 Active support ends on 11 Jan 2022 and we are Windows Server 2022 VM image is going out of beta later this year.

This sentence makes no grammatical sense and as such I have no idea what it is trying to say. Please do basic proofreading before you post something that the entire world is likely to see.

@miketimofeev
Copy link
Contributor Author

@IanKemp thanks, fixed

@CrisBuda
Copy link

It's great that I got this notification right there in the Azure DevOps Release Definition. I can easily change the agent, however, I don't have an option for Windows-latest in the dropdown. The only other two windows ones are windows-2019 and windows-2022. Can I choose windows-2022 and assume it will be supported for a few years?

@miketimofeev
Copy link
Contributor Author

@CrisBuda sure thing! Both windows-2019 and windows-2022 will be supported for a few years. windows-latest is available using yml definitions and currently points to windows-2019 image as 2022 is in the beta state.

@CrisBuda
Copy link

@CrisBuda sure thing! Both windows-2019 and windows-2022 will be supported for a few years. windows-latest is available using yml definitions and currently points to windows-2019 image as 2022 is in the beta state.

Thanks for clearing that up. windows-2022 doesn't mention it is in beta in the dropdown. I will choose windows-2019

@markybry
Copy link

markybry commented Oct 28, 2021

I haven't specified runs-on anywhere and I am still seeing this warning and can't see where to specify it. Is it as simple as adding the following to my azure-pipelines.yml file as per https://docs.microsoft.com/en-us/azure/devops/pipelines/customize-pipeline?view=azure-devops

pool:
vmImage: "ubuntu-latest"

or

pool:
vmImage: "windows-latest"

@miketimofeev
Copy link
Contributor Author

@markybry yes, it is that simple. Classic pipelines editor sets windows-2016 VM image by default, but this will be changed in the nearest future.

@Croydon
Copy link

Croydon commented Oct 30, 2021

I have no problem saying goodbye to Windows Server 2016, but dropping Visual Studio 2017 is kinda hurtful. Not all projects can use up-to-date tooling

@IanKemp
Copy link

IanKemp commented Oct 30, 2021

I have no problem saying goodbye to Windows Server 2016, but dropping Visual Studio 2017 is kinda hurtful. Not all projects can use up-to-date tooling

Visual Studio 2017 is half a decade old at this point, which is an epoch in software development. If your project depends on VS2017 maybe, just maybe, it's time to figure out an upgrade path.

trini added a commit to trini/u-boot that referenced this issue Oct 31, 2021
As per actions/runner-images#4312 the
Windows-2016 environments are scheduled for deprecation and removal in
early 2022.  Move to windows-2019 now to avoid this (Visual Studio 2019
is included here, hence the tag naming scheme change).

Signed-off-by: Tom Rini <trini@konsulko.com>
@actions actions deleted a comment Nov 1, 2021
@markybry
Copy link

markybry commented Nov 1, 2021

@markybry yes, it is that simple. Classic pipelines editor sets windows-2016 VM image by default, but this will be changed in the nearest future.

Seems that when no vm image is specified that any VM available at that time is selected which may then cause this error.

@miketimofeev
Copy link
Contributor Author

@markybry the recommended approach is to target a specific image that suits your needs

@valx
Copy link

valx commented Nov 2, 2021

We are using Azure DevOps to deploy resources from an ARM template.
In particular in Azure DevOps Release Pipelines, we use an "ARM template deployment" task (latest version: 3.*).
When the release is executed we get a warning:
<<The windows-2016 environment will be deprecated on November 15, 2021, and removed on March 15, 2022. Migrate to windows-latest instead. For more details see #4312 >>
As a developer using the Microsoft 'pre-packaged' task, I cannot configure the underlying Windows version.
So is the task going to be modified accordingly to use a newer version of Windows or is an alternative going to be offered to deploy ARM templates in Azure Devops Releases?

kou added a commit to kou/arrow that referenced this issue Apr 23, 2022
kszucs pushed a commit to apache/arrow that referenced this issue Apr 24, 2022
Because windows-2016 is deprecated:
actions/runner-images#4312

Closes #12970 from kou/ci-verify-rc-windows

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
bertschneider added a commit to CodeIntelligenceTesting/jazzer that referenced this issue Apr 28, 2022
bertschneider added a commit to CodeIntelligenceTesting/jazzer that referenced this issue Apr 28, 2022
bertschneider added a commit to CodeIntelligenceTesting/jazzer that referenced this issue Apr 28, 2022
fmeum pushed a commit to CodeIntelligenceTesting/jazzer that referenced this issue Apr 28, 2022
tbeseda added a commit to architect/hydrate that referenced this issue May 11, 2022
windows-2016 no longer supported: actions/runner-images#4312
ColinRitman added a commit to usexfg/fuego-wallet that referenced this issue May 21, 2022
windows-2016 deprecated actions/runner-images#4312
ayeshurun pushed a commit to ayeshurun/powerbi-models that referenced this issue May 25, 2022
Build with latest Windows version and VS 2019
actions/runner-images#4312

Same changes as !231657 and !231943
ayeshurun added a commit to ayeshurun/powerbi-models that referenced this issue May 25, 2022
… and VS 2019

Merged PR 244250: Build with latest Windows version and VS 2019

Build with latest Windows version and VS 2019
actions/runner-images#4312

Same changes as !231657 and !231943

Cherry-picked from commit `86bdfb59`.
softdev90 added a commit to softdev90/PowerBI-CSharp that referenced this issue Aug 24, 2022
submarine-launched pushed a commit to microsoft/powerbi-models that referenced this issue Aug 30, 2022
Build with latest Windows version and VS 2019
actions/runner-images#4312

Same changes as !231657 and !231943
vonnieda added a commit to openpnp/opencv that referenced this issue Aug 30, 2022
jmcker added a commit to jmcker/ChocolateyPackages that referenced this issue Oct 2, 2022
Move the GitHub Actions runner to `windows-latest`.

`windows-2016` support was dropped (actions/runner-images#4312).
Croydon added a commit to bincrafters/bincrafters-package-tools that referenced this issue Oct 22, 2022
Since GitHub Actions and Azure Pipelines dropped support for it

actions/runner-images#4312
Croydon added a commit to bincrafters/bincrafters-package-tools that referenced this issue Oct 26, 2022
Since GitHub Actions and Azure Pipelines dropped support for it

actions/runner-images#4312
AralRocais added a commit to AralRocais/xxHash that referenced this issue Nov 3, 2022
This trivial change adds `windows-2022` virtual environment which
introduces Visual Studio/C++ 2022.

This change also adds short comment for deprecation of `windows-2016`.
`windows-2016` will be removed on March 15, 2022.
actions/runner-images#4312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests