orion-spec
GMod
Usage: ds-mod <COMMAND>
Commands:
example
new define new module spec eg: ds-mod def new --name mod_name
update module spec update ref,depends
localize localize modules spec
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
├── _gal
│ ├── adm.gxl
│ └── work.gxl
├── mod
│ ├── arm-mac14-host
│ │ ├── _gal
│ │ │ └── work.gxl
│ │ ├── spec
│ │ │ ├── artifact.yml
│ │ │ ├── depends.yml
│ │ │ ├── logs.yml
│ │ │ └── res.yml
│ │ ├── values
│ │ │ └── value.yml
│ │ ├── vars.yml
│ │ └── workflows
│ │ ├── setup.gxl
│ │ └── update.gxl
│ └── x86-ubt22-k8s
│ ├── _gal
│ │ └── work.gxl
│ ├── spec
│ │ ├── artifact.yml
│ │ ├── depends.yml
│ │ ├── logs.yml
│ │ └── res.yml
│ ├── values
│ │ └── value.yml
│ ├── vars.yml
│ └── workflows
│ ├── setup.gxl
│ └── update.gxl
├── mod_prj.yml
└── version.txt
setting.yml
localize:
templatize_path:
excludes:
- spec/confs/templates
templatize_cust:
label_beg: '[['
label_end: ']]'
templatize_path
- includes : 包含的目录, 默认为spec目录
- excludes : 排除的目录
templatize_cust
- label_beg : 模板标签开始, 默认为'{{'
- label_end : 模板标签结束, 默认为'}}'
Usage: ds-sys <COMMAND>
Commands:
new
update
localize
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
mod-list
- name: fluent-bit
addr:
repo: git@github...
branch: master
node: arm-mac14-host
enable: true
- name: gflow
addr:
repo: git@github...
tag: 0.5.0
node: arm-mac14-host
enable: true
- name: ds-mod
addr:
repo: git@github...
branch : main
node: arm-mac14-host
enable: true
Changelog
0.7.4
- 调整 values 生成的文件
- localize --default_value 改为 --no_cust_value
- 修复地址支持环境变量BUG
0.7.3
- 修复 update -f 3 指令
- 增加 localize --default_value , 使用MOD默认值本地化
- 地址(GitAddr, HttpAddr, LocalAddr) 支持环境变量
0.7.2
- localize 指定数值文件
- 数值文件支持环境变量
Usage: ds-mod localize [OPTIONS]
Options:
-d, --debug <DEBUG> [default: 0]
--log <LOG> config log ; eg: --log cmd=debug,parse=info
--value <VALUE> use vlaue file; eg: --value cicd_value.yml
-h, --help Print help