add simple-ypk-packer

This commit is contained in:
CaiHQ
2022-05-26 15:33:04 +08:00
parent e1e8a393c5
commit 9eb1102a66
28 changed files with 756 additions and 50 deletions

View File

@@ -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",