-
Notifications
You must be signed in to change notification settings - Fork 4
VED-1103: Refactor Batch Processor (recordprocessor) deployment to a dedicated pipeline stage #1279
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
Merged
Merged
Changes from 63 commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
07aabb1
Implement deployment workflow for Recordprocessor and update backend …
Thomas-Boyle a935585
Update AWS credentials configuration in deployment workflows
Thomas-Boyle 10f08fa
Refactor deployment workflows to streamline Recordprocessor integration
Thomas-Boyle d1230ac
Update ECR repository check in deployment workflow to fail on missing…
Thomas-Boyle 57fcfbf
Update image tag resolution in backend deployment workflow
Thomas-Boyle 219aea8
change rollback
Thomas-Boyle f2f8854
Rollback enable_recordprocessor variable and create ECR repo if it do…
edhall-nhs 0e63936
Add permissions to build-and-push job
edhall-nhs 6b7f4d1
Update AWS connection
edhall-nhs 4ea668a
Add environment inputs
edhall-nhs 142de41
Refactor Dockerfile paths and update deployment workflow
Thomas-Boyle aad14d8
Fix Dockerfile paths and streamline deployment workflow
Thomas-Boyle b7fe96a
Update Docker build context in deployment workflow
Thomas-Boyle e0538c4
Refactor Docker image build process in deployment workflow
Thomas-Boyle a96ae2d
Enhance deployment workflow with Terraform planning step
Thomas-Boyle b79796b
Add ECR repository import step to deployment workflow
Thomas-Boyle 9fabfd6
Remove ECR repository import step from deployment workflow
Thomas-Boyle 35d95ea
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 0ab3ae7
Refactor deployment workflow and ECR repository configuration
Thomas-Boyle 8820337
Update infrastructure/instance/ecs_batch_processor_config.tf
Thomas-Boyle b0a0fe6
Update infrastructure/account/recordprocessor_ecr_repo.tf
Thomas-Boyle e05a26a
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle a4162b7
Refactor deployment workflow to reorder jobs and enhance Terraform pl…
Thomas-Boyle 9a90419
Update ECS batch processor configuration to use project short name fo…
Thomas-Boyle 94c502a
Add support for conditional recordprocessor image builds in deploymen…
Thomas-Boyle 05c2220
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle dc8d021
Enhance deployment workflows with recordprocessor change detection
Thomas-Boyle fa9376e
Update deployment workflows to enhance recordprocessor image tagging
Thomas-Boyle 2848c61
temp commit to rebuild image
Thomas-Boyle 0f42ea0
Enhance deployment workflows for recordprocessor image management
Thomas-Boyle 1450b4f
chore: ado build kickstart
Thomas-Boyle fe43be3
Enhance deployment workflow for recordprocessor image management
Thomas-Boyle c5b5dba
chore: ado build kickstart
Thomas-Boyle 4ead26b
- Added a conditional check to the deployment job to ensure it only r…
Thomas-Boyle eefda9b
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle bd4e9d8
Refactor GitHub Actions workflows for improved change detection and q…
Thomas-Boyle 82ed767
Update ECR repository configuration for recordprocessor
Thomas-Boyle 2b081c9
chore: ado build kickstart
Thomas-Boyle f1b1c33
Fix change detection logic in continuous deployment workflow to inclu…
Thomas-Boyle c810b2e
Update change detection logic in GitHub Actions workflow to include t…
Thomas-Boyle f7b9dae
Refine change detection logic in continuous deployment workflow to ex…
Thomas-Boyle 479fa22
Improve change detection logic in continuous deployment workflow to e…
Thomas-Boyle b045e15
deploy step testing
Thomas-Boyle 35d67ba
deploy testing
Thomas-Boyle 6e3fe0c
deploy test
Thomas-Boyle 4ab3b63
deploy test
Thomas-Boyle ea47e06
deployment test
Thomas-Boyle 514532c
build testing
Thomas-Boyle 12c741f
deploy test
Thomas-Boyle 65d9b3e
Fix logging message in file level validation to ensure clarity on pro…
Thomas-Boyle f8fa6ae
Enhance CI workflows by refining change detection logic and re-enabli…
Thomas-Boyle 8cbf3ae
Move detect changes job to deploy-backend
edhall-nhs c23f017
Revert "Move detect changes job to deploy-backend"
edhall-nhs d96cc8d
Refactor CI workflows to centralize recordprocessor change detection …
Thomas-Boyle c3fcf60
Update deploy-backend workflow to use environment variables for recor…
Thomas-Boyle fb563d5
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 410d3de
Update deploy-backend workflow to make recordprocessor image build re…
Thomas-Boyle 5f2485a
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle d353cb2
VED-1116: Update PR Teardown to delete PR recordprocessor images (#1303)
Thomas-Boyle e8ab9fc
VED-1120: Add option to specify which recordprocessor image to use on…
Thomas-Boyle f22dc06
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 6e5e2ed
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle c2107d0
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 4a80889
Enhance backend deployment workflow and infrastructure configuration
Thomas-Boyle 61e5961
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 0e950e2
Refactor deployment workflows and update variable names
Thomas-Boyle ccbbff7
Enhance Lambda deployment workflow by adding environment variables
Thomas-Boyle b904694
Remove inherited secrets from backend deployment workflow for improve…
Thomas-Boyle 2ce797a
Refactor deployment workflows by removing unnecessary variables and c…
Thomas-Boyle b6e09b7
Update Docker context path in backend deployment workflow for improve…
Thomas-Boyle 3f6a9ff
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 45375dd
Refactor Lambda deployment workflow to improve path handling
Thomas-Boyle 5decf41
Remove redundant AWS ECR image description check from Lambda deployme…
Thomas-Boyle 15408cf
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 18715a8
Enhance Lambda deployment workflow to check for existing image digest…
Thomas-Boyle 11e46ea
Update ECR lifecycle policy to retain the last 10 images instead of 5…
Thomas-Boyle db92d2d
Enhance Lambda deployment workflow by adding support for implicit tag…
Thomas-Boyle d16fa51
Update continuous deployment and backend deployment workflows to incl…
Thomas-Boyle a285e4e
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 9238749
Update deployment workflows to include output for record processor im…
Thomas-Boyle 6173d54
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 2ed0248
Update deployment workflows to disable record processor image build i…
Thomas-Boyle 0da81f3
Enhance PR teardown workflow to include fallback for record processor…
Thomas-Boyle 413d91f
Update deployment workflows to disable diff check in continuous deplo…
Thomas-Boyle e7b3d11
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle feed689
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle e1ce138
Merge branch 'master' into 1103-batch-record-refactor
Thomas-Boyle 0e43c20
chore: ado test kickstart
Thomas-Boyle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| resource "aws_ecr_repository" "recordprocessor_repository" { | ||
| image_scanning_configuration { | ||
| scan_on_push = true | ||
| } | ||
| image_tag_mutability = "IMMUTABLE" | ||
| name = "imms-recordprocessor-repo" | ||
| } | ||
|
|
||
| resource "aws_ecr_lifecycle_policy" "recordprocessor_repository_lifecycle_policy" { | ||
| repository = aws_ecr_repository.recordprocessor_repository.name | ||
|
|
||
| policy = <<EOF | ||
| { | ||
| "rules": [ | ||
| { | ||
| "rulePriority": 1, | ||
| "description": "Keep last 10 images", | ||
|
avshetty1980 marked this conversation as resolved.
|
||
| "selection": { | ||
| "tagStatus": "any", | ||
| "countType": "imageCountMoreThan", | ||
| "countNumber": 10 | ||
| }, | ||
| "action": { | ||
| "type": "expire" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| EOF | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.