Open simt2 opened 7 years ago
I think this is a greater issue, if you say enter in a test of 'exit 1' and run captain test
, it executes and fails.
the actual exit code is 0, as you said. Not great for CI.
This is probably already fixed by this PR https://github.com/harbur/captain/pull/73. It's not released yet though.
Can you try the master branch to see if it fits your needs until release?
yeah, I saw that and tried to build from master.
But now it will not connect to docker.
Post http://unix.sock/images/<image>:latest/tag?force=1&repo=<image>&tag=735e69f: dial tcp: lookup unix.sock: no such host
I found this and have not tried it yet.
When running e.g.
captain build bogus
withoutbogus
defined in captain.yml, captain exits with status0
and without any error message. This breaks CI or anything else relying on an correct exit status.