Skip to content

Commit 030dbf3

Browse files
committed
fix role
1 parent 17edd4c commit 030dbf3

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

publish.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-repack-apk-cap
4-
Version: 0.0.5
4+
Version: 0.0.6
55
Provider:
66
- 阿里云
77
Description: 基于本案例,您可以快捷部署一个弹性高可用的“Serverless实现实时 APK 渠道分包”服务。该方案适用于大规模、多渠道的游戏分发场景,特别是在面临频繁且多变的下载请求时,能够通过系统实时获取并下载包含定制渠道号的游戏 APK 包,确保即使在连接不稳定的情况下也能顺利完成游戏的获取。
@@ -66,3 +66,15 @@ Parameters:
6666
default: get-apk-${default-suffix}
6767
pattern: "^[a-zA-Z_][a-zA-Z0-9-_]{0,127}$"
6868
description: 应用的函数名称, 只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
69+
70+
roleArn:
71+
title: RAM角色ARN
72+
type: string
73+
default: ""
74+
description: "函数计算访问对象存储OSS服务时使用的函数角色"
75+
required: true
76+
x-role:
77+
name: aliyunfcdefaultrole
78+
service: fc
79+
authorities:
80+
- AliyunOSSFullAccess

readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@
103103
104104
![](https://img.alicdn.com/imgextra/i3/O1CN01W8rPnG1R1rVDcK7TN_!!6000000002052-2-tps-2612-854.png)
105105

106+
如果没有强制回源了,参考如下截图
107+
108+
![](https://img.alicdn.com/imgextra/i3/O1CN01uYP7qO1ehcuia7PCo_!!6000000003903-2-tps-1480-462.png)
109+
106110
#### 3. 使用浏览器断点下载指定渠道 apk 包
107111

108112
比如:

src/s.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ resources:
4444
logConfig: auto
4545
vpcConfig: auto
4646
nasConfig: auto
47+
role: '{{ roleArn }}'
4748
triggers:
4849
- qualifier: LATEST
4950
triggerName: defaultTrigger

0 commit comments

Comments
 (0)