@@ -131,24 +131,25 @@ Describe "[$global:IMAGE_NAME] image has correct version of java and git-lfs ins
131131 }
132132}
133133
134- Describe " [$global :IMAGE_NAME ] create agent container with pubkey as argument" {
135- BeforeAll {
136- $exitCode , $stdout , $stderr = Run- Program ' docker' " run --detach --tty --name=`" $global :CONTAINERNAME `" --publish-all `" $global :IMAGE_NAME `" `" $global :PUBLIC_SSH_KEY `" "
137- $exitCode | Should - Be 0
138- Is- ContainerRunning $global :CONTAINERNAME | Should - BeTrue
139- Start-Sleep - Seconds 10
140- }
134+ # TODO: restore when https://github.com/jenkins-infra/helpdesk/issues/4557 infra issue is resolved
135+ # Describe "[$global:IMAGE_NAME] create agent container with pubkey as argument" {
136+ # BeforeAll {
137+ # $exitCode, $stdout, $stderr = Run-Program 'docker' "run --detach --tty --name=`"$global:CONTAINERNAME`" --publish-all `"$global:IMAGE_NAME`" `"$global:PUBLIC_SSH_KEY`""
138+ # $exitCode | Should -Be 0
139+ # Is-ContainerRunning $global:CONTAINERNAME | Should -BeTrue
140+ # Start-Sleep -Seconds 10
141+ # }
141142
142- It ' runs commands via ssh' {
143- $exitCode , $stdout , $stderr = Run- ThruSSH $global :CONTAINERNAME " $global :PRIVATE_SSH_KEY " " $global :CONTAINERSHELL -NoLogo -C `" Write-Host 'f00'`" "
144- $exitCode | Should - Be 0
145- $stdout | Should -Match ' f00'
146- }
143+ # It 'runs commands via ssh' {
144+ # $exitCode, $stdout, $stderr = Run-ThruSSH $global:CONTAINERNAME "$global:PRIVATE_SSH_KEY" "$global:CONTAINERSHELL -NoLogo -C `"Write-Host 'f00'`""
145+ # $exitCode | Should -Be 0
146+ # $stdout | Should -Match 'f00'
147+ # }
147148
148- AfterAll {
149- Cleanup($global :CONTAINERNAME )
150- }
151- }
149+ # AfterAll {
150+ # Cleanup($global:CONTAINERNAME)
151+ # }
152+ # }
152153
153154# TODO: restore when https://github.com/jenkins-infra/helpdesk/issues/4557 infra issue is resolved
154155# Describe "[$global:IMAGE_NAME] create agent container with pubkey as envvar" {
0 commit comments