-
Notifications
You must be signed in to change notification settings - Fork 224
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
Refactor: Separate Pipeline Management into Serverless Application #424
Conversation
26a70ce
to
26f2819
Compare
Seperate out Pipeline Mananagement away from CodePipeline and remove the major bottlenecks of building each deployment map sequentially. Starts to isolate the CodeCOmmit repository and moves the source of deployment maps into an S3 Bucket. Sets the groundwork for future refactoring of Pipeline Management and moves towards enabling decentralised deployment maps.
26f2819
to
305ca55
Compare
…into refactor/pipeline-management
…into refactor/pipeline-management
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for refactoring this logic! Very valuable!
I noticed a few changes were missing in the logic. For example wave generation and another PR that I linked in the review comments.
Could you make sure the changes introduced by those PRs are also included in this PR?
...repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py
Outdated
Show resolved
Hide resolved
...ambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/repo.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/rule.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Simon Kok <[email protected]>
…s-deployment-framework into refactor/pipeline-management
src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/target.py
Show resolved
Hide resolved
5f27224
to
17767af
Compare
17767af
to
29a4fee
Compare
...ase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py
Outdated
Show resolved
Hide resolved
src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/global.yml
Show resolved
Hide resolved
...ambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/cloudformation.py
Outdated
Show resolved
Hide resolved
…into refactor/pipeline-management
Co-authored-by: Simon Kok <[email protected]>
Co-authored-by: Simon Kok <[email protected]>
…repository/adf-bootstrap/deployment/global.yml
…s-deployment-framework into refactor/pipeline-management
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great improvements, thanks for making those.
I've got a number of minor suggested changes, so we are close to merge this too!
...repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py
Outdated
Show resolved
Hide resolved
...repository/adf-bootstrap/deployment/lambda_codebase/pipeline_management/create_repository.py
Outdated
Show resolved
Hide resolved
...ory/adf-bootstrap/deployment/lambda_codebase/pipeline_management/generate_pipeline_inputs.py
Outdated
Show resolved
Hide resolved
...f-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py
Outdated
Show resolved
Hide resolved
...f-bootstrap/deployment/lambda_codebase/pipeline_management/identify_out_of_date_pipelines.py
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...ambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py
Outdated
Show resolved
Hide resolved
...ase/initial_commit/bootstrap_repository/adf-build/shared/python/tests/test_deployment_map.py
Show resolved
Hide resolved
Adding ADF Prefix to make it clearer that they are part of the ADF ecosystem Co-authored-by: Simon Kok <[email protected]>
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...odebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml
Outdated
Show resolved
Hide resolved
...ambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/deployment_map.py
Outdated
Show resolved
Hide resolved
…s-deployment-framework into refactor/pipeline-management
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making all these changes @StewartW!
This will help speed up ADF a lot, excellent work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
I suggest also storing the .drawio
originals to the repo so the diagram can be easily updated when there are changes to the statemachine later.
For reference, the .drawio.png files that were added by the PR also include the source of the image. |
According to @javydekoning, it's probably left over from awslabs#424
* Update ADF pipeline generation to CDKv2 * Add trailing commas to imports Co-authored-by: Simon Kok <[email protected]> * Apply suggestions from code review * Fix merge * Upgrade to latest CDK + SAM CLI, Python 3.10 (Py3.11 in CodeBuild) **Why?** As this commit will update the new default CodeBuild container image to use, we will pick the most recent Standard CodeBuild image that is available at the time of this commit. Which is STANDARD_7_0. This allows us to continue to support the version for the foreseeable future. As we rather not need to change this frequently, as that would introduce a breaking change. * Remove cdk package as it's no longer used According to @javydekoning, it's probably left over from #424 * Use aws-cdk package instead of cdk --------- Co-authored-by: Simon Kok <[email protected]> Co-authored-by: Javy de Koning <[email protected]> Co-authored-by: Simon Kok <[email protected]>
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.