perf: 用户创建证书流水线没有购买套餐或者超限时提前报错

This commit is contained in:
xiaojunnuo
2024-12-25 23:20:07 +08:00
parent f5ec9870fd
commit 472f06c2d1
13 changed files with 108 additions and 24 deletions
@@ -146,6 +146,10 @@ export class RunnableCollection {
static initPipelineRunnableType(pipeline: Pipeline) {
pipeline.runnableType = "pipeline";
if (pipeline.stages === undefined) {
pipeline.stages = [];
return;
}
pipeline.stages.forEach((stage) => {
stage.runnableType = "stage";
stage.tasks.forEach((task) => {