Skip to content

Commit

Permalink
add prepare stage. update readmes about moving location of the certif…
Browse files Browse the repository at this point in the history
…icate. only necessary to add pre-step to container publish
  • Loading branch information
scbedd authored and azure-sdk committed Aug 16, 2021
1 parent c19de80 commit 8ac6468
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
6 changes: 6 additions & 0 deletions eng/common/scripts/trust-proxy-certificate.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
. $PSScriptRoot/common.ps1

if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn"))
{
&$TestProxyTrustCertFn
}
7 changes: 1 addition & 6 deletions eng/common/testproxy/test-proxy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ parameters:

steps:
- pwsh: |
. $(Build.SourcesDirectory)/eng/common/scripts/common.ps1
if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn"))
{
&$TestProxyTrustCertFn
}
$(Build.SourcesDirectory)/eng/common/scripts/trust-proxy-certificate.ps1
displayName: 'Language Specific Certificate Trust'
- pwsh: |
Expand Down
7 changes: 1 addition & 6 deletions eng/common/testproxy/test-proxy-tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ parameters:

steps:
- pwsh: |
. $(Build.SourcesDirectory)/eng/common/scripts/common.ps1
if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn"))
{
&$TestProxyTrustCertFn
}
$(Build.SourcesDirectory)/eng/common/scripts/trust-proxy-certificate.ps1
displayName: 'Language Specific Certificate Trust'
- pwsh: |
Expand Down

0 comments on commit 8ac6468

Please sign in to comment.