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

Add script for checking if agents support upgrade to v4 #4995

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aleksandrlevochkin
Copy link
Contributor

@aleksandrlevochkin aleksandrlevochkin commented Sep 17, 2024

WI
AB#2211128

Description

Added a PS script for checking if agents in an organization can be upgraded from v3 to v4. Based on the previous v2 -> v3 migration script

Example
Running the script like this:

.\QueryAgentPoolsForCompatibleOSV4.ps1 -OrganizationUrl $ORG_URL -Token $PAT -Force

produces the following output:

output

Please, note that in the screenshot above the WSL version of Ubuntu is used. Even though the version itself is supported, the output of uname -a is different from a regular Ubuntu, that is why the validation does not pass in this case.

@aleksandrlevochkin aleksandrlevochkin added the misc Miscellaneous Changes label Sep 17, 2024
@aleksandrlevochkin aleksandrlevochkin marked this pull request as ready for review September 17, 2024 08:59
@geekzter
Copy link
Member

@aleksandrlevochkin Is there a reason to keep the v3 script around? I think we should encourage customers to use the v4 agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants