mirror of https://github.com/certd/certd
perf: 支持阿里云ACK证书部署
parent
9de77b327d
commit
d331fea477
|
@ -46,6 +46,7 @@ export type Stage = Runnable & {
|
||||||
tasks: Task[];
|
tasks: Task[];
|
||||||
concurrency: ConcurrencyStrategy;
|
concurrency: ConcurrencyStrategy;
|
||||||
next: NextStrategy;
|
next: NextStrategy;
|
||||||
|
maxTaskCount?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Trigger = {
|
export type Trigger = {
|
||||||
|
|
|
@ -83,7 +83,8 @@ export default function (certPluginGroup: PluginGroup, formWrapperRef: any): Cre
|
||||||
vModel: "modelValue",
|
vModel: "modelValue",
|
||||||
placeholder: "0 0 4 * * *"
|
placeholder: "0 0 4 * * *"
|
||||||
},
|
},
|
||||||
helper: "点击上面的按钮,选择每天几点几分定时执行, 例如:0 0 4 * * *,每天凌晨4点0分0秒触发\n建议设置为每天触发一次,证书未到期之前任务会跳过,不会重复执行",
|
helper:
|
||||||
|
"点击上面的按钮,选择每天几点几分定时执行, 例如:0 0 4 * * *,每天凌晨4点0分0秒触发\n建议设置为每天触发一次,证书未到期之前任务会跳过,不会重复执行",
|
||||||
order: 100
|
order: 100
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -113,6 +113,7 @@ export default function ({ crudExpose, context: { certdFormRef } }: CreateCrudOp
|
||||||
stages: [
|
stages: [
|
||||||
{
|
{
|
||||||
title: "证书申请阶段",
|
title: "证书申请阶段",
|
||||||
|
maxTaskCount: 1,
|
||||||
tasks: [
|
tasks: [
|
||||||
{
|
{
|
||||||
title: "证书申请任务",
|
title: "证书申请任务",
|
||||||
|
|
|
@ -123,7 +123,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template #footer>
|
<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="line line-left">
|
||||||
<div class="flow-line"></div>
|
<div class="flow-line"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue