specify component binary path#82
Conversation
Signed-off-by: fredchenbj <cfworking@163.com>
|
Thanks for your contribution. If your PR get merged, you will be rewarded 50 points. |
ee92217 to
3dfb0d0
Compare
Signed-off-by: fredchenbj <cfworking@163.com>
3dfb0d0 to
a73bb49
Compare
Codecov Report
@@ Coverage Diff @@
## master #82 +/- ##
==========================================
+ Coverage 29.33% 33.29% +3.96%
==========================================
Files 17 18 +1
Lines 958 889 -69
==========================================
+ Hits 281 296 +15
+ Misses 625 544 -81
+ Partials 52 49 -3
Continue to review full report at Codecov.
|
|
@lonng PTAL |
|
I think we shouldn't change the protocal component:version. Prefer to use a flag --binpath to specify the binary path. The protocal component:version:binpath could make the user confused. And will introduce more corner case like component:binpath etc... The protocal component:version can be used in install/update/uninstall. |
d58e1f3 to
0f6c6f4
Compare
I have modified it, please review again. @lonng |
Signed-off-by: fredchenbj <cfworking@163.com>
0f6c6f4 to
158401d
Compare
Signed-off-by: fredchenbj <cfworking@163.com>
|
@fredchenbj Thanks for your contribution, almost LGTM. It's better to add some integration tests in |
Thanks for your review. Adding integration test is ok, but I don't know the binary path or binary version of component when ci test. |
Signed-off-by: fredchenbj <cfworking@163.com>
|
Congratulation! You have awarded a badge for usability challenge program! Please fill the form to get your reward! http://tidbcommunity.mikecrm.com/QMCv4QL |
|
Team fredchenbj complete task #77 and get 50 score, currerent score 50 |
UCP #77
What problem does this PR solve?
Support specifies the binary path when running a component.
What is changed and how it works?
it runs like
tiup playground --kv 3 --db 3 --pd 3 --db.binpath /xx/tidb-server --kv.binpath /xx/tikv-server --pd.binpath /xx/pd-serverTests