Skip to content

[CI/Build] Allow mounting AWS credentials for sccache S3 auth#35912

Merged
simon-mo merged 2 commits intovllm-project:mainfrom
amrmahdi:amrmahdi/sccache-aws-credentials-mount
Mar 3, 2026
Merged

[CI/Build] Allow mounting AWS credentials for sccache S3 auth#35912
simon-mo merged 2 commits intovllm-project:mainfrom
amrmahdi:amrmahdi/sccache-aws-credentials-mount

Conversation

@amrmahdi
Copy link
Copy Markdown
Contributor

@amrmahdi amrmahdi commented Mar 3, 2026

Add an optional secret mount for AWS credentials in the sccache build step. This allows CI systems using S3-backed sccache with IAM/Pod Identity to pass credentials into the Docker build.

The mount is required=false so it's a no-op when not provided, fully backwards compatible with existing builds.

Amr Mahdi added 2 commits March 3, 2026 12:57
Add an optional secret mount for AWS credentials in the sccache
build step. This allows CI systems using S3-backed sccache with
IAM/Pod Identity to pass credentials into the Docker build.

The mount is required=false so it's a no-op when not provided,
fully backwards compatible with existing builds.

Signed-off-by: Amr Mahdi <amrmahdi@meta.com>
@mergify mergify Bot added the ci/build label Mar 3, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an optional secret mount for AWS credentials in the Dockerfile. This allows sccache to authenticate with S3-backed storage during the build process, which is useful for CI systems that provide credentials as secrets. The change is implemented correctly using Docker's --mount=type=secret feature with required=false to ensure backward compatibility for builds that do not provide the secret. The implementation appears correct and follows security best practices for handling credentials in Docker builds.

@khluu khluu added the ready ONLY add when PR is ready to merge/full CI is needed label Mar 3, 2026
@simon-mo simon-mo merged commit 12b38c0 into vllm-project:main Mar 3, 2026
103 of 118 checks passed
@amrmahdi amrmahdi deleted the amrmahdi/sccache-aws-credentials-mount branch March 4, 2026 00:17
Copilot AI pushed a commit to machov/vllm that referenced this pull request Mar 10, 2026
avinashsingh77 pushed a commit to avinashsingh77/vllm that referenced this pull request Mar 12, 2026
wendyliu235 pushed a commit to wendyliu235/vllm-public that referenced this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants