-
Notifications
You must be signed in to change notification settings - Fork 637
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
feat: PR to Support GitHub Enterprise Cloud with Data Residency #4367
Conversation
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.
Just some nitpicking - but there's a chance that the tests for ghe.com
gives a false positive (e.g. fooghe.com
) - it's safer to include the preceding period.
lambdas/functions/control-plane/src/scale-runners/scale-down.test.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Jørgen Jervidalo <[email protected]>
…est.ts Co-authored-by: Jørgen Jervidalo <[email protected]>
Co-authored-by: Jørgen Jervidalo <[email protected]>
Great to see the work is done to support GH enterprise cloud. Not time to review the PR yet. But do you also see any chance to adjust docs and make clear GHES configuraiton also support enterprise cloud. |
Yes, the docs and README files are updated accordingly. Kindly have a look |
Hello @npalm Have you got a chance to review the PR ? |
Sorry this week was too busy. Will check the PR asap. Thanks for all the support on GHEC |
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.
@neethu-p took a bit of time to review. Looks good made a view tiny remarks. Will test the change as well, will update the PR comments once done.
Tested a deployment for both pool and scale-up. All working as epxtected |
@npalm The review comments are addressed! |
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 your contribution.
@neethu-p]reverting the PR since the ci is borken, strange it should break on the PR: |
@neethu-p please can you re-create the PR, soe we can see how we can fix the CI? |
Hello team,
This PR is raised to enhance the module’s functionality to support GitHub Enterprise Cloud with data residency.
Reference issue - #4364
Below are the details of the changes:
ghe.com
, in addition to the current handling ofgithub.com
and GHES.2.The primary difference between
github.com
andghe.com
is the API access URL. Whilegithub.com
useshttps://api.github.com
, GHE Cloud instances use the formathttps://api.companyname.ghe.com
.To accommodate this, I have utilised the existing
ghes_url
parameter. The newghe.com
URL can be passed to this parameter for smooth integration.This change has been thoroughly tested across all GitHub instances: GHES,
github.com
, andghe.com
, ensuring compatibility and reliability.Please review the PR and let me know if you have any feedback or suggestions.