-
Notifications
You must be signed in to change notification settings - Fork 16
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
CAPT-1703 Migrate production environment to AKS #2887
Merged
Merged
Changes from 5 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
02261ba
Production deployment workflow
vacabor 85e9d48
Trailing newline
vacabor a75e7d9
Use a datatype that exists
vacabor 58d9255
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor f38d7c5
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor 788c5e5
Wait for test deployment before deploying to production
vacabor 90e40d5
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor 5c7c334
Add HA and PG backups for production
vacabor 9201c0a
Merge branch 'CAPT-1703-prod-aks-migration' of github.com:DFE-Digital…
vacabor 48c7070
Refactor running migrations into deployment action
vacabor 21aaab5
WIP: Run the action on this branch for testing
vacabor a4dfafa
Provide PR_NUMBER when running migrations
vacabor 97ad209
Perform azure/login ahead of migrations
vacabor 3d551b3
WIP: Run the test/prod deploys on this branch for testing
vacabor 9401464
Turn off HA initially to allow the SKU to change
vacabor 6e71ed1
Merge branch 'master' of github.com:DFE-Digital/claim-additional-paym…
vacabor da47883
Revert "Turn off HA initially to allow the SKU to change"
vacabor e974aa6
Require the build job for prod deploy per PR feedback
vacabor 7312f50
Revert "WIP: Run the action on this branch for testing"
vacabor a4ee510
Revert "WIP: Run the test/prod deploys on this branch for testing"
vacabor 24cd1fb
WIP: Use the new production canonical_hostname for testing
vacabor e2363be
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor 9c16a5c
Clean up duplicate workflow steps with a matrix
vacabor 593a520
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor e9d72c6
Merge branch 'master' into CAPT-1703-prod-aks-migration
vacabor 67fdaba
Merge branch 'master' of github.com:DFE-Digital/claim-additional-paym…
vacabor e514f83
Switch back to targetting master
vacabor 5bdcc89
Merge branch 'CAPT-1703-prod-aks-migration' of github.com:DFE-Digital…
vacabor 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 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 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 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,11 @@ | ||
{ | ||
"cluster": "production", | ||
"namespace": "srtl-production", | ||
"config": "production", | ||
"environment": "production", | ||
"canonical_hostname": "claim-additional-teaching-payment.service.gov.uk", | ||
"web_replicas": 2, | ||
"worker_replicas": 2, | ||
"startup_command": ["/bin/sh", "-c", "bin/rails server -b 0.0.0.0"], | ||
"worker_command": ["/bin/sh", "-c", "bin/bundle exec bin/delayed_job run -n 1"] | ||
} |
This file contains 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,3 @@ | ||
aks: | ||
source: "https://github.com/DFE-Digital/terraform-modules" | ||
version: "stable" |
This file contains 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 @@ | ||
--- | ||
AbigailMcP marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains 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 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
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.
This is the same code as above. Can we use a matrix instead? With
max-parallel: 1
to make it sequential.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.
9c16a5c (based on https://github.com/DFE-Digital/teacher-pay-calculator/blob/main/.github/workflows/deploy.yml#L42-L44)