-
Notifications
You must be signed in to change notification settings - Fork 709
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
Al2023 codebuild #4756
Al2023 codebuild #4756
Conversation
Co-authored-by: Sam Clark <3758302+goatgoose@users.noreply.github.com>
if [[ "$OS_NAME" == "linux" && -z "$CODEBUILD_BUILD_ARN_" ]]; then | ||
PRLIMIT_LOCATION=$(which prlimit) | ||
sudo -E ${PRLIMIT_LOCATION} --pid "$$" --memlock=unlimited:unlimited; | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably out of scope, but is this even necessary? The unit tests automatically disable mlock, which is what the memlock limit would be about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
historical carry-over, maybe we need an issue to verify the S2N_DONT_MLOCK
and clean this up
Resolved issues:
partial for #4681
Description of changes:
CodeBuild scripts and buildspec changes to add AL2023.
Call-outs:
I've renamed the amazon linux related files to not contain a version numbeer.
Testing:
How is this change tested (unit tests, fuzz tests, etc.)? local docker images, CI and a manual run
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.