Skip to content

Commit

Permalink
Revert "Revert "Revert "chore(apps/prod/buildbarn): disable head meth…
Browse files Browse the repository at this point in the history
…od"" (#570)" (#573)

This reverts commit cfb3947.
  • Loading branch information
wuhuizuo authored Jun 3, 2023
1 parent 3f8ab49 commit 76f13e6
Showing 1 changed file with 13 additions and 46 deletions.
59 changes: 13 additions & 46 deletions apps/prod/buildbarn/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,39 +24,6 @@ spec:
enable: true
ignoreFailures: false
values:
frontend:
conf: |-
local common = import 'common.libsonnet';
{
global: common.global,
grpcServers: [{
listenAddresses: [':8980'],
authenticationPolicy: { allow: {} },
}],
schedulers: {
'': {
endpoint: {
address: 'buildbarn-scheduler:8982',
addMetadataJmespathExpression: '{
"build.bazel.remote.execution.v2.requestmetadata-bin": incomingGRPCMetadata."build.bazel.remote.execution.v2.requestmetadata-bin"
}',
}
},
},
maximumMessageSizeBytes: common.maximumMessageSizeBytes,
contentAddressableStorage: {
backend: common.blobstore.contentAddressableStorage,
getAuthorizer: { allow: {} },
putAuthorizer: { allow: {} },
findMissingAuthorizer: { deny: {} },
},
actionCache: {
backend: common.blobstore.actionCache,
getAuthorizer: { allow: {} },
putAuthorizer: { allow: {} },
},
executeAuthorizer: { allow: {} },
}
commonConf: |-
{
global: {
Expand All @@ -73,20 +40,20 @@ spec:
},
blobstore: {
contentAddressableStorage: {
sharding: {
hashInitialization: 11946695773637837490,
shards: [
{
backend: { grpc: { address: 'buildbarn-storage-0.buildbarn-storage:8981' } },
weight: 1,
},
{
backend: { grpc: { address: 'buildbarn-storage-1.buildbarn-storage:8981' } },
weight: 1,
},
],
sharding: {
hashInitialization: 11946695773637837490,
shards: [
{
backend: { grpc: { address: 'buildbarn-storage-0.buildbarn-storage:8981' } },
weight: 1,
},
{
backend: { grpc: { address: 'buildbarn-storage-1.buildbarn-storage:8981' } },
weight: 1,
},
],
},
},
},
actionCache: {
completenessChecking: {
backend: {
Expand Down

0 comments on commit 76f13e6

Please sign in to comment.