Skip to content

Commit adbf321

Browse files
committed
update
1 parent c7192e1 commit adbf321

File tree

6 files changed

+452
-0
lines changed

6 files changed

+452
-0
lines changed

.computenest/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 代码仓库结构
2+
3+
## 文档目录说明:
4+
```
5+
.
6+
├── README.md - README
7+
├── docs - 服务文档相关文件
8+
│ └── index.md
9+
├── resources - 服务资源文件
10+
│ ├── icons
11+
│ │ └── service_logo.png - 服务logo
12+
│ └── artifact_resources - 部署物相关资源文件
13+
├── ros_templates - 服务ROS模板目录,支持多模板
14+
│ └── template.yaml - ROS模板,ROS模板引擎根据该模板会自动创建出所有的资源
15+
├── config.yaml - 服务配置文件,服务构建过程中会使用计算巢命令行工具computenest-cli,computenest-cli会基于该配置文件构建服务
16+
├── preset_parameters.yaml - (该文件只有托管版有)服务商预设参数,如VpcId,VSwitchId等,该ros模板内容会渲染为表单方便服务商填写
17+
```
18+
19+
## 其他
20+
关于ROS模板,请参见 [资源编排](https://help.aliyun.com/zh/ros)
21+
关于computenest-cli请参见 [computenest-cli](https://pypi.org/project/computenest-cli/)

.computenest/config.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
Service:
2+
DeployType: ros
3+
DeployMetadata:
4+
SupplierDeployMetadata:
5+
SupplierTemplateConfigs:
6+
- Name: 选择ECS实例(Linux)
7+
Url: ros_templates/template-select-ecs.yaml
8+
PredefinedParameters: []
9+
- Name: 新建ECS实例
10+
Url: ros_templates/template-create-ecs.yaml
11+
PredefinedParameters: []
12+
TemplateConfigs:
13+
- Name: 选择ECS实例(Linux)
14+
Url: ros_templates/template-select-ecs.yaml
15+
PredefinedParameters: []
16+
DeployScene: ECS
17+
- Name: 新建ECS实例
18+
Url: ros_templates/template-create-ecs.yaml
19+
PredefinedParameters: []
20+
DeployScene: ECS
21+
NetworkMetadata:
22+
EnablePrivateVpcConnection: false
23+
EnableReversePrivateVpcConnection: false
24+
ServiceInstanceNameRule:
25+
Prefix: Golang-
26+
UseDefaultValue: false
27+
OperationMetadata:
28+
SupportBackup: false
29+
PrometheusConfigMap:
30+
选择ECS实例(Linux):
31+
EnablePrometheus: false
32+
新建ECS实例:
33+
EnablePrometheus: false
34+
ServiceType: private
35+
ServiceInfo:
36+
- Agreements: []
37+
Image: resources/icons/service_logo.png
38+
Locale: zh-CN
39+
Name: Golang运行环境
40+
ShortDescription: Qoder CLI 内置了 Grep、Read、Write 和 Bash 等工具,可用于文件/目录操作与执行 shell 命令。
41+
Softwares: []
42+
- Agreements: []
43+
Image: resources/icons/service_logo.png
44+
Locale: en-US
45+
Name: Golang Runtime Environment
46+
ShortDescription: Qoder CLI includes built-in tools such as Grep, Read, Write, and Bash, which can be used for file...
47+
Softwares: []
48+
ShareType: Public
49+
ApprovalType: Manual
50+
Artifact: {}
2.28 KB
Loading

0 commit comments

Comments
 (0)