Skip to content

ci: fix install_awslc_fips script#5790

Merged
CarolYeh910 merged 2 commits intoaws:mainfrom
CarolYeh910:fix-awslc-fips-install-script
Mar 23, 2026
Merged

ci: fix install_awslc_fips script#5790
CarolYeh910 merged 2 commits intoaws:mainfrom
CarolYeh910:fix-awslc-fips-install-script

Conversation

@CarolYeh910
Copy link
Copy Markdown
Contributor

@CarolYeh910 CarolYeh910 commented Mar 19, 2026

Goal

Fix the error I ran into when rebuilding the CI Docker images

Why

The GH_RELEASE_URL is subject to pagination (default per_page value is 30). AWS-LC-FIPS-2.x releases are truncated in the output, causing AWSLC_BRANCH to be null and failing to build the Docker containers.

How

Since awslc-fips-2.x is no longer updated, I created a separate URL for the latest release of this major version (v2.0.17). We still use GH_RELEASE_URL for awslc_fips_2024 as awslc-fips-3.x is the current major version.

Testing

bash -c "./codebuild/bin/install_awslc_fips_2022.sh $(mktemp -d) /usr/local/awslc-fips-2022"

I ran the above command locally and confirmed that AWS-LC-FIPS-2.0.17 was built successfully. Same for install_awslc_fips_2024.sh.

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

@CarolYeh910 CarolYeh910 requested a review from dougch as a code owner March 19, 2026 23:59
@github-actions github-actions bot added the s2n-core team label Mar 19, 2026
@CarolYeh910 CarolYeh910 requested a review from kaukabrizvi March 20, 2026 00:13
@CarolYeh910 CarolYeh910 added this pull request to the merge queue Mar 23, 2026
Merged via the queue into aws:main with commit b36b5a3 Mar 23, 2026
55 checks passed
@CarolYeh910 CarolYeh910 deleted the fix-awslc-fips-install-script branch March 23, 2026 17:31
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