perf: 支持阿里云ACK证书部署

pull/189/head
xiaojunnuo 2024-09-20 12:34:41 +08:00
parent 9de77b327d
commit d331fea477
4 changed files with 5 additions and 2 deletions

View File

@ -46,6 +46,7 @@ export type Stage = Runnable & {
tasks: Task[];
concurrency: ConcurrencyStrategy;
next: NextStrategy;
maxTaskCount?: number;
};
export type Trigger = {

View File

@ -83,7 +83,8 @@ export default function (certPluginGroup: PluginGroup, formWrapperRef: any): Cre
vModel: "modelValue",
placeholder: "0 0 4 * * *"
},
helper: "点击上面的按钮,选择每天几点几分定时执行, 例如0 0 4 * * *每天凌晨4点0分0秒触发\n建议设置为每天触发一次证书未到期之前任务会跳过不会重复执行",
helper:
"点击上面的按钮,选择每天几点几分定时执行, 例如0 0 4 * * *每天凌晨4点0分0秒触发\n建议设置为每天触发一次证书未到期之前任务会跳过不会重复执行",
order: 100
}
},

View File

@ -113,6 +113,7 @@ export default function ({ crudExpose, context: { certdFormRef } }: CreateCrudOp
stages: [
{
title: "证书申请阶段",
maxTaskCount: 1,
tasks: [
{
title: "证书申请任务",

View File

@ -123,7 +123,7 @@
</div>
</template>
<template #footer>
<div v-if="editMode" class="task-container is-add">
<div v-if="editMode && !(stage.maxTaskCount > 0 && stage.tasks.length >= stage.maxTaskCount)" class="task-container is-add">
<div class="line line-left">
<div class="flow-line"></div>
</div>