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

add startupScript checksum to deployment #116

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

jesusfcr
Copy link
Contributor

Motivation

Changes in the StartupScripts are not applied to the deployment.

Changes

Add an annotation with the checksum of the StartupScriptContent to force the refresh of the deployment pod.

@alexrashed alexrashed self-assigned this Mar 14, 2024
@alexrashed alexrashed added the type: enhancement Improvement to usability or performance label Mar 14, 2024
Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!
It is a best practice to use the hash of the file as annotation to trigger re-deployments on changes and I agree that one would like to have the changes in the init script being represented in the deployment. I also tested the changes locally, and they are looking good and working well! 🚀 💯
I'll move forward and merge + release this right away! 😄

@alexrashed alexrashed merged commit 86c1834 into localstack:main Mar 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement to usability or performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants