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
Is your feature request related to a problem? Please describe.
I am working with an Enterprise customer on ML use cases and exploring the way to orchestrate deploy using seed-farmer and aws-codeseeder. As part of customer requirement, It is asked to use existing CodeBuild project for build execution.
Describe the solution you'd like
I would like to have the ability to pass an existing CodeBuild project into CodeSeeder. This would allow for seamless integration with pre-configured CodeBuild project settings, ensuring consistency and reducing the need for duplicate configurations. Additionally, CodeSeeder should update IAM permissions relevant to the CodeBuild project, CloudWatch logs and ECR. If a CodeBuild project parameter is provided, CodeSeeder should not deploy the CodeBuild role and project from the template.
Describe alternatives you've considered
As alternative solution, I have configure input param as CodeBuild project within CodeSeeder and passing it from seedfarmer via @codeseeder.remote_function call.
I have updated the below files
_classes.py - added codebuild_project as parameter
codeseeder.py - added codebuild_project as parameter and use it to pass to _remote.run method
added ECR permission to have access to fetch ECR image for codebuild project by codebuild execution role
removed CodeBuildRole and CodeBuildProject resources
Additional context
Adding support for passing CodeBuild project into CodeSeeder would greatly enhance its flexibility and usability. This feature would be particularly beneficial for teams that rely heavily on predefined CodeBuild configurations. Ensuring that IAM permissions for the CodeBuild project, CloudWatch logs and ECR are updated appropriately would further streamline the integration process and maintain security best practices.
The text was updated successfully, but these errors were encountered:
HI @nileshlathiya you should be able to customize seedkit template to bring your own codebuild.
With recently addedcodeseeder deploy seekit --synth option (that is pending a release), you can synthesize seedkit template and customize to either contain your new CodeBuild, or export correct CodeBuild ARNs for the codeseeder to use. Make sure the deployed stack follows the expected naming convention aws-codeseeder-{seedkit_name}, and exports correct CodeBuildProject and CodeBuildProjectArn outputs. To sum up, the steps are:
Use codeseeder deploy seedkit <name> --synth > template.yaml option to get the template
Customize the template by either:
Changing the CodeBuild project directly in the template, or
in case of pre-created CodeBuild, remove the default CodeBuild project from the template and update CodeBuildProject, and CodeBuildProjectArn stack outputs to refer to the pre-created CodeBuild
Deploy the seedkit stack in all target account/regions following the naming convention aws-codeseeder-{project_name}, where project_name is the name of the Seed-Farmer project e.g. aws-codeseeder-aiops
Is your feature request related to a problem? Please describe.
I am working with an Enterprise customer on ML use cases and exploring the way to orchestrate deploy using seed-farmer and aws-codeseeder. As part of customer requirement, It is asked to use existing CodeBuild project for build execution.
Describe the solution you'd like
I would like to have the ability to pass an existing CodeBuild project into CodeSeeder. This would allow for seamless integration with pre-configured CodeBuild project settings, ensuring consistency and reducing the need for duplicate configurations. Additionally, CodeSeeder should update IAM permissions relevant to the CodeBuild project, CloudWatch logs and ECR. If a CodeBuild project parameter is provided, CodeSeeder should not deploy the CodeBuild role and project from the template.
Describe alternatives you've considered
As alternative solution, I have configure input param as CodeBuild project within CodeSeeder and passing it from seedfarmer via @codeseeder.remote_function call.
I have updated the below files
Additional context
Adding support for passing CodeBuild project into CodeSeeder would greatly enhance its flexibility and usability. This feature would be particularly beneficial for teams that rely heavily on predefined CodeBuild configurations. Ensuring that IAM permissions for the CodeBuild project, CloudWatch logs and ECR are updated appropriately would further streamline the integration process and maintain security best practices.
The text was updated successfully, but these errors were encountered: