-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies from https://github.com/dotnet/arcade build 20221…
…020.1 (#29414) [main] Update dependencies from dotnet/arcade
- Loading branch information
1 parent
544a640
commit 6f0380d
Showing
15 changed files
with
112 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Select a pool provider based off branch name. Anything with branch name containing 'release' must go into an -Svc pool, | ||
# otherwise it should go into the "normal" pools. This separates out the queueing and billing of released branches. | ||
|
||
# Motivation: | ||
# Once a given branch of a repository's output has been officially "shipped" once, it is then considered to be COGS | ||
# (Cost of goods sold) and should be moved to a servicing pool provider. This allows both separation of queueing | ||
# (allowing release builds and main PR builds to not intefere with each other) and billing (required for COGS. | ||
# Additionally, the pool provider name itself may be subject to change when the .NET Core Engineering Services | ||
# team needs to move resources around and create new and potentially differently-named pools. Using this template | ||
# file from an Arcade-ified repo helps guard against both having to update one's release/* branches and renaming. | ||
|
||
# How to use: | ||
# This yaml assumes your shipped product branches use the naming convention "release/..." (which many do). | ||
# If we find alternate naming conventions in broad usage it can be added to the condition below. | ||
# | ||
# First, import the template in an arcade-ified repo to pick up the variables, e.g.: | ||
# | ||
# variables: | ||
# - template: eng/common/templates/variables/pool-providers.yml | ||
# | ||
# ... then anywhere specifying the pool provider use the runtime variables, | ||
# $(DncEngInternalBuildPool) and $ (DncEngPublicBuildPool), e.g.: | ||
# | ||
# pool: | ||
# name: $(DncEngInternalBuildPool) | ||
# demands: ImageOverride -equals windows.vs2019.amd64 | ||
|
||
variables: | ||
# Coalesce the target and source branches so we know when a PR targets a release branch | ||
# If these variables are somehow missing, fall back to main (tends to have more capacity) | ||
- name: BranchNameForPoolSelection | ||
value: ${{ coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main') }} | ||
|
||
# Any new -Svc alternative pools should have variables added here to allow for splitting work | ||
|
||
# Main branch pools | ||
- ${{ if ne(contains(variables['BranchNameForPoolSelection'], 'release'), true) }}: | ||
- name: DncEngPublicBuildPool | ||
value: NetCore-Public | ||
- name: DncEngInternalBuildPool | ||
value: NetCore1ESPool-Internal | ||
|
||
# Release branch pools | ||
- ${{ if contains(variables['BranchNameForPoolSelection'], 'release') }}: | ||
- name: DncEngPublicBuildPool | ||
value: NetCore-Svc-Public | ||
- name: DncEngInternalBuildPool | ||
value: NetCore1ESPool-Svc-Internal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.