Skip to content

Commit

Permalink
Windows CI: Make sure that correct version of containerd-shim-runhcs-…
Browse files Browse the repository at this point in the history
…v1.exe is used

Signed-off-by: Olli Janatuinen <olli.janatuinen@gmail.com>
  • Loading branch information
olljanat committed Aug 19, 2021
1 parent 1285c6d commit a6692cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hack/ci/windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,10 @@ Try {
$env:GOPATH="$env:SOURCES_DRIVE`:\$env:SOURCES_SUBDIR"
Write-Host -ForegroundColor Green "INFO: GOPATH=$env:GOPATH"

# Set the path to have the version of go from the image at the front
$env:PATH="$env:TEMP\go\bin;$env:PATH"
# Set the path to have:
# - the version of go from the image at the front
# - the test binaries, not the host ones.
$env:PATH="$env:TEMP\go\bin;$env:TEMP\binary;$env:PATH"

# Set the GOROOT to be our copy of go from the image
$env:GOROOT="$env:TEMP\go"
Expand Down Expand Up @@ -871,7 +873,6 @@ Try {
"`$env`:PATH`='c`:\target;'+`$env:PATH`; `$env:DOCKER_HOST`='tcp`://'+(ipconfig | select -last 1).Substring(39)+'`:2357'; c:\target\runIntegrationCLI.ps1" | Out-Host } )
} else {
$env:DOCKER_HOST=$DASHH_CUT
$env:PATH="$env:TEMP\binary;$env:PATH;" # Force to use the test binaries, not the host ones.
$env:GO111MODULE="off"
Write-Host -ForegroundColor Green "INFO: DOCKER_HOST at $DASHH_CUT"

Expand Down

0 comments on commit a6692cc

Please sign in to comment.