-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I have the latest version of sake
- I have searched through the existing issues
Info
-
OS
- Linux
- Mac OS X
- Windows
- other
-
Shell
- Bash
- Zsh
- Fish
- Powershell
- other
Installed with go install github.com/alajmo/sake@latest
- Version:
Version: dev
Commit: none
Date: n/a
Problem / Steps to reproduce
sake.yml:
servers:
localhost:
host: 0.0.0.0
local: true
remote:
host: 0.0.0.0
local: true
work_dir: does_not_exist
tasks:
ping:
desc: Pong
target: {servers: [remote]}
tasks:
- cmd: echo "pong"
local: trueWhat's wrong:
$ sake run ping
TASK*********
$ sake run --any-errors-fatal ping
TASK*********
error: chdir /tmp/t/does_not_exist: no such file or directory- Task silently fails in case of
sake run ping, though it did nothing. I expectedsaketo print any errors and logs happened during execution of task. work_diris used forremoteserver and task is required to run locally (local: true). Butsaketries to go intowork_dirlocally before executing task, which is wrong behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working