Commit a2ad736 1 parent c43ee85 commit a2ad736 Copy full SHA for a2ad736
File tree 3 files changed +15
-6
lines changed
common/core-templates/steps
3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 14
14
<SourceBuild RepoName =" source-build-reference-packages" ManagedOnly =" true" />
15
15
</Dependency >
16
16
<!-- Intermediate is necessary for source build. -->
17
- <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 9.0.0-beta.24509.3 " >
17
+ <Dependency Name =" Microsoft.SourceBuild.Intermediate.arcade" Version =" 9.0.0-beta.24516.2 " >
18
18
<Uri >https://github.com/dotnet/arcade</Uri >
19
- <Sha >05c72bb3c9b38138276a8029017f2ef905dcc7fa </Sha >
19
+ <Sha >3c393bbd85ae16ddddba20d0b75035b0c6f1a52d </Sha >
20
20
<SourceBuild RepoName =" arcade" ManagedOnly =" true" />
21
21
</Dependency >
22
- <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.24509.3 " >
22
+ <Dependency Name =" Microsoft.DotNet.Arcade.Sdk" Version =" 9.0.0-beta.24516.2 " >
23
23
<Uri >https://github.com/dotnet/arcade</Uri >
24
- <Sha >05c72bb3c9b38138276a8029017f2ef905dcc7fa </Sha >
24
+ <Sha >3c393bbd85ae16ddddba20d0b75035b0c6f1a52d </Sha >
25
25
</Dependency >
26
26
<Dependency Name =" Microsoft.DotNet.GenAPI.Task" Version =" 9.0.100-rc.1.24409.1" >
27
27
<Uri >https://github.com/dotnet/sdk</Uri >
Original file line number Diff line number Diff line change @@ -31,7 +31,16 @@ steps:
31
31
# Calculate the expiration of the SAS token and convert to UTC
32
32
$expiry = (Get-Date).AddHours(${{ parameters.expiryInHours }}).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")
33
33
34
- $sas = az storage container generate-sas --account-name ${{ parameters.storageAccount }} --name ${{ parameters.container }} --permissions ${{ parameters.permissions }} --expiry $expiry --auth-mode login --as-user -o tsv
34
+ # Temporarily work around a helix issue where SAS tokens with / in them will cause incorrect downloads
35
+ # of correlation payloads. https://github.com/dotnet/dnceng/issues/3484
36
+ $sas = ""
37
+ do {
38
+ $sas = az storage container generate-sas --account-name ${{ parameters.storageAccount }} --name ${{ parameters.container }} --permissions ${{ parameters.permissions }} --expiry $expiry --auth-mode login --as-user -o tsv
39
+ if ($LASTEXITCODE -ne 0) {
40
+ Write-Error "Failed to generate SAS token."
41
+ exit 1
42
+ }
43
+ } while($sas.IndexOf('/') -ne -1)
35
44
36
45
if ($LASTEXITCODE -ne 0) {
37
46
Write-Error "Failed to generate SAS token."
Original file line number Diff line number Diff line change 3
3
"dotnet" : " 9.0.100-rc.2.24474.11"
4
4
},
5
5
"msbuild-sdks" : {
6
- "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.24509.3 " ,
6
+ "Microsoft.DotNet.Arcade.Sdk" : " 9.0.0-beta.24516.2 " ,
7
7
"Microsoft.Build.NoTargets" : " 3.7.0"
8
8
}
9
9
}
You can’t perform that action at this time.
0 commit comments