Skip to content

Commit faad088

Browse files
yangsoonsongyang.song
andauthored
Feat: add start-saectl demo (#13)
Signed-off-by: songyang.song <songyang.song@alibaba-inc.com> Signed-off-by: songyang.song <songyang.song@alibaba-inc.com> Co-authored-by: songyang.song <songyang.song@alibaba-inc.com>
1 parent ffcb46b commit faad088

3 files changed

Lines changed: 45 additions & 1 deletion

File tree

start-saectl/publish.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Type: Application
2+
Name: start-saectl
3+
Provider:
4+
- 阿里云
5+
Version: 0.0.1
6+
Description: Serverless应用引擎SAE
7+
HomePage: https://github.com/devsapp/start-sae/tree/master/start-saectl
8+
Tags:
9+
- SAE
10+
Category: ""
11+
Service: # 使用的服务
12+
Serverless 应用引擎:
13+
Authorities: #权限描述
14+
- AliyunSAEFullAccess
15+
Parameters:
16+
type: object
17+
additionalProperties: false # 不允许增加其他属性
18+
required: # 必填项
19+
- region
20+
properties:
21+
region:
22+
title: 地域
23+
type: string
24+
default: cn-hangzhou
25+
description: 创建应用所在的地区
26+
enum:
27+
- cn-beijing
28+
- cn-hangzhou
29+
- cn-shanghai
30+
- cn-zhangjiakou
31+
- cn-shenzhen
32+
- cn-guangzhou
33+
- cn-hongkong
34+
- ap-southeast-1
35+
- us-west-1

start-saectl/src/s.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
edition: 1.0.0 # 命令行YAML规范版本,遵循语义化版本(Semantic Versioning)规范
2+
name: start-saectl # 项目名称
3+
access: "{{ access }}" # 秘钥别名
4+
5+
services:
6+
saectl-test: # 服务名称
7+
component: devsapp/sae # 组件名称
8+
props: # 组件的属性值
9+
region: "{{region}}"

update.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
start-sae-java-jar
1+
start-saectl

0 commit comments

Comments
 (0)