@@ -3,8 +3,13 @@ parameters:
33- name : official
44 type : boolean
55 default : false
6- # BAR build channel to read .NET versions from
7- - name : channel
6+ # BAR channel to read .NET VMR versions from
7+ # Find full list of channels at https://aka.ms/bar
8+ - name : vmrChannel
9+ type : string
10+ default : " "
11+ # BAR channel to read Aspire versions from
12+ - name : aspireChannel
813 type : string
914 default : " "
1015# .NET image components to update. This should be a list of strings.
@@ -17,6 +22,10 @@ parameters:
1722- name : updateDotnet
1823 type : boolean
1924 default : true
25+ # Whether or not to try and update the Aspire Dashboard version according to the channel parameter
26+ - name : updateAspire
27+ type : boolean
28+ default : true
2029# Additional authentication arguments to pass to update-dependencies
2130- name : gitHubAuthArgs
2231 type : string
@@ -36,19 +45,38 @@ extends:
3645 dependencyName : dotnet
3746 updateSteps :
3847 - task : AzureCLI@2
39- displayName : Update Dotnet
48+ displayName : Update .NET
4049 inputs :
4150 azureSubscription : " Darc: Maestro Production"
4251 scriptType : " pscore"
4352 scriptLocation : " inlineScript"
4453 inlineScript : >-
4554 dotnet run --project eng/update-dependencies/update-dependencies.csproj --
4655 from-channel
47- ${{ parameters.channel }}
56+ ${{ parameters.vmrChannel }}
4857 https://github.com/dotnet/dotnet
4958 --version-source-name 'dotnet/dotnet'
5059 ${{ parameters.gitHubAuthArgs }}
5160
61+ - ${{ if parameters.updateAspire }} :
62+ - template : /eng/pipelines/jobs/update-dependency.yml@self
63+ parameters :
64+ dependencyName : aspire
65+ updateSteps :
66+ - task : AzureCLI@2
67+ displayName : Update Aspire
68+ inputs :
69+ azureSubscription : " Darc: Maestro Production"
70+ scriptType : " pscore"
71+ scriptLocation : " inlineScript"
72+ inlineScript : >-
73+ dotnet run --project eng/update-dependencies/update-dependencies.csproj --
74+ from-channel
75+ ${{ parameters.aspireChannel }}
76+ https://github.com/dotnet/aspire
77+ --version-source-name 'dotnet/aspire'
78+ ${{ parameters.gitHubAuthArgs }}
79+
5280 - ${{ each tool in parameters.tools }} :
5381 - template : /eng/pipelines/jobs/update-dependency.yml@self
5482 parameters :
0 commit comments