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

Check compose status only with compose provider #2356

Merged

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Jan 17, 2025

When creating clients from profile, check the status of the compose project only when using the compose stack provider. This prevents elastic-package trying to find local containers when using other providers.

I am not adding explicit support for other providers because they would need the client itself to check the status, what would lead to infinite recursion.

@jsoriano jsoriano requested a review from a team January 17, 2025 16:47
@jsoriano jsoriano self-assigned this Jan 17, 2025
When creating clients from profile, check the status of the compose
project only when using the compose stack provider.
@jsoriano jsoriano force-pushed the avoid-compose-status-other-providers branch from 14acdd1 to a501b62 Compare January 17, 2025 16:48
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @jsoriano

@jsoriano
Copy link
Member Author

test serverless

@elastic-vault-github-plugin-prod

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.

👍

@jsoriano jsoriano merged commit 1865191 into elastic:main Jan 20, 2025
3 checks passed
@jsoriano jsoriano deleted the avoid-compose-status-other-providers branch January 20, 2025 11:55
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