Commit Graph

63 Commits

Author SHA1 Message Date
Ivan Li
24a2f80e46 test: pass cases 2021-04-05 20:20:43 +08:00
Ivan Li
0e0781c4c4 feat(pipeline-tasks): 任务更新推送时机修改。 2021-04-05 16:34:12 +08:00
Ivan Li
a82f663354 feat: clean up. 2021-04-04 15:51:03 +08:00
Ivan Li
752db8a0c5 Merge pull request 'feat-pub-sub' (#3) from feat-pub-sub into master
Reviewed-on: #3
2021-04-04 13:28:58 +08:00
Ivan
46fb41f856 feat: 完善消息发布。 2021-04-04 12:20:08 +08:00
Ivan
b4307f05d6 feat: 使用 PubSub 进行消息广播。 2021-04-04 00:36:58 +08:00
Ivan
bb3efd3714 feat: pubsub base redis. 2021-04-03 19:19:02 +08:00
Ivan
092cf9c418 Merge branch 'master' of ssh://git.ivanli.cc:7018/Fennec/fennec-be 2021-03-28 20:27:28 +08:00
Ivan
039f4b6d15 test: pass case. 2021-03-28 20:27:20 +08:00
Ivan Li
22be1ffb33 Merge branch 'master' of ssh://git.ivanli.cc:7018/Fennec/fennec-be 2021-03-28 19:38:18 +08:00
Ivan Li
ef47f8049e fix(queue): 修复消息队列未使用配置的reids. 2021-03-28 19:38:09 +08:00
Ivan
032aa89b05 feat(pipelines): list logs 时提供关联的 tasks 。 2021-03-28 19:37:16 +08:00
Ivan Li
da6bc9a068 提供 gieea webhooks (#2)
chore: debug log 仅输出app的log

fix(commons): fix sanitize not return value.

feat(webhooks): add gitea webhooks api.

Co-authored-by: Ivan Li <ivanli@live.cn>
Co-authored-by: Ivan <ivanli@live.cn>
Reviewed-on: #2
Co-Authored-By: Ivan Li <ivan@noreply.%(DOMAIN)s>
Co-Committed-By: Ivan Li <ivan@noreply.%(DOMAIN)s>
2021-03-28 10:24:12 +08:00
Ivan
429de1eaed test(pipeline-tasks): pass test cases. 2021-03-27 15:52:21 +08:00
Ivan
08e5c7e7d3 refactor(pipeline-tasks): remove unused queue. 2021-03-27 15:34:08 +08:00
Ivan
713f5b2426 feat(pipeline-tasks): debug log. 2021-03-25 18:09:45 +08:00
Ivan
607a4f57de feat(pipeline-tasks): 任务失败后,也调用执行下一个任务。 2021-03-25 11:39:15 +08:00
Ivan
211a90590f test: pass the test case. 2021-03-25 10:51:16 +08:00
Ivan Li
07fc98bc86 Merge pull request 'feat-pipelines' (#1) from feat-pipelines into master
Reviewed-on: #1
2021-03-24 20:50:40 +08:00
Ivan Li
9bdd991cfb feat(pipeline-tasks): 任务更新推送。 2021-03-24 20:35:24 +08:00
Ivan Li
9078835c28 test(pipeline-tasks): 测试用例不通过的问题 2021-03-21 20:31:25 +08:00
Ivan Li
42c5e4d608 fix(pipeline-tasks): 修复未保存任务状态到数据库的问题。 2021-03-21 20:28:48 +08:00
Ivan Li
cdc28cb102 feat(pipeline-tasks): 添加 部署任务查询接口和任务日志推送。 2021-03-20 14:30:26 +08:00
Ivan Li
7923ae6d41 fix: 字段类型错误的问题 2021-03-15 13:49:37 +08:00
Ivan Li
4e7c825170 feat(pipeline-task): 流水线任务日志订阅接口。 2021-03-15 13:30:52 +08:00
Ivan Li
aa92c518f0 feat: 新增 创建CI CD任务接口。 2021-03-12 23:00:12 +08:00
Ivan Li
cba4c0464c feat(pipelines): list commit logs 使用直接订阅。
替代了先查询再订阅,确保数据不丢失。
2021-03-10 21:41:47 +08:00
Ivan Li
d02cea2115 fix(repos): 完善 commit log 订阅接口。 2021-03-09 22:50:26 +08:00
Ivan
22d3dc299c feat(repos): 添加订阅commit log 接口。 2021-03-08 11:26:12 +08:00
Ivan
ba0ba46a35 test(pipeline-tasks): 更新测试用例。 2021-03-08 10:48:46 +08:00
Ivan Li
f00f75673b feat(pipelines): 添加查询 commit logs 接口。 2021-03-07 22:53:16 +08:00
Ivan Li
bba7963949 feat(commons): 为实体统一添加软删除相关字段。 2021-03-07 22:12:15 +08:00
Ivan Li
bf4590bd4c feat(exception): 优化错误响应格式。 2021-03-07 16:20:41 +08:00
Ivan Li
e908d2981d feat(pipelines): 修改接口名。
findPipelines -> listPipelines.
2021-03-06 23:30:12 +08:00
Ivan Li
0dadc09ec5 fix: Graphql 类型报错 2021-03-06 12:24:20 +08:00
Ivan Li
38d3cb0db8 feat(redis): 添加 redis 及其配置 2021-03-06 12:23:55 +08:00
Ivan
8901c49bb3 back. 2021-03-05 18:13:10 +08:00
Ivan
7913184174 feat(pipeline-tasks): 完善 doTask 2021-03-05 17:12:06 +08:00
Ivan
f39c801fc2 feat(repos): 检出相关逻辑更改为传入任务信息而不是项目信息。 2021-03-04 17:02:07 +08:00
Ivan
33b09594f5 test(pipeline-tasks): task consumer unit test. 2021-03-04 11:43:23 +08:00
Ivan
64ec1433a6 feat(pipeline-tasks): 完善流程和测试用例。 2021-03-03 17:24:22 +08:00
Ivan
31a200206f feat(pipelines): 添加消息队列 2021-03-02 16:28:37 +08:00
Ivan
22d9bf47d3 feat(pipeline-tasks): 流水线人物。 2021-03-01 18:14:13 +08:00
Ivan
e3e698b8cb feat(pipelines): 添加流水线模块。 2021-03-01 15:22:45 +08:00
Ivan
ea4ca724e3 fix(test): repos resolver 测试用例不通过的问题。 2021-03-01 11:47:04 +08:00
Ivan Li
32102ffefd feat(repos): 添加checkout接口。 2021-02-28 21:51:52 +08:00
Ivan Li
11cf2a6c12 fix(repos): 修复提交日志接口,分支筛选无效的问题。 2021-02-28 02:23:20 +08:00
Ivan Li
2d5763ac02 fix(repos): 查询分支列表接口名称错误的问题。 2021-02-28 02:07:56 +08:00
Ivan Li
3b7c50438f fix(repos): ssh url 校验规则修改,不强制要求仅有用户名时要求追加:分隔。 2021-02-27 22:55:00 +08:00
Ivan
1d8b99fe8e feat(repos): 检出路径添加分支名称或Commit Number。 2021-02-25 18:15:12 +08:00