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

Show .platform/hooks statuses in Events #315

Open
ggedde opened this issue Jan 12, 2024 · 0 comments
Open

Show .platform/hooks statuses in Events #315

ggedde opened this issue Jan 12, 2024 · 0 comments
Labels

Comments

@ggedde
Copy link

ggedde commented Jan 12, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave "+1" or "me too" comments. They generate extra noise for issue followers and do not help prioritize the request.

Tell us about your request
Add more information specific to the statuses of .platform/hooks

Is this request specific to an Elastic Beanstalk platform?
If so, which one(s)?
All of them.

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
From the AWS Console and from the EB CLI it would be helpful to see the statuses from each .platform/hook in the events log.
Something like:
[DateTime] - Info - .platform/hooks/prebuild/01_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/prebuild/02_my_script.sh - Success!
[DateTime] - Info - .platform/hooks/predeploy - Empty, No scripts to run!
[DateTime] - Error - .platform/hooks/postbuild/01_my_script.sh - Failed!

As of now if one of them failed, I would not know which one. The Events would just say Error on deployment. I would have to log into my instance or cloudwatch logs and spend lots of time tracking down the issue. Plus showing the Success! gives me additional confidence that everything ran successfully in my scripts. Also seeing "Empty" or "Not Specified" would be helpful incase we misspell "predeploy" or something. I ran into an issue where I added .platform to my .ebignore which made it so there were no platform hooks. It took me awhile to understand that EB was not seeing them. This would have helped me determine that quicker.

Are you currently working around this issue?
No, it is just assumed that they got ran. I would have to go into my cloudwatch logs and search for them manually.

Additional context
I understand this may be not needed for some so I think the main usage would be in the EB CLI and we could add a flag like --show-hook-statuses

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

No branches or pull requests

1 participant