appleboy / drone-scp

Copy files and artifacts via SSH using a binary, docker or Drone CI.
MIT License
142 stars 30 forks source link

Print tar output, add overwrite flag #80

Closed Serjlee closed 4 years ago

Serjlee commented 6 years ago

Some time I had to debug some mysterious tar error during deploys, which I solved by having a verbose output and the option to use the tar --overwrite flag

Are you interested in merging those changes? I can look into adding a flag for verbose output and implement some tests

Let me know!

codecov-io commented 6 years ago

Codecov Report

Merging #80 into master will decrease coverage by 2.46%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   86.84%   84.37%   -2.47%     
==========================================
  Files           2        2              
  Lines         152      160       +8     
==========================================
+ Hits          132      135       +3     
- Misses         12       15       +3     
- Partials        8       10       +2
Impacted Files Coverage Δ
plugin.go 84.17% <50%> (-2.49%) :arrow_down:

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 8096419...50b7c27. Read the comment docs.

appleboy commented 5 years ago

@Serjlee Please help to resolve the conflict.