No project description provided
Project description
portainer_deploy_tool
使用portainer部署更新服务的工具
使用
本工具提供pip安装pip install portainer_deploy_tool
以及docker镜像hsz1273327/portainer_deploy_tool
docker镜像中已经申明了ENTRYPOINT [ "python","-m", "portainer_deploy_tool"]
支持3个子命令:
-
updateserviceinstack
用于更新某个服务对应的镜像后根据指定的路径更新stack -
updateservicebywebhooks
用于在portainer上激活webhook后通过调用webhook更新服务 -
createorupdatestack
用于根据目录下的指定后缀的文件来创建或者更新stack配置.
具体参数及含义可以用-h
命令查看
0.0.1
项目创建 MIT License
Copyright (c) 2021 Python-Tools
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file portainer_deploy_tool-0.0.1.tar.gz
.
File metadata
- Download URL: portainer_deploy_tool-0.0.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7c7010da4cd42254cdb5477f4617fbaa6382abe07b57170ec6209322ee3d7b |
|
MD5 | 348ce782c9fa9e30620f604703717308 |
|
BLAKE2b-256 | c14aec02575660142dd3133ef1c9a34766a55eeafdb1e6198748aad943c02af6 |
File details
Details for the file portainer_deploy_tool-0.0.1-py3.9.egg
.
File metadata
- Download URL: portainer_deploy_tool-0.0.1-py3.9.egg
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a3a842198eac081370e29c3ec4680f94f316ed179761f12314fef6a6d40b896 |
|
MD5 | 2e22c1d4ef77795b1f37cca9cc41f422 |
|
BLAKE2b-256 | a11df27263938e85c9fc2f731777fb8cb46d52425000df694b5464a77fe67a9a |
File details
Details for the file portainer_deploy_tool-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: portainer_deploy_tool-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 271440273672704dad094bfcba162cc5bb36478f3dc293682d76a9ca0cca8a44 |
|
MD5 | b6f59e44d6f3352a0f7d357d814bb5ec |
|
BLAKE2b-256 | 0e2a30ad90c91c10c1482bb481106f6f96ae254d4ec37ffbc8fbb1687e29751c |