docs: add platform and runtime fields to example
This commit is contained in:
@@ -15,9 +15,10 @@ hello-world/
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: Hello World
|
name: Hello World
|
||||||
description: 首个 AgentGIS 套件,接收一条消息并在容器中打印
|
description: 首个 AgentGIS 套件,接收一条消息并打印
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
author: SuiteForge
|
author: SuiteForge
|
||||||
|
platform: all
|
||||||
tags: [示例, 入门]
|
tags: [示例, 入门]
|
||||||
|
|
||||||
params:
|
params:
|
||||||
@@ -31,7 +32,7 @@ base_image: gis-base:latest
|
|||||||
steps:
|
steps:
|
||||||
- id: hello
|
- id: hello
|
||||||
name: 打印消息
|
name: 打印消息
|
||||||
type: python
|
runtime: python3
|
||||||
script_id: run
|
script_id: run
|
||||||
params:
|
params:
|
||||||
message: $params.message
|
message: $params.message
|
||||||
|
|||||||
Reference in New Issue
Block a user