Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz1273327 committed Jul 27, 2021
1 parent bc0263d commit 1043a1b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

+ 新增全局flag`not_verify`用于跳过https的验证
+ 子命令`updateservicebywebhook``tokens`参数现在是位置参数
+ 子命令`updateservicebywebhook`现在可以用执行目录下的`update_service_by_webhooks_config.json`文件作为配置
+ 子命令`createorupdatestack``endpoints`参数现在是位置参数
+ 子命令`createorupdatestack`现在可以用执行目录下的`create_or_update_stack_config.json`文件作为配置
+ 子命令`updateserviceinstack``deploy_path`参数参数现在是位置参数
+ 子命令`updateserviceinstack`现在可以用执行目录下的`update_service_in_stack_config.json`文件作为配置

## bug修复

Expand Down
1 change: 1 addition & 0 deletions portainer_deploy_tool/create_or_update_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ class CreateOrUpdateStack(EntryPoint):
default_config_file_paths = [
"./create_or_update_stack_config.json"
]
argparse_noflag = "endpoints"
schema = {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
Expand Down
3 changes: 3 additions & 0 deletions portainer_deploy_tool/update_service_by_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

class UpdateServiceByWebhooks(EntryPoint):
"""利用webhook更新已经存在的service."""
default_config_file_paths = [
"./update_service_by_webhooks_config.json"
]
argparse_noflag = "tokens"
schema = {
"$schema": "http://json-schema.org/draft-07/schema#",
Expand Down
4 changes: 4 additions & 0 deletions portainer_deploy_tool/update_service_in_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@

class UpdateServiceInStack(EntryPoint):
"""更新已经存在的stack."""
default_config_file_paths = [
"./update_service_in_stack_config.json"
]
argparse_noflag = "deploy_path"
schema = {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
Expand Down

0 comments on commit 1043a1b

Please sign in to comment.