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

Al2023 codebuild #4756

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Al2023 codebuild #4756

wants to merge 8 commits into from

Conversation

dougch
Copy link
Contributor

@dougch dougch commented Sep 6, 2024

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.

@github-actions github-actions bot added the s2n-core team label Sep 6, 2024
codebuild/bin/s2n_codebuild_al.sh Outdated Show resolved Hide resolved
Comment on lines +37 to 40
if [[ "$OS_NAME" == "linux" && -z "$CODEBUILD_BUILD_ARN_" ]]; then
PRLIMIT_LOCATION=$(which prlimit)
sudo -E ${PRLIMIT_LOCATION} --pid "$$" --memlock=unlimited:unlimited;
fi
Copy link
Contributor

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.

Copy link
Contributor Author

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

@dougch dougch enabled auto-merge (squash) September 17, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants