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

[Feature Request] Add support for cache usage #29

Open
leitouran opened this issue Jan 10, 2024 · 0 comments
Open

[Feature Request] Add support for cache usage #29

leitouran opened this issue Jan 10, 2024 · 0 comments

Comments

@leitouran
Copy link

It would be great if we could manipulate CodeBuild create_project's cache argument so that builds take significantly less time. This is specially painful when developing container, where minor corrections/iterations can take 5-10 mins each.

CodeBuild supports different options for cache usage that can be indicated as an argument (cache) in the create_project method of the boto3 codebuild client (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/create_project.html)

...
    cache={
        'type': 'NO_CACHE'|'S3'|'LOCAL',
        'location': 'string',
        'modes': [
            'LOCAL_DOCKER_LAYER_CACHE'|'LOCAL_SOURCE_CACHE'|'LOCAL_CUSTOM_CACHE',
        ]
    },
...

We could leverage this argument to further optimize codebuild integration with sagemaker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant