File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,6 +156,10 @@ s deploy --trigger -t s2.yaml
156156s deploy --async-invoke-config -t s2.yaml
157157s info -t s2.yaml
158158s remove -y -t s2.yaml
159+
160+ echo " test layer code support http"
161+ s layer publish --layer-name test --code https://images.devsapp.cn/bin/supergateway --compatible-runtime custom.debian12
162+ s layer remove --layer-name test
159163cd ..
160164
161165echo " ********* test scaling config *********"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Type: Component
33Name : fc3
44Provider :
55 - 阿里云
6- Version : 0.1.17
6+ Version : 0.1.18
77Description : 阿里云函数计算全生命周期管理
88HomePage : https://github.com/devsapp/fc3
99Organization : 阿里云函数计算(FC)
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ export async function _downloadFromUrl(url: string): Promise<string> {
341341 logger . debug ( `Downloaded file to: ${ downloadPath } ` ) ;
342342
343343 // 返回下载文件路径,由主流程决定是否需要压缩
344- return downloadPath ;
344+ return downloadPath . endsWith ( '.zip' ) ? downloadPath : ` ${ downloadPath } .zip` ;
345345 } catch ( error ) {
346346 // 如果下载失败,清理临时目录
347347 try {
You can’t perform that action at this time.
0 commit comments