Commit Graph

92 Commits

Author SHA1 Message Date
6b9f846154 feat: 为 pipeline 添加运行环境,并用于配置文件的发布。 2021-10-20 22:48:08 +08:00
3ba8fc9759 feat: add configuration-center module. 2021-10-16 10:54:35 +08:00
d5f49531e9 feat: register service to api gateway. 2021-09-25 20:38:54 +08:00
0f1466bf91 feat: built in pm2 2021-09-08 23:04:11 +08:00
Ivan Li
ed71d83581 chore: clean code. 2021-07-24 16:57:01 +08:00
Ivan Li
1b469e34f9 feat: 使用单独目录部署。 2021-07-22 20:48:30 +08:00
Ivan Li
c86772a5dd bak 2021-07-20 22:30:00 +08:00
Ivan Li
ab4ef36bf8 feat: 支持 Subscription 鉴权。 2021-07-20 20:37:46 +08:00
Ivan Li
0a03bcd36e feat: 使用 @nestjs-lib/auth 鉴权。 2021-07-18 22:40:33 +08:00
Ivan Li
ec351d12f2 fix(pipelines): 任务脚本不得为空 2021-07-10 18:50:01 +08:00
Ivan Li
c3c73fbe65 fix(account middleware): 使用了未定义的变量。 2021-07-10 17:37:21 +08:00
Ivan
02059ee54f feat: 使用中间件 从 jwt 中获取用户信息 2021-07-09 18:20:36 +08:00
Ivan
5ed17cc04b test: 完善测试用例 2021-07-09 10:17:16 +08:00
Ivan
256878890b fix(projects): required id when create project 2021-07-06 15:57:03 +08:00
Ivan Li
a231a02c28 feat: 修改项目后自动删除项目工作区相关目录 2021-06-27 19:35:49 +08:00
Ivan Li
7e17de0f15 feat(repos): 获取 commit logs 时,允许返回错误信息给调用方。 2021-06-27 10:33:32 +08:00
Ivan Li
9d735c582c fix(pipelines): 更新时重复判断时误判问题。 2021-06-27 10:32:39 +08:00
Ivan Li
b626eed859 fix(pipeline-tasks): lost unit logs. 2021-06-20 20:30:14 +08:00
Ivan Li
5b5a657651 feat(pipeline-tasks): 强制停止任务接口。 2021-06-20 15:41:16 +08:00
Ivan Li
a510f411a7 feat(pipeline-tasks): 在数据库中保存任务执行者所在实例。 2021-06-20 10:52:12 +08:00
Ivan Li
246623b5db feat: 任务状态改变时,自动更新数据库。 2021-06-20 10:39:53 +08:00
Ivan Li
133439bb49 feat: 任务完成后更新数据库中的数据。 2021-06-20 00:06:09 +08:00
Ivan
0c3310d3a5 feat(pipeline-task):通过任务完成消息更新数据库中的任务信息。 2021-06-08 14:52:10 +08:00
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
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
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