-
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
Open
Thomas-Boyle
wants to merge
62
commits into
master
Choose a base branch
from
1103-batch-record-refactor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
62 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 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
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", | ||
| "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.
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.
We can discuss this policy in the demo to see what the team thinks. Might be that we can get rid of it tbh since we've updated the PR teardown now.