Skip to content

Commit 73374d0

Browse files
authored
Merge pull request #25773 from wastoresh/mergestorage
[Do not squash][Storage] merge main change to storage preview branch
2 parents d837e45 + d8edbae commit 73374d0

File tree

11,224 files changed

+1461368
-326310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

11,224 files changed

+1461368
-326310
lines changed

.azure-pipelines/code-gen.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
pool: pool-windows-2019
2222
steps:
2323
- checkout: self
24-
- template: util/get-github-pat-steps.yml
24+
persistCredentials: true
25+
- template: util/get-github-token-steps.yml
2526
- task: NodeTool@0
2627
displayName: Use Node 14.15.5
2728
inputs:

.azure-pipelines/daily-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pr: none
1414

1515
jobs:
1616
- job: DailyBuild
17-
timeoutInMinutes: 180
17+
timeoutInMinutes: 360
1818
pool: pool-windows-2019
1919
steps:
2020
- task: PowerShell@2

.azure-pipelines/security-tools.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
OCTOKITPAT: $(GithubToken)
4848
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
4949
displayName: Run CredScan
50-
condition: in(variables['system.pullRequest.targetBranch'], 'generation', 'main')
5150
inputs:
5251
toolMajorVersion: V2
5352
outputFormat: sarif
@@ -61,8 +60,8 @@ jobs:
6160
New-Item $(Build.SourcesDirectory)/artifacts/FilesToScan.rsp -ItemType File -Force
6261
(Get-ChildItem -Path .\artifacts\Debug -Include *.dll,*.exe -Exclude msalruntime.dll,msalruntime_arm64.dll,msalruntime_x86.dll -Recurse).FullName > $(Build.SourcesDirectory)/artifacts/FilesToScan.rsp
6362
pwsh: true
64-
65-
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@3
63+
64+
- task: securedevelopmentteam.vss-secure-development-tools.build-task-binskim.BinSkim@4
6665
displayName: Run BinSkim
6766
inputs:
6867
InputType: 'CommandLine'

.azure-pipelines/sync-tools-folder.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ trigger:
1111
paths:
1212
include:
1313
- .azure-pipelines
14+
- .devcontainer
1415
- tools
1516
- src/lib
1617
- .ci-config.json

.azure-pipelines/util/analyze-steps.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ parameters:
55
IsGenerateBased: ''
66

77
steps:
8-
- template: get-github-pat-steps.yml
98
- template: download-build-steps.yml
109
parameters:
1110
artifactName: build-${{ parameters.testFramework }}
@@ -50,7 +49,6 @@ steps:
5049
custom: msbuild
5150
arguments: 'build.proj /t:GenerateHelp /p:Configuration=${{ parameters.configuration }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
5251
env:
53-
OCTOKITPAT: $(GithubToken)
5452
PowerShellPlatform: ${{ parameters.powerShellPlatform }}
5553

5654
- task: DotNetCoreCLI@2
@@ -60,7 +58,6 @@ steps:
6058
custom: msbuild
6159
arguments: 'build.proj /t:StaticAnalysis /p:Configuration=${{ parameters.configuration }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
6260
env:
63-
OCTOKITPAT: $(GithubToken)
6461
IsGenerateBased: ${{ parameters.IsGenerateBased }}
6562

6663
- template: publish-artifacts-steps.yml

.azure-pipelines/util/build-steps.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ parameters:
44
powerShellPlatform: ''
55

66
steps:
7-
- template: get-github-pat-steps.yml
7+
- checkout: self
8+
persistCredentials: true
9+
- template: get-github-token-steps.yml
810
- task: NodeTool@0
911
condition: eq(variables.IsGenerateBased, true)
1012
displayName: Install Autorest

.azure-pipelines/util/get-github-pat-steps.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
steps:
22
- task: AzurePowerShell@5
33
inputs:
4+
pwsh: true
45
azureSubscription: '$(AzureSubscription)'
56
ScriptType: 'InlineScript'
67
Inline: |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
steps:
2+
- task: PowerShell@2
3+
displayName: Get GitHub Token
4+
inputs:
5+
targetType: 'inline'
6+
script: |
7+
$httpConfigs = (git config --get-regexp "http" )
8+
$authConfig = $httpConfigs | Where-Object {$_ -like "*AUTHORIZATION*"}
9+
$token = ($authConfig -split ' ')[-1]
10+
$ghToken = ([System.Text.Encoding]::ASCII.GetString([System.Convert]::FromBase64String($token)) -split ':')[1]
11+
Write-Host "##vso[task.setvariable variable=GithubToken;issecret=true]$ghToken"
12+

.azure-pipelines/util/test-steps.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ parameters:
66
powerShellPlatform: ''
77

88
steps:
9-
- template: get-github-pat-steps.yml
109
- template: download-build-steps.yml
1110
parameters:
1211
artifactName: build-${{ parameters.testFramework }}
@@ -31,7 +30,6 @@ steps:
3130
custom: msbuild
3231
arguments: 'build.proj /t:${{ parameters.testTarget }} /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
3332
env:
34-
OCTOKITPAT: $(GithubToken)
3533
PowerShellPlatform: ${{ parameters.powerShellPlatform }}
3634
continueOnError: true
3735

.devcontainer/devcontainer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
}
1414
},
1515

16-
// Set *default* container specific settings.json values on container create.
17-
"settings": {},
18-
19-
// Add the IDs of extensions you want installed when the container is created.
20-
"extensions": [
21-
"ms-dotnettools.csharp"
22-
],
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"ms-dotnettools.csharp"
20+
]
21+
}
22+
},
2323

2424
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2525
// "forwardPorts": [5000, 5001],

0 commit comments

Comments
 (0)