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 config for 1ES hosted Linux pool. #17472

Merged
merged 7 commits into from
Jan 4, 2021

Conversation

mitchdenny
Copy link
Contributor

@mitchdenny mitchdenny commented Dec 11, 2020

This PR does two things:

  1. Swaps the Windows pool to a new one (fresh name): azsdk-pool-mms-win-2019-general
  2. Introduces a pool for Linux: azsdk-pool-mms-ubuntu-1804-general

The convention that I'm using here should be fairly self explanatory. I'll decommission the old pool as soon as I've confirmed that these ones are working with the PR. I opted to remove the machine sizes from the pool because other than the image we use (which will be selected by changing pool), the VM size is probably the next thing that will change so its not a good idea to put it in the pool name.

I'm also going to be introducing some top-level archetype parameter templates that set these as defaults which will then be overridable.

@mitchdenny
Copy link
Contributor Author

/azp run net - core - ci

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run net - core - ci

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run net - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny force-pushed the enable-1es-hosted-linux-pool branch from d4f1ae3 to 1fe0daa Compare December 19, 2020 11:30
@mitchdenny
Copy link
Contributor Author

/azp run net - core - ci

@azure-pipelines
Copy link

Azure Pipelines failed to run 1 pipeline(s).

@mitchdenny
Copy link
Contributor Author

/azp run net - storage - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny added Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system. and removed Do Not Merge labels Dec 20, 2020
@mitchdenny mitchdenny requested a review from benbp December 20, 2020 00:11
@Azure Azure deleted a comment from check-enforcer bot Dec 20, 2020
@mitchdenny
Copy link
Contributor Author

This is now ready to merge. It doesn't appear to break live testing at all and its running successfully on Linux agents.

@mitchdenny
Copy link
Contributor Author

/azp run net - storage - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mitchdenny mitchdenny merged commit d47236e into Azure:master Jan 4, 2021
@mitchdenny mitchdenny deleted the enable-1es-hosted-linux-pool branch January 4, 2021 23:27
OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool.
TestTargetFramework: netcoreapp2.1
CollectCoverage: true
Windows_NetCoreApp_ProjectReferences:
Pool: azsdk-pool-mms-win-2019-general # Comment out to swap back to public hosted pool.
Pool: ${{ parameters.WindowsPool }} # Comment out to swap back to public hosted pool.
OSVmImage: # "windows-2019" # Comment back in to swap back to public hosted pool.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At what point do we think we should remove these empty properties? As for my other comment about could we control these at the higher level I guess we could have 2 parameters that we treat as mutually exclusive WindowsPool and WindowsImage and we can just have one be empty and the other set in order to toggle between these 2 if we need that functionality.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also we need to figure out how we want to handle the verify-agent-os templates when we start to run with a larger matrix. Personally I think it is even more important to ensure we are running the expected agent now that we are going to be swapping around pools.

annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
* Add config for 1ES hosted Linux pool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants