Skip to content

Commit 85b9e69

Browse files
authored
Refactor official-build.yml with new parameters
1 parent 04a88f7 commit 85b9e69

1 file changed

Lines changed: 21 additions & 19 deletions

File tree

eng/ci/official-build.yml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,25 @@ resources:
3333
ref: refs/tags/release
3434

3535
extends:
36-
template: v1/1ES.Official.PipelineTemplate.yml@1es
37-
parameters:
38-
pool:
39-
name: 1es-pool-azfunc
40-
image: 1es-ubuntu-22.04
41-
os: linux
42-
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
43-
demands:
44-
- Priority -equals Low
45-
sdl:
46-
sourceAnalysisPool:
47-
name: 1es-pool-azfunc
48-
image: 1es-windows-2022
49-
os: windows
36+
template: v1/1ES.Official.PipelineTemplate.yml@1es
37+
parameters:
38+
settings:
39+
networkIsolationPolicy: Permissive,CFSClean
40+
pool:
41+
name: 1es-pool-azfunc
42+
image: 1es-ubuntu-22.04
43+
os: linux
44+
${{ if eq( variables['Build.Reason'], 'Schedule' ) }}:
45+
demands:
46+
- Priority -equals Low
47+
sdl:
48+
sourceAnalysisPool:
49+
name: 1es-pool-azfunc
50+
image: 1es-windows-2022
51+
os: windows
5052

51-
stages:
52-
- stage: BuildAndSign
53-
dependsOn: []
54-
jobs:
55-
- template: /eng/templates/build.yml@self
53+
stages:
54+
- stage: BuildAndSign
55+
dependsOn: []
56+
jobs:
57+
- template: /eng/templates/build.yml@self

0 commit comments

Comments
 (0)