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

Improve Provider requirement handling #673

Open
Tpuljak opened this issue Jun 12, 2024 · 0 comments
Open

Improve Provider requirement handling #673

Tpuljak opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Tpuljak
Copy link
Member

Tpuljak commented Jun 12, 2024

Is your feature request related to a problem? Please describe.
Providers can have certain OS requirements that should be met by the host machine. For example, the Docker provider requires docker to be installed and running. Currently, the Docker provider will throw a fatal error if docker is not running preventing the user from starting the server even though the user might not even use the local target.

Describe the solution you'd like
We should implement a solution that will inform the user about the requirements of the provider and what might not work correctly if they are not met. I propose that we implement a method in the provider that can return the description of the requirements that will be logged on server startup. Additionally, the method response should include requirements that are met (which can be logged with INFO) and those that are not (which can be logged as a warning for the user)

Additional context
Related to #671

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

No branches or pull requests

1 participant