Skip to content

Commit 5f3c328

Browse files
committed
Merged PR 37082: Add parameter to disable net isolation
Add parameter to disable net isolation, to allow downloading the tool for making appx packages. ---- #### AI description (iteration 1) #### PR Classification The pull request introduces a new pipeline configuration parameter to control network isolation. #### PR Summary This change adds a boolean parameter in the pipeline YAML file to disable network isolation during builds. - `/.pipelines/Package-Official.yml`: Added a new `disableNetworkIsolation` parameter with a default value of false, mapped it to a variable, and passed it into the extended configuration settings. <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
1 parent 8689df9 commit 5f3c328

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pipelines/Package-Official.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ parameters: # parameters are shown up in ADO UI in a build queue time
55
displayName: 'Enable debug output'
66
type: boolean
77
default: false
8+
- name: disableNetworkIsolation
9+
type: boolean
10+
default: false
811

912
variables:
1013
- name: CDP_DEFINITION_BUILD_COUNT
@@ -25,6 +28,8 @@ variables:
2528
value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]
2629
- name: branchCounter
2730
value: $[counter(variables['branchCounterKey'], 1)]
31+
- name: disableNetworkIsolation
32+
value: ${{ parameters.disableNetworkIsolation }}
2833

2934
resources:
3035
pipelines:
@@ -53,6 +58,7 @@ extends:
5358
WindowsHostVersion:
5459
Version: 2022
5560
Network: KS3
61+
disableNetworkIsolation: ${{ variables.disableNetworkIsolation }}
5662
globalSdl:
5763
disableLegacyManifest: true
5864
# disabled Armorty as we dont have any ARM templates to scan. It fails on some sample ARM templates.

0 commit comments

Comments
 (0)