Refactor: Test Framework and Update Docker Compose Configuration#701
Refactor: Test Framework and Update Docker Compose Configuration#701rohansx wants to merge 21 commits into
Conversation
Signed-off-by: rohansx <sharmarohan615@gmail.com>
Signed-off-by: ChaudharyRaman <ramanchaudhary2704@gmail.com> Signed-off-by: rohansx <sharmarohan615@gmail.com>
Signed-off-by: rohansx <sharmarohan615@gmail.com>
Signed-off-by: rohansx <sharmarohan615@gmail.com>
|
@Phoenix500526 Pleaase review this PR and let me know the changes and then I'll proceed with the documentation |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #701 +/- ##
==========================================
- Coverage 75.17% 75.16% -0.02%
==========================================
Files 176 176
Lines 26852 26852
Branches 26852 26852
==========================================
- Hits 20187 20183 -4
- Misses 5452 5454 +2
- Partials 1213 1215 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ner for interaction Signed-off-by: rohansx <sharmarohan615@gmail.com>
|
@liangyuanpeng adjusted port configurations for xLine nodes and added client container for enhanced interaction. @Phoenix500526 updated node2 and node3 ports to avoid special port conflicts and included --client-listen-urls and --peer-listen-urls for clearer networking. Also added a client service for testing and interaction purposes. |
Phoenix500526
left a comment
There was a problem hiding this comment.
Please rebase this pr.
Signed-off-by: rohansx <sharmarohan615@gmail.com>
|
@Phoenix500526 I have done the necessary modification as you mentioned above. I updated client container image for CI validation process to ghcr.io/xline-kv/etcdctl:v3.5.9 |
|
There are still some problems with the validation CI. Please fix them so that this pr can pass the CI. You can run the validation on your local via executing |
working on this. |
Signed-off-by: rohansx <sharmarohan615@gmail.com>
Signed-off-by: Phoeniix Zhao <Phoenix500526@163.com>
Signed-off-by: rohansx <sharmarohan615@gmail.com>
|
There are several issues in this pr:
|
|
@Phoenix500526 @liangyuanpeng , I am encountering a validation check error, and I have tried to resolve it without success. Could you please explain why this validation check is failing and provide guidance on how I can address the issue? |
| @@ -0,0 +1,85 @@ | |||
| version: "3.9" | |||
There was a problem hiding this comment.
The version is obsolete, please remove this line. FYI: mailcow/mailcow-dockerized#5797
|
|
||
| services: | ||
| node1: | ||
| image: ghcr.io/xline-kv/xline:latest |
There was a problem hiding this comment.
Please add container_name to specify the container name.
| --peer-listen-urls http://172.22.0.2:2380 | ||
|
|
||
| node2: | ||
| image: ghcr.io/xline-kv/xline:latest |
| --peer-listen-urls http://172.22.0.3:2380 | ||
|
|
||
| node3: | ||
| image: ghcr.io/xline-kv/xline:latest |
| --peer-listen-urls http://172.22.0.4:2380 | ||
|
|
||
| client: | ||
| image: ghcr.io/xline-kv/etcdctl:v3.5.9 |
| driver: bridge | ||
| ipam: | ||
| config: | ||
| - subnet: "172.22.0.0/16" |
There was a problem hiding this comment.
Please keep this subnet unify with the subnet in validation_test.sh
I think there are several reasons behind this validation failure:
Finally, please modify our quick start doc to make it unify with the code change in this pr. Thanks 😄 |
|
Hi, @rohansx ! This pr has been stalled for 3 weeks. Would you like to update it? 😄 |
@Phoenix500526 yes I'll update in the next week.. sorry for the delay.. actually kind of looking for a job and got stuck in the interview process and therefore i couldn't look into it.. |
|
@Mergifyio rebase |
❌ Base branch update has failedDetailsGit reported the following error: |
|
@rohansx Your PR is in conflict and cannot be merged. |
Key Changes:
docker-compose.ymlfile to manage the Xline cluster configuration, ensuring all services are correctly networked and equipped with the necessary volumes, ports, and environment settings.validation.shscript to utilize Docker Compose for starting and stopping services, aligning it with the new docker-compose.yml configuration. This update simplifies the validation process and ensures compatibility with the Docker Compose setup.benchmark.shandquick_start.shdocumentation to reflect the new Docker Compose-based approach. This includes instructions on how to use the docker-compose file for setting up a development or testing environment and guidelines for executing validation and benchmark tests.These changes aim to streamline the project's testing framework, reduce redundancy, and improve the overall developer experience when testing and validating the Xline cluster's functionality.
Resolves: #692