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

Feat/default codebuild image #787

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danxie1999
Copy link

Why?

Now in the deployment map, if the codebuild image does not explicitly defined in the deployment map, the deployment will fail. I would like to add define a default build image for the ADF.

What?

An easy fix is to define the default build image in the src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py and set the build stage to optional in the src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py.

Additionally, account_id should also be optional in the schema validation, as ADF 4.0 supports default source account id.

@danxie1999 danxie1999 force-pushed the feat/default_codebuild_image branch from 179349a to 164cfd2 Compare February 24, 2025 06:52
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

Successfully merging this pull request may close these issues.

1 participant