Skip to content

Commit

Permalink
Merge pull request #1294 from AArnott/libtemplateUpdate
Browse files Browse the repository at this point in the history
Merge latest Library.Template
  • Loading branch information
AArnott committed Mar 19, 2024
2 parents aee6cef + b5e1c4f commit 3803a78
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
// Needs to be explicitly configured: https://github.com/Microsoft/azure-pipelines-vscode#document-formatting
"[azure-pipelines]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false // enable this when the conform
"editor.formatOnSave": false // enable this when they conform
},
}
3 changes: 2 additions & 1 deletion azure-pipelines/InsertionMetadataPackage.nuspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<package >
<package>
<!-- This file is only used in repos where OptProf is enabled. -->
<metadata>
<id>Microsoft.VisualStudio.Threading.VSInsertionMetadata</id>
<version>$version$</version>
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines/apiscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
value: $[ dependencies.Windows.outputs['nbgv.NBGV_MajorMinorVersion'] ]
- ${{ if eq(variables['system.collectionId'], '011b8bdf-6d56-4f87-be0d-0092136884d9') }}:
# https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/25351/APIScan-step-by-step-guide-to-setting-up-a-Pipeline
- group: VSCloudServices-APIScan # Expected to provide ApiScanClientId, ApiScanSecret, ApiScanTenant
- group: VSEng sponsored APIScan # Expected to provide ApiScanClientId
steps:
# We need TSAOptions.json
- checkout: self
Expand All @@ -41,7 +41,7 @@ jobs:
toolVersion: Latest
preserveLogsFolder: true
env:
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId);TenantId=$(ApiScanTenant);AppKey=$(ApiScanSecret)
AzureServicesAuthConnectionString: runAs=App;AppId=$(ApiScanClientId)

# File bugs when APIScan finds issues
- task: TSAUpload@2
Expand Down
6 changes: 2 additions & 4 deletions azure-pipelines/artifacts/APIScanInputs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ $inputs = & "$PSScriptRoot/symbols.ps1"

if (!$inputs) { return }

# Filter out specific files that APIScan does not support.
# Specifically, APIScan doesn't support Windows ARM64 binaries, nor linux/OSX binaries.
# Filter out specific files that target OS's that are not subject to APIScan.
# Files that are subject but are not supported must be scanned and an SEL exception filed.
$outputs = @{}
$forbiddenSubPaths = @(
, 'arm64'
, 'win-arm64'
, 'linux-*'
, 'osx*'
)
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines/vs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extends:
- template: /azure-pipelines/prepare-insertion-stages.yml@self
parameters:
ArchiveSymbols: false
RealSign: ${{ parameters.RealSign }}
RealSign: true

- stage: insertion
displayName: VS insertion
Expand Down

0 comments on commit 3803a78

Please sign in to comment.