Skip to content

Commit 7c8b314

Browse files
feat(remotebuildexecution): update the api
#### remotebuildexecution:v1 The following keys were added: - schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats (Total Keys: 14) #### remotebuildexecution:v1alpha The following keys were added: - schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats (Total Keys: 14) #### remotebuildexecution:v2 The following keys were added: - schemas.GoogleDevtoolsRemotebuildbotResourceUsage.properties.totalDiskIoStats.$ref (Total Keys: 1) - schemas.GoogleDevtoolsRemotebuildbotResourceUsageIOStats (Total Keys: 14)
1 parent 5228389 commit 7c8b314

File tree

3 files changed

+126
-15
lines changed

3 files changed

+126
-15
lines changed

googleapiclient/discovery_cache/documents/remotebuildexecution.v1.json

+42-5
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
}
308308
}
309309
},
310-
"revision": "20210511",
310+
"revision": "20210517",
311311
"rootUrl": "https://remotebuildexecution.googleapis.com/",
312312
"schemas": {
313313
"BuildBazelRemoteExecutionV2Action": {
@@ -1023,12 +1023,14 @@
10231023
"enum": [
10241024
"CONFIG_NONE",
10251025
"CONFIG_MATCH",
1026-
"CONFIG_MISMATCH"
1026+
"CONFIG_MISMATCH",
1027+
"CONFIG_MISSING_CONTAINER"
10271028
],
10281029
"enumDescriptions": [
10291030
"Container Manager is disabled or not running for this execution.",
10301031
"Container Manager is enabled and there was a matching container available for use during execution.",
1031-
"Container Manager is enabled, but there was no matching container available for execution."
1032+
"Container Manager is enabled, but there was no matching container available for execution.",
1033+
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
10321034
],
10331035
"type": "string"
10341036
},
@@ -1132,7 +1134,8 @@
11321134
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
11331135
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
11341136
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
1135-
"WORKING_DIR_NOT_RELATIVE"
1137+
"WORKING_DIR_NOT_RELATIVE",
1138+
"DOCKER_MISSING_CONTAINER"
11361139
],
11371140
"enumDescriptions": [
11381141
"The command succeeded.",
@@ -1176,7 +1179,8 @@
11761179
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
11771180
"The local Container Manager is not running.",
11781181
"Docker failed because a request was denied by the organization's policy.",
1179-
"Working directory is not relative"
1182+
"Working directory is not relative",
1183+
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
11801184
],
11811185
"type": "string"
11821186
},
@@ -1200,6 +1204,39 @@
12001204
},
12011205
"memoryUsage": {
12021206
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
1207+
},
1208+
"totalDiskIoStats": {
1209+
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
1210+
}
1211+
},
1212+
"type": "object"
1213+
},
1214+
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
1215+
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
1216+
"properties": {
1217+
"readBytesCount": {
1218+
"format": "uint64",
1219+
"type": "string"
1220+
},
1221+
"readCount": {
1222+
"format": "uint64",
1223+
"type": "string"
1224+
},
1225+
"readTimeMs": {
1226+
"format": "uint64",
1227+
"type": "string"
1228+
},
1229+
"writeBytesCount": {
1230+
"format": "uint64",
1231+
"type": "string"
1232+
},
1233+
"writeCount": {
1234+
"format": "uint64",
1235+
"type": "string"
1236+
},
1237+
"writeTimeMs": {
1238+
"format": "uint64",
1239+
"type": "string"
12031240
}
12041241
},
12051242
"type": "object"

googleapiclient/discovery_cache/documents/remotebuildexecution.v1alpha.json

