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

New feature: Lambda Compute for CodeBuild #201

Open
estanqueiroa opened this issue Sep 28, 2024 · 1 comment
Open

New feature: Lambda Compute for CodeBuild #201

estanqueiroa opened this issue Sep 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@estanqueiroa
Copy link

Is your feature request related to a problem? Please describe.
IHAC complaining about pipeline execution taking too long (~19 mins)

Describe the feature you'd like
Please update CodeBuild Compute type to "Lambda", so the pipeline execution can be quicker and cheaper.

Additional context

Tried to update it by myself but faced several dependencies issues, it would need a custom Docker Image for Lambda Compute.

What I´ve did:

Replaced in the original template:

Type: LINUX_CONTAINER by LINUX_LAMBDA_CONTAINER
ComputeType: BUILD_GENERAL1_SMALL by BUILD_LAMBDA_2GB
Image: "aws/codebuild/standard:7.0" by "aws/codebuild/amazonlinux-x86_64-lambda-standard:python3.11"

Errors executing Build project:

/tmp/codebuild/output/tmp/script.sh: line 4: apt-get: command not found

/tmp/codebuild/output/tmp/script.sh: line 4: locale-gen: command not found

install_stage_dependencies.sh: line 41: gem: command not found

[Container] 2024/09/28 21:53:24.587173 Command failed with exit status 127

@estanqueiroa estanqueiroa added the enhancement New feature or request label Sep 28, 2024
@estanqueiroa
Copy link
Author

estanqueiroa commented Oct 2, 2024

Update: have implemented a MVP using Lambda Compute and pipeline execution time reduced around 50% running same workload, feel free to reach me out for more details @estanqua (AWS Brazil ProServe)

image (1)

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

No branches or pull requests

1 participant