Skip to content

Commit

Permalink
Merge pull request #28 from devsapp/gwh/dipper
Browse files Browse the repository at this point in the history
fix:Inspect template readme and publish
  • Loading branch information
rsonghuster authored Sep 14, 2024
2 parents b6b1fc0 + 87556ca commit 2cd34c8
Show file tree
Hide file tree
Showing 13 changed files with 490 additions and 128 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/registry-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
auto-publish:
runs-on: ubuntu-latest
steps:
- run: git config --global core.symlinks false
shell: bash
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
Expand Down
7 changes: 5 additions & 2 deletions ffmpeg-app/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Edition: 3.0.0
Type: Project
Name: ffmpeg-app-dipper
Version: 0.0.2
Name: ffmpeg-app-cap
Version: 0.0.3
Provider:
- 阿里云
Description: 基于FFmpeg的音视频处理应用, 包括获取音视频元信息、获取音视频时长、音频转换、雪碧图生成、生成 GIF、打水印等多个模块。
Expand All @@ -19,6 +19,9 @@ Service:
函数计算:
Authorities:
- AliyunFCFullAccess
日志服务:
Authorities:
- AliyunFCServerlessDevsRolePolicy
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
Expand Down
280 changes: 279 additions & 1 deletion ffmpeg-app/readme.md
33 changes: 5 additions & 28 deletions ffmpeg-app/src/readme.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@

> 注:当前项目为 Serverless Devs 应用,由于应用中会存在需要初始化才可运行的变量(例如应用部署地区、函数名等等),所以**不推荐**直接 Clone 本仓库到本地进行部署或直接复制 s.yaml 使用,**强烈推荐**通过 `s init ${模版名称}` 的方法或应用中心进行初始化,详情可参考[部署 & 体验](#部署--体验)
# ffmpeg-app-dipper 帮助文档
# ffmpeg-app-cap 帮助文档

<description>

基于FFmpeg的音视频处理应用, 包括获取音视频元信息、获取音视频时长、音频转换、雪碧图生成、生成 GIF、打水印等多个模块。

</description>

<codeUrl>

</codeUrl>
<preview>



</preview>


## 前期准备

Expand All @@ -30,6 +21,7 @@
| 服务/业务 | 权限 | 相关文档 |
| --- | --- | --- |
| 函数计算 | AliyunFCFullAccess | [帮助文档](https://help.aliyun.com/product/2508973.html) [计费文档](https://help.aliyun.com/document_detail/2512928.html) |
| 日志服务 | AliyunFCServerlessDevsRolePolicy | [帮助文档](https://help.aliyun.com/zh/sls) [计费文档](https://help.aliyun.com/zh/sls/product-overview/billing) |

</service>

Expand All @@ -49,11 +41,12 @@

<appcenter>

:fire: 通过 [Dipper 应用中心](https://devs.console.aliyun.com/applications/createtemplate=ffmpeg-app-dipper)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/createtemplate=ffmpeg-app-dipper) 该应用。
- :fire: 通过 [云原生应用开发平台 CAP](https://devs.console.aliyun.com/applications/create?template=ffmpeg-app-cap)[![Deploy with Severless Devs](https://img.alicdn.com/imgextra/i1/O1CN01w5RFbX1v45s8TIXPz_!!6000000006118-55-tps-95-28.svg)](https://devs.console.aliyun.com/applications/create?template=ffmpeg-app-cap) 该应用。

</appcenter>
<deploy>



</deploy>

## 案例介绍
Expand Down Expand Up @@ -284,19 +277,3 @@ video 转为 gif

<matters id="flushContent">
</matters>


<devgroup>


## 开发者社区

您如果有关于错误的反馈或者未来的期待,您可以在 [Serverless Devs repo Issues](https://github.com/serverless-devs/serverless-devs/issues) 中进行反馈和交流。如果您想要加入我们的讨论组或者了解 FC 组件的最新动态,您可以通过以下渠道进行:

<p align="center">

| <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407298906_20211028074819117230.png" width="130px" > | <img src="https://serverless-article-picture.oss-cn-hangzhou.aliyuncs.com/1635407044136_20211028074404326599.png" width="130px" > | <img src="https://images.devsapp.cn/fc-faq/33947367.png" width="130px" > |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| <center>微信公众号:`serverless`</center> | <center>微信小助手:`xiaojiangwh`</center> | <center>钉钉交流群:`33947367`</center> |
</p>
</devgroup>
Loading

0 comments on commit 2cd34c8

Please sign in to comment.