Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit status 0 on nonexistent image #66

Open
simt2 opened this issue Nov 8, 2016 · 3 comments
Open

Exit status 0 on nonexistent image #66

simt2 opened this issue Nov 8, 2016 · 3 comments

Comments

@simt2
Copy link

simt2 commented Nov 8, 2016

When running e.g. captain build bogus without bogus defined in captain.yml, captain exits with status 0 and without any error message. This breaks CI or anything else relying on an correct exit status.

@jurgenweber
Copy link
Contributor

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.

@dkapanidis
Copy link
Member

This is probably already fixed by this PR #73. It's not released yet though.

Can you try the master branch to see if it fits your needs until release?

@jurgenweber
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants