feat(pipeline-task): 流水线任务日志订阅接口。

This commit is contained in:
Ivan Li
2021-03-15 13:30:52 +08:00
parent aa92c518f0
commit 4e7c825170
12 changed files with 15803 additions and 23 deletions

View File

@ -36,6 +36,10 @@ export class PipelineTasksService {
return task;
}
async findTaskById(id: string) {
return await this.repository.findOneOrFail({ id });
}
async doNextTask(pipeline: Pipeline) {
const [lckKey, tasksKey] = this.getRedisTokens(pipeline);
const redis = this.redis.getClient();