Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

feat: return the exit code of docker compose in case of failure#803

Merged
kuisathaverat merged 1 commit intoelastic:masterfrom
kuisathaverat:return-code
Mar 25, 2020
Merged

feat: return the exit code of docker compose in case of failure#803
kuisathaverat merged 1 commit intoelastic:masterfrom
kuisathaverat:return-code

Conversation

@kuisathaverat
Copy link
Copy Markdown
Contributor

@kuisathaverat kuisathaverat commented Mar 25, 2020

What does this PR do?

It waits for the return code of the docker-compose command and raises an exception if it is no equal 0.

Why is it important?

The current behavior does not check the return code if the command fails, the exit code of compose.py is 0 in any case.

Related issues

Closes #800

@kuisathaverat kuisathaverat merged commit 4c4c30d into elastic:master Mar 25, 2020
@kuisathaverat kuisathaverat deleted the return-code branch March 25, 2020 23:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve exit code when docker-compose exists with an error

4 participants