diff --git a/packages/plugins/src/tencent/deploy-to-cdn/index.js b/packages/plugins/src/tencent/deploy-to-cdn/index.js index 9db042ce..9fdc6e85 100644 --- a/packages/plugins/src/tencent/deploy-to-cdn/index.js +++ b/packages/plugins/src/tencent/deploy-to-cdn/index.js @@ -52,14 +52,14 @@ export class DeployCertToTencentCDN extends AbstractTencentPlugin { } } - async execute ({ cert, props, context }) { + async execute ({ cert, props, context }) { const accessProvider = this.getAccessProvider(props.accessProvider) const client = this.getClient(accessProvider) const params = this.buildParams(props, context, cert) await this.doRequest(client, params) } - async rollback ({ cert, props, context }) { + async rollback ({ cert, props, context }) { } @@ -85,7 +85,7 @@ export class DeployCertToTencentCDN extends AbstractTencentPlugin { buildParams (props, context, cert) { const { domainName, from } = props const { tencentCertId } = context - + this.logger.info('部署腾讯云证书ID:', tencentCertId) const params = { Https: { Switch: 'on', diff --git a/packages/plugins/src/tencent/deploy-to-clb/index.js b/packages/plugins/src/tencent/deploy-to-clb/index.js index cb42a84a..b0c93df4 100644 --- a/packages/plugins/src/tencent/deploy-to-clb/index.js +++ b/packages/plugins/src/tencent/deploy-to-clb/index.js @@ -128,7 +128,7 @@ export class DeployCertToTencentCLB extends AbstractTencentPlugin { buildProps (props, context, cert) { const { certName } = props const { tencentCertId } = context - + this.logger.info('部署腾讯云证书ID:', tencentCertId) const params = { Certificate: { SSLMode: 'UNIDIRECTIONAL', // 单向认证 diff --git a/packages/plugins/src/tencent/deploy-to-tke-ingress/index.js b/packages/plugins/src/tencent/deploy-to-tke-ingress/index.js index d339b75a..66b1a288 100644 --- a/packages/plugins/src/tencent/deploy-to-tke-ingress/index.js +++ b/packages/plugins/src/tencent/deploy-to-tke-ingress/index.js @@ -123,6 +123,7 @@ export class DeployCertToTencentTKEIngress extends AbstractTencentPlugin { if (tencentCertId == null) { throw new Error('请先将【上传证书到腾讯云】作为前置任务') } + this.logger.info('腾讯云证书ID:', tencentCertId) const certIdBase64 = Buffer.from(tencentCertId).toString('base64') const { namespace, secretName } = props