+42-5
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@
432432
}
433433
}
434434
},
435-
"revision": "20210511",
435+
"revision": "20210517",
436436
"rootUrl": "https://admin-remotebuildexecution.googleapis.com/",
437437
"schemas": {
438438
"BuildBazelRemoteExecutionV2Action": {
@@ -1137,12 +1137,14 @@
11371137
"enum": [
11381138
"CONFIG_NONE",
11391139
"CONFIG_MATCH",
1140-
"CONFIG_MISMATCH"
1140+
"CONFIG_MISMATCH",
1141+
"CONFIG_MISSING_CONTAINER"
11411142
],
11421143
"enumDescriptions": [
11431144
"Container Manager is disabled or not running for this execution.",
11441145
"Container Manager is enabled and there was a matching container available for use during execution.",
1145-
"Container Manager is enabled, but there was no matching container available for execution."
1146+
"Container Manager is enabled, but there was no matching container available for execution.",
1147+
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
11461148
],
11471149
"type": "string"
11481150
},
@@ -1246,7 +1248,8 @@
12461248
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
12471249
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
12481250
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
1249-
"WORKING_DIR_NOT_RELATIVE"
1251+
"WORKING_DIR_NOT_RELATIVE",
1252+
"DOCKER_MISSING_CONTAINER"
12501253
],
12511254
"enumDescriptions": [
12521255
"The command succeeded.",
@@ -1290,7 +1293,8 @@
12901293
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
12911294
"The local Container Manager is not running.",
12921295
"Docker failed because a request was denied by the organization's policy.",
1293-
"Working directory is not relative"
1296+
"Working directory is not relative",
1297+
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
12941298
],
12951299
"type": "string"
12961300
},
@@ -1314,6 +1318,39 @@
13141318
},
13151319
"memoryUsage": {
13161320
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
1321+
},
1322+
"totalDiskIoStats": {
1323+
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
1324+
}
1325+
},
1326+
"type": "object"
1327+
},
1328+
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
1329+
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
1330+
"properties": {
1331+
"readBytesCount": {
1332+
"format": "uint64",
1333+
"type": "string"
1334+
},
1335+
"readCount": {
1336+
"format": "uint64",
1337+
"type": "string"
1338+
},
1339+
"readTimeMs": {
1340+
"format": "uint64",
1341+
"type": "string"
1342+
},
1343+
"writeBytesCount": {
1344+
"format": "uint64",
1345+
"type": "string"
1346+
},
1347+
"writeCount": {
1348+
"format": "uint64",
1349+
"type": "string"
1350+
},
1351+
"writeTimeMs": {
1352+
"format": "uint64",
1353+
"type": "string"
13171354
}
13181355
},
13191356
"type": "object"

googleapiclient/discovery_cache/documents/remotebuildexecution.v2.json

+42-5
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@
447447
}
448448
}
449449
},
450-
"revision": "20210511",
450+
"revision": "20210517",
451451
"rootUrl": "https://remotebuildexecution.googleapis.com/",
452452
"schemas": {
453453
"BuildBazelRemoteExecutionV2Action": {
@@ -1573,12 +1573,14 @@
15731573
"enum": [
15741574
"CONFIG_NONE",
15751575
"CONFIG_MATCH",
1576-
"CONFIG_MISMATCH"
1576+
"CONFIG_MISMATCH",
1577+
"CONFIG_MISSING_CONTAINER"
15771578
],
15781579
"enumDescriptions": [
15791580
"Container Manager is disabled or not running for this execution.",
15801581
"Container Manager is enabled and there was a matching container available for use during execution.",
1581-
"Container Manager is enabled, but there was no matching container available for execution."
1582+
"Container Manager is enabled, but there was no matching container available for execution.",
1583+
"Container Manager is enabled and we attempted to execute on a matching container, but the container was no longer running. The task was retried without an async container."
15821584
],
15831585
"type": "string"
15841586
},
@@ -1682,7 +1684,8 @@
16821684
"DOCKER_TOO_MANY_SYMBOLIC_LINK_LEVELS",
16831685
"LOCAL_CONTAINER_MANAGER_NOT_RUNNING",
16841686
"DOCKER_IMAGE_VPCSC_PERMISSION_DENIED",
1685-
"WORKING_DIR_NOT_RELATIVE"
1687+
"WORKING_DIR_NOT_RELATIVE",
1688+
"DOCKER_MISSING_CONTAINER"
16861689
],
16871690
"enumDescriptions": [
16881691
"The command succeeded.",
@@ -1726,7 +1729,8 @@
17261729
"Docker failed to create an overlay mount because of too many levels of symbolic links.",
17271730
"The local Container Manager is not running.",
17281731
"Docker failed because a request was denied by the organization's policy.",
1729-
"Working directory is not relative"
1732+
"Working directory is not relative",
1733+
"Docker cannot find the container specified in the command. This error is likely to only occur if an asynchronous container is not running when the command is run."
17301734
],
17311735
"type": "string"
17321736
},
@@ -1750,6 +1754,39 @@
17501754
},
17511755
"memoryUsage": {
17521756
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageStat"
1757+
},
1758+
"totalDiskIoStats": {
1759+
"$ref": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats"
1760+
}
1761+
},
1762+
"type": "object"
1763+
},
1764+
"GoogleDevtoolsRemotebuildbotResourceUsageIOStats": {
1765+
"id": "GoogleDevtoolsRemotebuildbotResourceUsageIOStats",
1766+
"properties": {
1767+
"readBytesCount": {
1768+
"format": "uint64",
1769+
"type": "string"
1770+
},
1771+
"readCount": {
1772+
"format": "uint64",
1773+
"type": "string"
1774+
},
1775+
"readTimeMs": {
1776+
"format": "uint64",
1777+
"type": "string"
1778+
},
1779+
"writeBytesCount": {
1780+
"format": "uint64",
1781+
"type": "string"
1782+
},
1783+
"writeCount": {
1784+
"format": "uint64",
1785+
"type": "string"
1786+
},
1787+
"writeTimeMs": {
1788+
"format": "uint64",
1789+
"type": "string"
17531790
}
17541791
},
17551792
"type": "object"

0 commit comments

Comments
 (0)