refactor Deployment message structure in deployment.proto
Build protos / Build Protobufs (pull_request) Successful in 27s
Build protos / Build Protobufs (pull_request) Successful in 27s
This commit is contained in:
1 parent
e21d7f2394
commit
ccac19a1b0
1 file changed
+2
-15
+2
-15
@@ -9,21 +9,8 @@ enum DeploymentAction {
|
||||
CLEANUP = 2;
|
||||
}
|
||||
|
||||
message GlobalEnvironment {
|
||||
string version = 1;
|
||||
map<string, string> variables = 2;
|
||||
}
|
||||
|
||||
message ConfigFile {
|
||||
string path = 1;
|
||||
bytes content = 2;
|
||||
uint32 mode = 3;
|
||||
}
|
||||
|
||||
message Deployment {
|
||||
string id = 1;
|
||||
GlobalEnvironment env = 2;
|
||||
DeploymentAction action = 3;
|
||||
bytes hcl = 4;
|
||||
repeated ConfigFile config_files = 10;
|
||||
DeploymentAction action = 2;
|
||||
bytes hcl = 3;
|
||||
}
|
||||
Reference in new issue
Block a user