You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
Look into possibilities for speeding up the CDK deployment, which currently takes quite a long time. Options include:
Caching pip downloads (find some way to avoid "WARNING: The directory '/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag." when synthesizing)
Build a Lambda layer with botocore, the biggest package by far
I tried using the Dockerfile for both the ECS container image for the batch jobs and for the Lambdas, but it seems they work very differently. For example, I can only pass a single argument as the CMD, and I don't think I can do that and also reuse code which is in the parent directory of the job code.
See if anything more can be excluded from cdk.out (ncdu cdk.out) - No, the vast majority of the space is taken up by the botocore package now.
Caching CDK outputs - CDK already does this by default
Making Docker builds reproducible, by checking that repeated builds of each step results in the same hash. Docker already does this. Also, most of the time-consuming builds are not within Docker.
The text was updated successfully, but these errors were encountered:
l0b0
added
enhancement
New feature or request
Epic
This is a Zenhub label and can be ignored
and removed
Epic
This is a Zenhub label and can be ignored
labels
Jan 27, 2021
Look into possibilities for speeding up the CDK deployment, which currently takes quite a long time. Options include:
Non-options:
CMD
, and I don't think I can do that and also reuse code which is in the parent directory of the job code.aws_lambda_python.PythonFunction
, but found two issues: the runtime is not respected and it generates requirements files whichpip
doesn't understand (which should've been fixed in the current version of Poetry, 1.1.6).ncdu cdk.out
) - No, the vast majority of the space is taken up by the botocore package now.The text was updated successfully, but these errors were encountered: