Merge lp:~sylvain-pineau/checkbox/fix-1618197 into lp:checkbox
Proposed by
Sylvain Pineau
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Sylvain Pineau | ||||
Approved revision: | no longer in the revision history of the source branch. | ||||
Merged at revision: | 4476 | ||||
Proposed branch: | lp:~sylvain-pineau/checkbox/fix-1618197 | ||||
Merge into: | lp:checkbox | ||||
Diff against target: |
61 lines (+26/-3) 3 files modified
plainbox/docs/manpages/plainbox-job-units.rst (+8/-0) plainbox/plainbox/impl/ctrl.py (+9/-3) plainbox/plainbox/impl/unit/job.py (+9/-0) |
||||
To merge this branch: | bzr merge lp:~sylvain-pineau/checkbox/fix-1618197 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau | Approve | ||
Maciej Kisielewski | Approve | ||
Review via email:
|
Description of the change
Fixes the linked bug where on snappy all docker commands fail to run with this error:
unable to change to original directory. errmsg: No such file or directory
It might be a bug or a limitation of the docker executable but since it works from the command line but not from a plainbox job command, it's better to fix it first on our side.
I created a new job flag to avoid running those command from a temp dir (tested on snappy device with the docker snap it works).
To post a comment you must log in.
Code looks good.
I'm still digesting the idea, tho.
Does this mean that those docker jobs will require checkbox to be run in a particular directory (outside the nest)?