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

feat: add required applications check to start command flow #53

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

joaogabriel01
Copy link
Contributor

Summary: Added a check for required applications (jq, curl) to the start command flow.

Details: I encountered an issue where running the start command without having jq installed caused all containers to appear as if they were running correctly. However, when using Fleet, the agent was unable to receive messages.

To prevent similar issues for other users, this PR introduces a validation step within the start command. The script now checks for the presence of all necessary applications before proceeding to start the containers. If any required application is missing, the script will notify the user with a clear message and exit, ensuring that all dependencies are met before execution continues.

@joaogabriel01 joaogabriel01 mentioned this pull request Dec 23, 2024
@DefSecSentinel
Copy link
Collaborator

Nice! Thanks @joaogabriel01

Copy link
Collaborator

@DefSecSentinel DefSecSentinel left a comment

Choose a reason for hiding this comment

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

LGTM

@DefSecSentinel DefSecSentinel merged commit b917a1b into peasead:main Jan 15, 2025
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.

2 participants