Skip to content

Conversation

@jsoriano
Copy link
Member

@jsoriano jsoriano commented Apr 25, 2024

Collect the output from stderr when an error running docker compose happens. This should give more information about the cause of the failure, even when debug mode is not used.

@jsoriano jsoriano self-assigned this Apr 25, 2024
@jsoriano jsoriano marked this pull request as ready for review April 25, 2024 14:17
@jsoriano jsoriano requested a review from a team April 25, 2024 14:17
Copy link
Contributor

@mrodm mrodm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !
This would help us to find easier the errors raised by docker. For instance errors like:

validating /home/user/Coding/work/integrations/packages/oracle_weblogic/_dev/deploy/docker/docker-compose.yml: version must be a string

that were just shown in debug mode.

Thanks!!

@jsoriano jsoriano enabled auto-merge (squash) April 25, 2024 17:03
@jsoriano jsoriano merged commit 6516946 into elastic:main Apr 25, 2024
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @jsoriano

jsoriano added a commit that referenced this pull request Jun 6, 2024
In #1801 we introduced a virtual tty to capture docker compose output as
it is generated in normal consoles. The library we use for that doesn't work
on Windows, breaking stack management and tests depending on it.

While we find an alternative, remove the use of PTY in Windows, effectively
reverting #1801 on this platform.

Add also a test to check that elastic-package stack keeps working on Windows.
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

Successfully merging this pull request may close these issues.

3 participants