mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add disableNetworkIsolation parameter to pipeline configuration
This commit is contained in:
@@ -27,6 +27,9 @@ parameters: # parameters are shown up in ADO UI in a build queue time
|
||||
- name: OfficialBuild
|
||||
type: boolean
|
||||
default: false
|
||||
- name: disableNetworkIsolation
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
name: pkgs-$(BUILD.SOURCEBRANCHNAME)-prod.${{ parameters.OfficialBuild }}-$(Build.BuildId)
|
||||
|
||||
@@ -66,6 +69,8 @@ variables:
|
||||
- group: MSIXSigningProfile
|
||||
- name: templateFile
|
||||
value: ${{ iif ( parameters.OfficialBuild, 'v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates', 'v2/OneBranch.NonOfficial.CrossPlat.yml@onebranchTemplates' ) }}
|
||||
- name: disableNetworkIsolation
|
||||
value: ${{ parameters.disableNetworkIsolation }}
|
||||
|
||||
resources:
|
||||
pipelines:
|
||||
@@ -96,6 +101,7 @@ extends:
|
||||
Network: KS3
|
||||
linuxEsrpSigning: true
|
||||
incrementalSDLBinaryAnalysis: true
|
||||
disableNetworkIsolation: ${{ variables.disableNetworkIsolation }}
|
||||
globalSdl:
|
||||
disableLegacyManifest: true
|
||||
# disabled Armorty as we dont have any ARM templates to scan. It fails on some sample ARM templates.
|
||||
|
||||
Reference in New Issue
Block a user