释放工具,使树脂中有金丝雀。
resin-release-tool的Python项目详细描述
树脂释放工具
此工具用于在resin.io中设置释放金丝雀
安装
pip install resin-release-tool
在本地生成/运行
你需要诗歌来构建这个项目https://poetry.eustace.io/
poetry install
poetry build
poetry run resin-release-tool
etc..
用法
Usage: resin-release-tool [OPTIONS] COMMAND [ARGS]...
You can set app and token as an environment variable, using RESIN_APP and
RESIN_TOKEN
Options:
--token TOKEN Resin.io auth token [required]
--app APP_ID Resin App name [required]
--help Show this message and exit.
Commands:
disable_rolling Disables rolling releases in the application
enable_rolling Enables rolling releases in the application
info Information of the application
release Sets release and canary commits
releases Show success releases of the application
show_devices_status Enables rolling releases in the application