Vauxoo / travis2docker

This is a Library to transform travis to docker file
BSD 2-Clause "Simplified" License
13 stars 15 forks source link

[FIX] t2d: add ssh key to authorized_keys #212

Closed antonag32 closed 8 months ago

antonag32 commented 8 months ago

Since /home/odoo/.ssh is marked as a volume in the parent image, changes to files in the directory during docker build are being lost when a new container is created. Therefore the authorized_keys file is set directly on the host and copied over to the container.

Closes #211.

codecov-commenter commented 8 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (5b3e4fe) 81.71% compared to head (152109c) 80.61%.

Files Patch % Lines
src/travis2docker/travis2docker.py 44.44% 7 Missing and 3 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #212 +/- ## ========================================== - Coverage 81.71% 80.61% -1.10% ========================================== Files 7 7 Lines 596 614 +18 Branches 108 113 +5 ========================================== + Hits 487 495 +8 - Misses 79 86 +7 - Partials 30 33 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.