Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

use Convert-ToDockerHostPath for docker tests#117

Merged
viktor-kaydalov merged 10 commits into
masterfrom
features/Convert-ToDockerHostPath
Dec 17, 2020
Merged

use Convert-ToDockerHostPath for docker tests#117
viktor-kaydalov merged 10 commits into
masterfrom
features/Convert-ToDockerHostPath

Conversation

@viktor-kaydalov
Copy link
Copy Markdown
Contributor

When Invoke-DockerTests is executed inside docker container (docker-in-docker scenario), use docker host path for volume mappings.
See also https://stackoverflow.com/questions/31381322/docker-in-docker-cannot-mount-volume

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 1, 2020

Codecov Report

Merging #117 (4a1271b) into master (9529daa) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   98.70%   98.76%   +0.05%     
==========================================
  Files          25       26       +1     
  Lines         310      325      +15     
==========================================
+ Hits          306      321      +15     
  Misses          4        4              
Impacted Files Coverage Δ
Source/Private/Convert-ToDockerHostPath.ps1 100.00% <100.00%> (ø)
Source/Public/Invoke-DockerTests.ps1 94.87% <100.00%> (+0.27%) ⬆️

Copy link
Copy Markdown
Contributor

@lee-at-work lee-at-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @viktor-kaydalov. A test covering those new codes will be nice.

Comment thread Source/Private/Convert-ToDockerHostPath.ps1 Outdated
Comment thread Source/Private/Convert-ToDockerHostPath.ps1 Outdated
@lee-at-work
Copy link
Copy Markdown
Contributor

I am still struggling to create a working test for it.

Copy link
Copy Markdown
Contributor

@lee-at-work lee-at-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally... Great work @viktor-kaydalov 🙌

@viktor-kaydalov viktor-kaydalov merged commit 2dc7643 into master Dec 17, 2020
@viktor-kaydalov viktor-kaydalov deleted the features/Convert-ToDockerHostPath branch December 17, 2020 11:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants