-
Notifications
You must be signed in to change notification settings - Fork 9
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: solo context connect for single cluster #993
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ivo Yankov <[email protected]>
…ect-connects-to-a-deployment-and-pulls-back-the-remoteconfig-for-single-cluster-deployment
Signed-off-by: Ivo Yankov <[email protected]>
…s-to-a-deployment-and-pulls-back-the-remoteconfig-for-single-cluster-deployment
…ect-connects-to-a-deployment-and-pulls-back-the-remoteconfig-for-single-cluster-deployment
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
…s-to-a-deployment-and-pulls-back-the-remoteconfig-for-single-cluster-deployment
Unit Test Results - Linux 1 files ±0 58 suites +1 4s ⏱️ -1s Results for commit 8a6d1d9. ± Comparison against base commit a4ef700. This pull request removes 8 and adds 17 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Unit Test Results - Windows 1 files ±0 58 suites +1 13s ⏱️ -1s Results for commit 8a6d1d9. ± Comparison against base commit a4ef700. This pull request removes 8 and adds 17 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
}); | ||
} | ||
|
||
selectContext(argv) { |
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.
would be good to make this method more modular, it is a bit long and has opportunities to be broken down
Signed-off-by: Ivo Yankov <[email protected]>
src/core/templates.ts
Outdated
@@ -255,8 +255,8 @@ export class Templates { | |||
return mapping; | |||
} | |||
|
|||
static parseClusterAliases(clusters: string) { | |||
return clusters ? clusters.split(',') : []; | |||
static parseCommaSeparatedList(data: string) { |
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.
I think helpers.splitFlagInput would do the same thing and we can remove this.
Signed-off-by: Ivo Yankov <[email protected]>
Signed-off-by: Ivo Yankov <[email protected]>
…s-to-a-deployment-and-pulls-back-the-remoteconfig-for-single-cluster-deployment
Signed-off-by: Ivo Yankov <[email protected]>
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #993 +/- ##
==========================================
- Coverage 84.99% 84.92% -0.08%
==========================================
Files 71 72 +1
Lines 19225 19475 +250
Branches 1305 1919 +614
==========================================
+ Hits 16341 16539 +198
+ Misses 2858 2768 -90
- Partials 26 168 +142
|
Description
This pull request changes the following:
Related Issues
solo context connect
- connects to a deployment and pulls back the RemoteConfig for single cluster deployment #755solo context connect
prompts for cluster after already supplied #951solo context connect
#950