mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
[release/v7.4] Add network isolation policy parameter to vPack pipeline (#26339)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Travis Plunk
Copilot
parent
495995f967
commit
f4f3a4239b
@@ -24,6 +24,14 @@ parameters: # parameters are shown up in ADO UI in a build queue time
|
||||
displayName: 'Enable debug output'
|
||||
type: boolean
|
||||
default: false
|
||||
- name: netiso
|
||||
displayName: "Network Isolation Policy"
|
||||
type: string
|
||||
values:
|
||||
- KS4
|
||||
- R1
|
||||
- Netlock
|
||||
default: "R1"
|
||||
|
||||
name: vPack_$(Build.SourceBranchName)_Prod.${{ parameters.OfficialBuild }}_Create.${{ parameters.createVPack }}_Name.${{ parameters.vPackName}}_$(date:yyyyMMdd).$(rev:rr)
|
||||
|
||||
@@ -54,6 +62,8 @@ variables:
|
||||
value: ${{ iif ( parameters.OfficialBuild, 'v2/Microsoft.Official.yml@onebranchTemplates', 'v2/Microsoft.NonOfficial.yml@onebranchTemplates' ) }}
|
||||
- group: DotNetPrivateBuildAccess
|
||||
- group: certificate_logical_to_actual
|
||||
- name: netiso
|
||||
value: ${{ parameters.netiso }}
|
||||
# We shouldn't be using PATs anymore
|
||||
# - group: mscodehub-feed-read-general
|
||||
|
||||
@@ -70,6 +80,11 @@ extends:
|
||||
platform:
|
||||
name: 'windows_undocked' # windows undocked
|
||||
|
||||
featureFlags:
|
||||
WindowsHostVersion:
|
||||
Version: 2022
|
||||
Network: ${{ variables.netiso }}
|
||||
|
||||
cloudvault:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user