Skip to content

Commit ea6796b

Browse files
authored
Fix and enforce CFS violations (#5638)
1 parent 1d7d573 commit ea6796b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

eng/pipelines/prepare-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ stages:
3333
condition: succeeded()
3434
variables:
3535
- ${{ if and(eq(parameters.isOfficialBuild, true), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'))) }}:
36-
3736
- group: DotNet-Diagnostics-Storage
3837
- group: Release-Pipeline
3938
steps:
4039
- ${{ if or(eq(parameters.isOfficialBuild, false), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:
41-
- script: '$(Build.Repository.LocalPath)\dotnet.cmd build $(Build.Repository.LocalPath)\eng\release\DiagnosticsReleaseTool\DiagnosticsReleaseTool.csproj -c Release /bl'
42-
workingDirectory: '$(System.ArtifactsDirectory)'
40+
- script: '$(Build.Repository.LocalPath)\dotnet.cmd build $(Build.Repository.LocalPath)\eng\release\DiagnosticsReleaseTool\DiagnosticsReleaseTool.csproj -c Release'
4341
displayName: 'Build Manifest generation and asset publishing tool'
4442
- ${{ elseif and(eq(parameters.isOfficialBuild, true), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'))) }}:
4543
- task: UseDotNet@2

eng/pipelines/templateInternal.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ extends:
2929
enabled: true
3030
tsa:
3131
enabled: true
32+
settings:
33+
# Do not add CFSClean2 yet - microbuild needs some endpoints behind it.
34+
networkIsolationPolicy: Permissive,CFSClean
3235
featureFlags:
3336
autoBaseline: true
3437

0 commit comments

Comments
 (0)