Skip to content

chore: move s2n-tls-bench to Codebuild#5693

Merged
boquan-fang merged 14 commits intoaws:mainfrom
boquan-fang:boquan-fang/s2n-tls-benchmark
Jan 15, 2026
Merged

chore: move s2n-tls-bench to Codebuild#5693
boquan-fang merged 14 commits intoaws:mainfrom
boquan-fang:boquan-fang/s2n-tls-benchmark

Conversation

@boquan-fang
Copy link
Copy Markdown
Contributor

@boquan-fang boquan-fang commented Jan 6, 2026

Goal

Move the existing s2n-tls-bench job (which runs everyday) from Github Action to CodeBuild.

Why

We are noticing the result from Cloud Watch fluctuating:
Screenshot 2026-01-05 at 5 19 54 PM
Our assumption is that Github Action assigns different machines to us, which is leading the variations. We want to test this theory by moving this job to AWS CodeBuild service which we can control the machine that is assigned to the job.

How

Basically replicate what is in the Github action to Codebuild yml build spec.

Callouts

  • I believe the approach that this PR used is simpler to reuse existing installation script than using uv and nix.
  • The install_ubuntu_dependencies.sh script will now targeting Ubuntu 24 instead of Ubuntu 18. That is why we have removed some dependencies in the script.

Testing

Test this in CodeBuild by running the job. The job succeeded.

Related

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@boquan-fang boquan-fang requested a review from dougch as a code owner January 6, 2026 01:33
@github-actions github-actions bot added the s2n-core team label Jan 6, 2026
@boquan-fang boquan-fang changed the title Boquan fang/s2n tls benchmark chore: move s2n-tls-bench to Codebuild Jan 6, 2026
@boquan-fang boquan-fang requested a review from jmayclin January 7, 2026 00:16
* add a comment specifing that the install dependencies script is
  targeting Ubuntu 24 instead of 18
@boquan-fang boquan-fang requested a review from dougch January 7, 2026 21:13
@boquan-fang boquan-fang requested review from maddeleine and removed request for jmayclin January 12, 2026 17:52
@boquan-fang boquan-fang force-pushed the boquan-fang/s2n-tls-benchmark branch from e1c48aa to 8c6f6e3 Compare January 14, 2026 17:44
@boquan-fang
Copy link
Copy Markdown
Contributor Author

Thanks for all the review. We need to make sure that the CodeBuild job is properly configured to use aws/s2n-tls repo while PR is merging.

@boquan-fang boquan-fang added this pull request to the merge queue Jan 15, 2026
Merged via the queue into aws:main with commit 8f7a809 Jan 15, 2026
53 checks passed
@boquan-fang boquan-fang deleted the boquan-fang/s2n-tls-benchmark branch January 15, 2026 19:07
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