mirror of
https://gitee.com/BDWare/ypk-deploy-tool
synced 2026-02-14 16:09:26 +00:00
add simple-ypk-packer
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.4.0"
|
||||
classpath "org.bdware.bdcontract:ypk-deploy-tool:0.5.0"
|
||||
}
|
||||
}
|
||||
//....
|
||||
@@ -20,9 +20,7 @@ task deploy(dependsOn: ["xxx"]) {
|
||||
2) 配置`./xxx/deployconfig.json`文件。
|
||||
参数说明:
|
||||
|
||||
`host`为运行了bdagent的服务端的ip
|
||||
|
||||
`agentPort`为端口。
|
||||
`agentAddress`为运行了bdagent的服务端的ip:port
|
||||
|
||||
`privateKey/publicKey`为有部署权限的一组SM2KeyPair
|
||||
|
||||
@@ -31,8 +29,7 @@ task deploy(dependsOn: ["xxx"]) {
|
||||
`deployconfig.json`配置示例:
|
||||
```json
|
||||
{
|
||||
"host": "192.168.x.x",
|
||||
"agentPort": 18000,
|
||||
"agentAddress": "192.168.x.x:18000",
|
||||
"privateKey": "5895c18430dd...",
|
||||
"publicKey": "04d1924329f72ced14...",
|
||||
"ypkPath": "/path/to/todeploy.ypk",
|
||||
|
||||
Reference in New Issue
Block a user