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

[release/6.0] Port 1ES pool changes to 6.0 #8408

Merged
merged 6 commits into from
Feb 2, 2022

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Jan 28, 2022

This is a port of the linked PRs from main that streamline and remove retail pool usage from the common templates. There are some 'unnecessary' changes in here (like publishing) which are always taken from main, but it's easier to take the changes wholesale.

To double check:

)

* Revert "Revert "Streamline and simplify v3 publishing job (dotnet#8334)" (dotnet#8339)"

This reverts commit 7189b4a.

* Remove parameter usage
* Use 1ES pools in templates that run internally
- Use the 1ES pools in our templates, jobs, etc.
- To reduce some of the cost of this, remove the "Setup Maestro Vars" job and replace with a step so that we don't end up with an additional allocation in those cases.
- Call setup maestro vars to populate the azdo params in execute-sdl
- Ensure devdiv promotion job uses devdiv pools
- Use powershell core (the pools don't have IE initialized so we have to use basic parsing, which is default on powershell core)
In an earlier change, hosted pool usage was moved. This didn't account for differences in pools in devdiv and dnceng.
The OneLoc template isn't used in the official build when not on main, so validation got skipped.
@mmitche
Copy link
Member Author

mmitche commented Feb 1, 2022

https://dev.azure.com/dnceng/internal/_build/results?buildId=1584456 - arcade build
Will test on some other repos first.

@mmitche mmitche requested review from epananth and riarenas February 1, 2022 16:25
riarenas
riarenas previously approved these changes Feb 1, 2022
@mmitche
Copy link
Member Author

mmitche commented Feb 1, 2022

@mmitche
Copy link
Member Author

mmitche commented Feb 1, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mmitche mmitche enabled auto-merge (squash) February 2, 2022 15:16
@mmitche
Copy link
Member Author

mmitche commented Feb 2, 2022

@riarenas Can I get a re-approval after the merge?

@mmitche mmitche merged commit cb63eaf into dotnet:release/6.0 Feb 2, 2022
@mmitche mmitche deleted the port-1es-templates branch February 9, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants