Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use default working directory for all uploads to SUTs #296

Merged
merged 2 commits into from
May 28, 2020

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented May 22, 2020

Using /tmp as upload target meant that install_module and
create_manifest_file would not work with windows SUTs, which do
not have that directory.

This changes those methods to not use any directory, dumping files
into the default user's home directory instead.

Fixes: #249

Using `/tmp` as upload target meant that `install_module` and
`create_manifest_file` would not work with windows SUTs, which do
not have that directory.

This changes those methods to not use any directory, dumping files
into the default user's home directory instead.

Fixes: puppetlabs#249
@DavidS DavidS added the bugfix label May 22, 2020
@DavidS DavidS requested a review from a team as a code owner May 22, 2020 11:59
@codecov-commenter
Copy link

Codecov Report

Merging #296 into master will increase coverage by 0.08%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
+ Coverage   62.87%   62.95%   +0.08%     
==========================================
  Files           7        7              
  Lines         765      764       -1     
==========================================
  Hits          481      481              
+ Misses        284      283       -1     
Impacted Files Coverage Δ
lib/puppet_litmus/puppet_helpers.rb 82.72% <0.00%> (ø)
lib/puppet_litmus/rake_helper.rb 74.88% <66.66%> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e54cc1b...81b3daa. Read the comment docs.

@DavidS
Copy link
Contributor Author

DavidS commented May 22, 2020

There's something wonky with travis going on. The "queue" Travis check is a duplicate of the successful one. 🤷

@pmcmaw
Copy link
Contributor

pmcmaw commented May 28, 2020

LGTM. Merging.
Thanks for this @DavidS :-)

@pmcmaw pmcmaw merged commit 3b427c5 into puppetlabs:master May 28, 2020
@DavidS DavidS deleted the default-upload-dir branch June 8, 2020 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install_module() uses /tmp as target directory for uploads, fails on windows
3 participants