mirror of
https://github.com/certd/certd.git
synced 2026-04-15 05:00:52 +08:00
refactor: huawei
This commit is contained in:
@@ -7,7 +7,7 @@ function generateId() {
|
||||
}
|
||||
export const pipeline: Pipeline = {
|
||||
version: 1,
|
||||
id: generateId(),
|
||||
id: "3",
|
||||
title: "华为管道测试",
|
||||
userId: 1,
|
||||
triggers: [],
|
||||
@@ -27,10 +27,13 @@ export const pipeline: Pipeline = {
|
||||
title: "申请证书",
|
||||
type: "CertApply",
|
||||
input: {
|
||||
domains: ["*.powerleader.chat"],
|
||||
domains: ["powerleader.chat", "*.powerleader.chat", "*.test.powerleader.chat", "*.ai.powerleader.chat"],
|
||||
email: "xiaojunnuo@qq.com",
|
||||
dnsProviderType: "huawei",
|
||||
accessId: "111",
|
||||
accessId: "333",
|
||||
},
|
||||
strategy: {
|
||||
runStrategy: RunStrategy.SkipWhenSucceed,
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -13,7 +13,7 @@ describe("pipeline-hauwei-test", function () {
|
||||
}
|
||||
|
||||
const executor = new Executor({ userId: "test", pipeline, onChanged, accessService: new AccessServiceTest(), storage: new FileStorage() });
|
||||
await executor.run(1, "user");
|
||||
await executor.run(2, "user");
|
||||
// expect(define.name).eq("EchoPlugin");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user