Skip to content

Commit 16fdf0e

Browse files
authored
Yml Patch (#44346)
* patch location of auth-dev-feed to before Prep Environment * network isolation change
1 parent 4aa385a commit 16fdf0e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

eng/pipelines/templates/stages/1es-redirect.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ extends:
3636
- 1ES.PT.Tag-refs/tags/canary
3737
settings:
3838
skipBuildTagsForGitHubPullRequests: true
39+
networkIsolationPolicy: Permissive
3940
sdl:
4041
${{ if and(eq(variables['Build.DefinitionName'], 'python - core'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['System.TeamProject'], 'internal')) }}:
4142
autobaseline:

eng/pipelines/templates/steps/build-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ steps:
3636

3737
- template: set-dev-build.yml
3838

39+
- ${{if eq(variables['System.TeamProject'], 'internal') }}:
40+
- template: ../steps/auth-dev-feed.yml
41+
parameters:
42+
DevFeedName: ${{ parameters.DevFeedName }}
43+
3944
- pwsh: |
4045
Write-Host (Get-Command python).Source
4146
$ErrorActionPreference = 'Stop'
@@ -57,11 +62,6 @@ steps:
5762
parameters:
5863
runProxy: false
5964

60-
- ${{if eq(variables['System.TeamProject'], 'internal') }}:
61-
- template: ../steps/auth-dev-feed.yml
62-
parameters:
63-
DevFeedName: ${{ parameters.DevFeedName }}
64-
6565
- ${{ parameters.BeforeTestSteps }}
6666

6767
- template: /eng/pipelines/templates/steps/seed-virtualenv-wheels.yml

0 commit comments

Comments
 (0)