Skip to content

Commit

Permalink
Feat: add start-saectl demo (#13)
Browse files Browse the repository at this point in the history
Signed-off-by: songyang.song <[email protected]>

Signed-off-by: songyang.song <[email protected]>
Co-authored-by: songyang.song <[email protected]>
  • Loading branch information
yangsoon and songyang.song authored Jan 12, 2023
1 parent ffcb46b commit faad088
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
35 changes: 35 additions & 0 deletions start-saectl/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Type: Application
Name: start-saectl
Provider:
- 阿里云
Version: 0.0.1
Description: Serverless应用引擎SAE
HomePage: https://github.com/devsapp/start-sae/tree/master/start-saectl
Tags:
- SAE
Category: ""
Service: # 使用的服务
Serverless 应用引擎:
Authorities: #权限描述
- AliyunSAEFullAccess
Parameters:
type: object
additionalProperties: false # 不允许增加其他属性
required: # 必填项
- region
properties:
region:
title: 地域
type: string
default: cn-hangzhou
description: 创建应用所在的地区
enum:
- cn-beijing
- cn-hangzhou
- cn-shanghai
- cn-zhangjiakou
- cn-shenzhen
- cn-guangzhou
- cn-hongkong
- ap-southeast-1
- us-west-1
9 changes: 9 additions & 0 deletions start-saectl/src/s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
edition: 1.0.0 # 命令行YAML规范版本,遵循语义化版本(Semantic Versioning)规范
name: start-saectl # 项目名称
access: "{{ access }}" # 秘钥别名

services:
saectl-test: # 服务名称
component: devsapp/sae # 组件名称
props: # 组件的属性值
region: "{{region}}"
2 changes: 1 addition & 1 deletion update.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
start-sae-java-jar
start-saectl

0 comments on commit faad088

Please sign in to comment.