File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Type: Application
22Name : cdn-backup-origin
33Provider :
44 - 阿里云
5- Version : 0.1.0
5+ Version : 0.1.1
66Description : 快速部署CDN备份源站项目到函数计算
77HomePage : https://github.com/devsapp/cdn-backup-origin
88Tags :
@@ -51,7 +51,7 @@ Parameters:
5151 title : 服务角色
5252 type : string
5353 default : ' '
54- description : 函数执行时所扮演的角色
54+ description : 函数执行时所扮演的角色,不指定则默认使用fcdefaultrole
5555 x-role :
5656 type : object
5757 name : cdnbackuprole
@@ -83,13 +83,8 @@ Parameters:
8383 warmupDomain :
8484 title : 预热域名
8585 type : string
86- description : 抓取源站并预热到CDN节点
87- default : ' unknown'
88- # maxFetchLevel:
89- # title: 最大抓取层级
90- # type: number
91- # default: 0
92- # description: 最大抓取层级
86+ description : 抓取源站并预热到CDN节点,不指定则不进行预热
87+ default : ' '
9388 cronExpression :
9489 title : 定时触发时间
9590 type : string
Original file line number Diff line number Diff line change 77 environmentVariables :
88 ORIGIN : ' {{ origin }}'
99 BACKUP_ORIGIN : ' {{ backupOrigin }}'
10+ {{if warmupDomain !== ''}}
1011 WARMUP_DOMAIN : ' {{ warmupDomain }}'
12+ {{/if}}
1113 service :
1214 name : ' {{ serviceName }}'
1315 internetAccess : true
You can’t perform that action at this time.
0 commit comments