forked from wangziqi/gongxue-base
chore: gate launch on PNVS diagnostics
This commit is contained in:
@@ -38,6 +38,22 @@ const gateChecks = [
|
||||
commandIncludes: 'smoke:auth:remote',
|
||||
summary: { failed: 0, requireAdminTokens: true },
|
||||
},
|
||||
{
|
||||
id: 'auth.sms-pnvs-diagnostics',
|
||||
label: 'Aliyun PNVS SMS provider diagnostics',
|
||||
commandIncludes: 'diagnose:aliyun-pnvs',
|
||||
summary: {
|
||||
ok: true,
|
||||
'env.providerMatchesPnvs': true,
|
||||
'provider.found': true,
|
||||
'provider.provider': 'aliyun-pnvs',
|
||||
'provider.status': { oneOf: ['active', 'testing'] },
|
||||
'provider.publicConfig.templateParamHasCodePlaceholder': true,
|
||||
'secret.found': true,
|
||||
'secret.accessKeyIdLength': { gt: 0 },
|
||||
'secret.accessKeySecretLength': { gt: 0 },
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'auth.sms-pnvs-remote-smoke',
|
||||
label: 'Remote Aliyun PNVS SMS login smoke',
|
||||
|
||||
Reference in New Issue
Block a user