-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add disabled NI task on pipeline builds (#75)
* Add disabled NI task on pipeline builds * Use pred version of task * Rename task to Network Isolation * NIMode variable -> parameter * Correct parameter usage * Reference parameters better again. * Wrap parameter in quotes
- Loading branch information
1 parent
c77f8f9
commit fe49cf5
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
parameters: | ||
- name: NetworkIsolationMode | ||
type: string | ||
default: Disabled | ||
|
||
steps: | ||
- task: tse-cloudbuild.1es-networkisolation-tasks.661EE24A-9364-4A3B-A725-3CBEB6F35E4B.1ESNetworkIsolation@1 | ||
displayName: Network Isolation | ||
condition: ne('${{ parameters.NetworkIsolationMode }}', 'Disabled') | ||
inputs: | ||
networkIsolationMode: ${{ parameters.NetworkIsolationMode }} |