Skip to content

Commit 4c77584

Browse files
committed
chore(docker): upgrade images to new config
1 parent a26c16b commit 4c77584

File tree

4 files changed

+21
-25
lines changed

4 files changed

+21
-25
lines changed

MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,19 @@ git_override(
111111

112112
git_override(
113113
module_name = "com_github_buildbarn_bb_browser",
114-
commit = "9c1714be8cf55061c698b2e629e13496071e23a1",
114+
commit = "9b44996f7d6a04185f61e7752cbe8649aaa59f16",
115115
remote = "https://github.com/buildbarn/bb-browser.git",
116116
)
117117

118118
git_override(
119119
module_name = "com_github_buildbarn_bb_remote_execution",
120-
commit = "31d23d1a2b0cf4c6785bc96e3576e439063d6b7c",
120+
commit = "1c726bdc27e7793c685d8788913f8f91f59bc887",
121121
remote = "https://github.com/buildbarn/bb-remote-execution.git",
122122
)
123123

124124
git_override(
125125
module_name = "com_github_buildbarn_bb_storage",
126-
commit = "2600f229e4b68a92591109827f78b047a7fe4d01",
126+
commit = "1d733a37487a01416bda38eff6f61eb78103c7f0",
127127
remote = "https://github.com/buildbarn/bb-storage.git",
128128
)
129129

docker-compose/config/common.libsonnet

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,32 @@
22
blobstore: {
33
contentAddressableStorage: {
44
sharding: {
5-
hashInitialization: 11946695773637837490,
6-
shards: [
7-
{
5+
shards: {
6+
"0": {
87
backend: { grpc: { address: 'storage-0:8981' } },
98
weight: 1,
109
},
11-
{
10+
"1": {
1211
backend: { grpc: { address: 'storage-1:8981' } },
1312
weight: 1,
1413
},
15-
],
14+
},
1615
},
1716
},
1817
actionCache: {
1918
completenessChecking: {
2019
backend: {
2120
sharding: {
22-
hashInitialization: 14897363947481274433,
23-
shards: [
24-
{
21+
shards: {
22+
"0": {
2523
backend: { grpc: { address: 'storage-0:8981' } },
2624
weight: 1,
2725
},
28-
{
26+
"1": {
2927
backend: { grpc: { address: 'storage-1:8981' } },
3028
weight: 1,
3129
},
32-
],
30+
},
3331
},
3432
},
3533
maximumTotalTreeSizeBytes: 64 * 1024 * 1024,

kubernetes/config/common.libsonnet

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,32 @@
22
blobstore: {
33
contentAddressableStorage: {
44
sharding: {
5-
hashInitialization: 11946695773637837490,
6-
shards: [
7-
{
5+
shards: {
6+
"0": {
87
backend: { grpc: { address: 'storage-0.storage.buildbarn:8981' } },
98
weight: 1,
109
},
11-
{
10+
"1": {
1211
backend: { grpc: { address: 'storage-1.storage.buildbarn:8981' } },
1312
weight: 1,
1413
},
15-
],
14+
},
1615
},
1716
},
1817
actionCache: {
1918
completenessChecking: {
2019
backend: {
2120
sharding: {
22-
hashInitialization: 14897363947481274433,
23-
shards: [
24-
{
21+
shards: {
22+
"0": {
2523
backend: { grpc: { address: 'storage-0.storage.buildbarn:8981' } },
2624
weight: 1,
2725
},
28-
{
26+
"1": {
2927
backend: { grpc: { address: 'storage-1.storage.buildbarn:8981' } },
3028
weight: 1,
3129
},
32-
],
30+
},
3331
},
3432
},
3533
maximumTotalTreeSizeBytes: 64 * 1024 * 1024,

tools/expected-docker-and-k8s-configs.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ index 7e0103f..7f08b6d 100644
5050
--- a/kubernetes/config/runner-ubuntu22-04.jsonnet
5151
+++ b/docker-compose/config/runner-ubuntu22-04.jsonnet
5252
@@ -2,7 +2,7 @@ local common = import 'common.libsonnet';
53-
53+
5454
{
5555
buildDirectoryPath: '/worker/build',
5656
- // TODO: global: common.global,
@@ -64,7 +64,7 @@ index 50cabe5..ab10376 100644
6464
+++ b/docker-compose/config/worker-hardlinking-ubuntu22-04.jsonnet
6565
@@ -1,13 +1,14 @@
6666
local common = import 'common.libsonnet';
67-
67+
6868
+// DO NOT USE the hardlinking configuration below unless really needed.
6969
+// This example only exists for reference in situations
7070
+// where the more efficient FUSE worker is not supported.

0 commit comments

Comments
 (0)