From 9e7f374d4d19542a112fe4f860836d3fed779579 Mon Sep 17 00:00:00 2001 From: "songyang.song" Date: Thu, 12 Jan 2023 13:55:50 +0800 Subject: [PATCH] Feat: add start-saectl demo Signed-off-by: songyang.song --- start-saectl/publish.yaml | 35 +++++++++++++++++++++++++++++++++++ start-saectl/src/s.yaml | 9 +++++++++ update.list | 2 +- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 start-saectl/publish.yaml create mode 100644 start-saectl/src/s.yaml diff --git a/start-saectl/publish.yaml b/start-saectl/publish.yaml new file mode 100644 index 0000000..51341e8 --- /dev/null +++ b/start-saectl/publish.yaml @@ -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 diff --git a/start-saectl/src/s.yaml b/start-saectl/src/s.yaml new file mode 100644 index 0000000..bf321f2 --- /dev/null +++ b/start-saectl/src/s.yaml @@ -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}}" diff --git a/update.list b/update.list index 58db59e..f1c6070 100644 --- a/update.list +++ b/update.list @@ -1 +1 @@ -start-sae-java-jar +start-saectl