-
Notifications
You must be signed in to change notification settings - Fork 166
👷 do not rely on hardcoded list of DCs #4037
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-lebeau
wants to merge
20
commits into
main
Choose a base branch
from
thomas.lebeau/no-hardcoded-list-of-dc
base: main
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
20 commits
Select commit
Hold shift + click to select a range
bd7ca9a
👷 replace monitor checks by logs query
thomas-lebeau 06a759e
✅ add unit test for deploy-prod-dc script
thomas-lebeau 931ed9e
fixup! 👷 replace monitor checks by logs query
thomas-lebeau 855e546
♻️ refactor check-monitors scripts to query by orgs id and message
thomas-lebeau 54cf67e
🛠️ update error handling in check-monitors script to log missing data…
thomas-lebeau 1f23c10
👷 refactor deployment scripts to remove hardcoded list of DCs and sites
thomas-lebeau b805742
♻️ replace ddtool with runtime-metadata-service API for datacenter fe…
thomas-lebeau db6bc46
✨ add test script for datacenter API in CI
thomas-lebeau 6a534b9
🔍 add debug log for fetched datacenters in getAllDatacentersMetadata …
thomas-lebeau 455dad7
fix datacenter response types
thomas-lebeau 9019c76
fix: add selector to RMS call
thomas-lebeau eba4073
refactor: update deploy-prod-dc script to skip monitor checks for gov…
thomas-lebeau fca0209
fix: ts errors
thomas-lebeau 38ec673
fix formating
thomas-lebeau eae7dc1
remove test script
thomas-lebeau c142ae7
fix: missing root -> gov renaming
thomas-lebeau f710785
feat: Deploy to private regions
thomas-lebeau deb6f86
Merge remote-tracking branch 'origin/main' into thomas.lebeau/no-hard…
thomas-lebeau 454dac6
fix merge conflicts
thomas-lebeau 2a815da
fix: tidy up
thomas-lebeau 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
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.
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.
thought: there is a bit of back-and-forth between datacenters and "upload path types": in
deploy-prod-dc, we convert datacenters to path types, and inupload-source-mapswe convert path types back to datacenters. Maybe we can improve this in the future.Also
deploy-source-maps.tsis only used here, so we could imagine changing this script to a function. (same fordeploy.ts)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.
these two scripts are also used directly in
.gitlab.ymlfor deploying to staging, canary and next major version.I agree though this is a bit of a mess, I have attempted to clean it a bit to be a bit less confusing (differentiating
datacenterfromuploadPath, even though if sometimes they are the same, it's not always the case). There is certainly room for more improvement but I'd rather leave that for laterThere 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.
Oooh my editor grep is skipping dotfiles, damn :D