How to reduce long provisioning times for CodeBuild steps in CodePipeline?

0

We are using CodePipeline to build and deploy our CDK stacks to AWS. However, the pipeline is quite slow and upon investigation we found that the provisioning of a container for the CodeBuild steps were taking between 1.5 - 2 mins and we have 5 CodeBuild steps in our pipeline so the pipeline runs for a long time.

We are using the latest CodeBuild image (aws/codebuild/standard:6.0) and so the provisioning should be quick as the latest image is cached from what I have read.

Are there any other suggestions as to how we can reduce the pipeline execution time?

gefragt vor 2 Jahren131 Aufrufe
1 Antwort
1

AWS CodeBuild now supports Lambda Runtime and Reserved Capacity, which improves the startup time. Use this mode to reduce the startup time of your CodeBuild Actions in CodePipeline

Naren
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen