Skip to content

Commit

Permalink
Merge pull request #40 from devsapp/slim
Browse files Browse the repository at this point in the history
slim repo
  • Loading branch information
rsonghuster authored Apr 12, 2022
2 parents c1e0be5 + 2b1b97e commit fbd375f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ obj
bin
Nuget*
.idea
node-v12.16.1-linux-x64*
node-v12.16.1-linux-x64*
nginx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-golang-websocket
Provider:
- 阿里云
Version: 0.0.8
Version: 0.0.9
Description: 快速部署一个基于custom runtime 的 Golang WebSocket 类型的 Echo 函数到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion custom-function/lua/fc-custom-lua-event/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-lua-event
Provider:
- 阿里云
Version: 1.1.14
Version: 1.1.15
Description: 快速部署一个基于custom runtime 的 Lua Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Binary file not shown.
4 changes: 3 additions & 1 deletion custom-function/lua/fc-custom-lua-event/src/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ services:
component: fc # 组件名称,Serverless Devs 工具本身类似于一种游戏机,不具备具体的业务能力,组件类似于游戏卡,用户通过向游戏机中插入不同的游戏卡实现不同的功能,即通过使用不同的组件实现不同的具体业务能力
actions: # 自定义执行逻辑,关于actions 的使用,可以参考:https://www.serverless-devs.com/serverless-devs/yaml#行为描述
pre-deploy: # 在deploy之前运行
- component: fc build --use-docker # 要运行的组件,格式为【component: 组件名 命令 参数】(可以通过s cli registry search --type Component 获取组件列表)
- run: if [ ! -f "nginx" ]; then wget https://images.devsapp.cn/bin/nginx; fi
path: ./code
# - component: fc build --use-docker # 要运行的组件,格式为【component: 组件名 命令 参数】(可以通过s cli registry search --type Component 获取组件列表)
# - run: docker build xxx # 要执行的系统命令,类似于一种钩子的形式
# path: ./src # 执行系统命令/钩子的路径
# - plugin: myplugin # 与运行的插件 (可以通过s cli registry search --type Plugin 获取组件列表)
Expand Down
4 changes: 3 additions & 1 deletion custom-function/lua/fc-custom-lua-event/src/s_en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ services:
component: fc # The name of the component. The Serverless Devs tool itself is similar to a game console and does not have specific business capabilities. The component is similar to a game card. Users can achieve different functions by inserting different game cards into the game console, that is, by using Different components implement different specific business capabilities
actions: # Customize execution logic. For the use of actions, please refer to: https://www.serverless-devs.com/serverless-devs/yaml#Behavior description
pre-deploy: # run before deploy
- component: fc build --use-docker # The component to run, the format is [component: component name command parameter] (you can get the component list through s cli registry search --type Component)
- run: if [ ! -f "nginx" ]; then wget https://images.devsapp.cn/bin/nginx; fi
path: ./code
# - component: fc build --use-docker # The component to run, the format is [component: component name command parameter] (you can get the component list through s cli registry search --type Component)
# - run: docker build xxx # System command to execute, similar to a hook
# path: ./src # The path to execute system commands/hooks
# - plugin: myplugin # and running plugins (you can get a list of components via s cli registry search --type Plugin)
Expand Down
3 changes: 2 additions & 1 deletion update.list
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
event-function/fc-event-java8
custom-function/lua/fc-custom-lua-event
custom-function/golang/fc-custom-golang-websocket

0 comments on commit fbd375f

Please sign in to comment.