Commit Graph

72 Commits

Author SHA1 Message Date
Ivan Li
ead32a1204 feat(pipeline-task): flush service. 2021-06-06 22:21:03 +08:00
Ivan Li
20612d4301 feat(pipeline-task): add pipelineTaskEvent api. 2021-06-06 08:40:25 +08:00
Ivan Li
7091f9df6a feat(pipeline-task): logger. 2021-06-05 19:11:39 +08:00
Ivan Li
3ee41ece67 refactor(pipeline, repo): rabbitmq 2021-05-30 22:42:20 +08:00
Ivan Li
b3a2b11db9 refactor(pipeline-tasks-runner): rabbitmq 2021-05-23 17:51:54 +08:00
Ivan Li
4041a6fd2a feat(pipelines): add commits query api. 2021-05-09 16:54:59 +08:00
Ivan Li
5a8b699e2f feat(pipelines): normalization name. 2021-05-07 20:49:35 +08:00
Ivan Li
86c8bce9ea feat(projects): normalization name. 2021-05-04 21:05:20 +08:00
Ivan Li
246c0bd8f8 fix(pipeline-tasks): 修复日志有概率丢失最后几条的问题
日志记录结束前,任务信息已入库存档。
2021-04-06 22:54:51 +08:00
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