-
-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly set the Docker socket on Windows (#1458)
* fix: set Windows' USERPROFILE env var alongside Unix's HOME * chore: skip Docker rootless tests on Windows * chore: initialise Docker socket path on Windows properly * docs: document socket paths * chore: proper skip in tests * chore: log Docekr socket path in the DockerServerInfo * fix: the Docker client retrieves the socket path properly * fix: explicitly skip subtests for rootless * fix: initialise socketPath * fix: use proper eval if windows * revert: print docker host * fix: print the resolved docker host, not the constant * fix: wrong assignment to variable * chore: simplify initialisation of socket path on Windows * chore: do not build unix on windows * fix: proper compilation * fix: define docker socket mount path * fix: compile * fix: reverse logic to skip windows tests * Revert "revert: print docker host" This reverts commit c97d75f. * revert: print Docker info * fix: variable value * Revert "revert: print Docker info" This reverts commit 59f344c. * revert: print log * chore: do not hardcode schema in test expectations * fix: resolve error while cleaning up test resources "The process cannot access the file because it is being used by another process." * fix: mount docker socket * chore: negate build condition for windows * Revert "chore: negate build condition for windows" This reverts commit 1f1dd39. * fix: priority in tests * chore: rename windows job * chore: bring back initial approach * chore: add a docker host strategy for windows * Revert "revert: print log" This reverts commit 729ac05. * fix: set the schema too * fix: skip on windows * fix: include schema * chore: refine for windows socket path * fix: skip test for Windows * chore: print docker host and docker socket path * fix: use filepath for building test paths * revert: print networks after inspect * fix: wrong replacement * fix: close file before removing it See golang/go#51442 (comment) * chore: combine function into its test * chore: skip test for windows * chore: adjust log * chore: increase timeout for listening to a port Seems that windows needs more than 500ms * chore: move testss for BindMounts and VolumeMounts to its test file * chore: triple max timeout for the workflow run, which takes +10m * Revert "chore: triple max timeout for the workflow run, which takes +10m" This reverts commit 07811cb. * fix: more filepaths * chore: skip podman provider tests on windows * chore: remove invalida comment * chore: increase wait timeout forHTTP in test * chore: get Docker host from the resolution strategy * chore: increase wait timeout forHTTP in tests * chore: keep get provider for podman as it was * chore: remove log
- Loading branch information
1 parent
2e85c30
commit 9013d9a
Showing
19 changed files
with
256 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.