File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,17 @@ jobs:
111
111
inline : |
112
112
$modulePath = Join-Path -Path $env:AGENT_TEMPDIRECTORY -ChildPath 'TempModules'
113
113
$env:PSModulePath = $modulePath + [System.IO.Path]::PathSeparator + $env:PSModulePath
114
+
115
+ $ACRRepoName = "ACRRepo"
116
+ $ACRRepoUri = "https://psresourcegettest.azurecr.io"
117
+ Register-PSResourceRepository -Name $ACRRepoName -ApiVersion 'ContainerRegistry' -Uri $ACRRepoUri -Verbose
118
+ Write-Verbose -Verbose "Registering ACR repository with Az authentication completed"
119
+ Get-PSResourceRepository -Name $ACRRepoName -Verbose
120
+ Write-Verbose -Verbose "Get-PSResourceRepository completed"
121
+
122
+ Write-Verbose -Verbose "Finding resource with Name: $testModuleName"
123
+ Find-PSResource -Name $testModuleName -Repository $ACRRepoName -Verbose -Debug -ErrorAction Stop
124
+
114
125
Write-Verbose -Verbose "Importing build utilities (buildtools.psd1)"
115
126
Import-Module -Name (Join-Path -Path '${{ parameters.buildDirectory }}' -ChildPath 'buildtools.psd1') -Force
116
127
Invoke-ModuleTestsACR -Type Functional
You can’t perform that action at this time.
0 commit comments