Open casionone opened 1 year ago
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
WeChat Assistant | WeChat Public Account |
---|---|
Name | Description | Subscribe | Unsubscribe | Archive |
---|---|---|---|---|
dev@linkis.apache.org | community activity information | subscribe | unsubscribe | archive |
task need to do Completed
Things to optimize
已完成
待优化事项
Search before asking
Problem Description
Background Although some modules currently have unit tests, for the submitted large feature pr, manual code review cannot guarantee whether the service can run normally after the code is merged. For the pr submitted by community students, there is currently no better way to perform automated basic function verification (only the compilation can be guaranteed), and the availability of the service requires manual verification. There is an urgent need for automated integration testing to complete automated testing of new features/service availability after major revisions.
Achieved goals The service can be automatically deployed and verified after the pr is built through git action
How to do
Action general flow
Build Image to build a mirror apache/linkis:latest and use git cation cache to facilitate other actions
minikuber load mirror apache/linkis:latest
Inspection of kubectl commands
Specify yaml to start the service through kubectl
Check whether the linkis service is started normally
Run the script to verify the underlying service
Write integration tests for some services by using the testcontainers tool
Tasks
git action implements linkis code to build mirror and pull up service
Write integration test cases based on the testcontainer component (differentiated by service)
背景 当前虽然部分模块有单元测试,但是对于提交的大特性pr ,人工的code review无法保证合并代码后,服务是否可以正常运行。对于社区同学提交的pr ,当前没有较好的方式,进行自动化的基础功能验证(只能保证编译通过),服务的可用性需要人工验证。迫切的需要自动化的集成测试,完成对新特性/大修改后的服务可用性进行自动测试。
实现的目标 能通过git action 对pr 进行构建后自动部署服务,并验证 1.服务是否正常启动 2.基础引擎任务是否可以正常提交(优先实现 shell/jdbc/python/任务的验证)
实现大体思路
Action 大体流程
主要task
Description
No response
Use case
No response
Solutions
No response
Anything else
No response
Are you willing to submit a PR?