deploy-tools icon indicating copy to clipboard operation
deploy-tools copied to clipboard

task get_sftp_rollback_sha1 doesn't respect the path variable

Open benlk opened this issue 7 years ago • 0 comments

https://github.com/INN/deploy-tools/blob/f07675ab5de3b0284a4a0d594a20bad8d36a522c/fablib/wp/init.py#L268-L277

  • [ ] add env.path to this get

Sample code for this is:

https://github.com/INN/deploy-tools/blob/f07675ab5de3b0284a4a0d594a20bad8d36a522c/fablib/wp/maintenance.py#L64

This issue does not affect deploying, and the deploy correctly detects the deployed commit. This issue does mean that on sites using the path variable, every deploy action is prefaced with:


Warning: get() encountered an exception while downloading '/.git-ftp.log'

Underlying exception:
    No such file

Currently-deployed commit: None
No rollback commit found. Unable to set rollback point.
Checking out branch: master
Deploying...
4 files to sync:

benlk avatar Oct 09 '18 15:10 benlk