perf: 部署到阿里云任意云资源,阿里云部署大杀器

pull/229/head
xiaojunnuo 2024-10-24 17:50:42 +08:00
parent 98ef9aa479
commit 4075be7849
4 changed files with 6 additions and 4 deletions

View File

@ -26,3 +26,6 @@
padding-inline:revert;
}
.fs-form-wrapper .fs-form-header {
padding-right: 30px;
}

View File

@ -92,7 +92,7 @@ export class UploadCertToAliyun extends AbstractTaskPlugin {
accessKeyId: aliyunProvider.accessKeyId,
accessKeySecret: aliyunProvider.accessKeySecret,
endpoint: 'https://cas.aliyuncs.com',
apiVersion: '2018-07-13',
apiVersion: '2020-04-07',
});
return client;
}

View File

@ -1,7 +1,6 @@
import { TencentAccess } from '@certd/plugin-plus';
import { CertInfo } from '@certd/plugin-cert';
import { ILogger } from '@certd/pipeline';
import sdk from 'tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js';
export class TencentSslClient {
access: TencentAccess;
logger: ILogger;
@ -12,7 +11,7 @@ export class TencentSslClient {
this.region = opts.region;
}
async getSslClient(): Promise<any> {
// const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
const sdk = await import('tencentcloud-sdk-nodejs/tencentcloud/services/ssl/v20191205/index.js');
const SslClient = sdk.v20191205.Client;
const clientConfig = {

View File

@ -9,7 +9,7 @@ import { TencentSslClient } from '../../lib/index.js';
needPlus: true,
icon: 'svg:icon-tencentcloud',
group: pluginGroups.tencent.key,
desc: '部署到腾讯云COS源站域名证书',
desc: '部署到腾讯云COS源站域名证书【注意:很不稳定,需要重试很多次偶尔才能成功一次】',
default: {
strategy: {
runStrategy: RunStrategy.SkipWhenSucceed,