You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ju...@apache.org on 2024/11/22 16:12:55 UTC
(buildstream) branch juerg/buildbarn updated (a6def65ad -> 00bf41661)
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a change to branch juerg/buildbarn
in repository https://gitbox.apache.org/repos/asf/buildstream.git
discard a6def65ad .github/compose/ci.buildbarn.yml: Update Buildbarn docker images
new 00bf41661 .github/compose/ci.buildbarn.yml: Update Buildbarn docker images
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (a6def65ad)
\
N -- N -- N refs/heads/juerg/buildbarn (00bf41661)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/compose/buildbarn-config/asset.jsonnet | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(buildstream) 01/01: .github/compose/ci.buildbarn.yml: Update Buildbarn docker images
Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
juergbi pushed a commit to branch juerg/buildbarn
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 00bf416617973949b97e1cfa28e8add460ac83b6
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Nov 22 15:39:14 2024 +0100
.github/compose/ci.buildbarn.yml: Update Buildbarn docker images
The old docker images are no longer available.
---
.github/compose/buildbarn-config/asset.jsonnet | 53 ++++++++++++++++--------
.github/compose/buildbarn-config/storage.jsonnet | 48 ++++++++++++++-------
.github/compose/ci.buildbarn.yml | 6 +--
3 files changed, 69 insertions(+), 38 deletions(-)
diff --git a/.github/compose/buildbarn-config/asset.jsonnet b/.github/compose/buildbarn-config/asset.jsonnet
index aad06a22e..76fedca30 100644
--- a/.github/compose/buildbarn-config/asset.jsonnet
+++ b/.github/compose/buildbarn-config/asset.jsonnet
@@ -1,32 +1,49 @@
{
+ contentAddressableStorage: {
+ grpc: {
+ address: 'localhost:7982',
+ },
+ },
fetcher: {
- caching: {
- fetcher: {
- // We should never be fetching anything which is not already returned by the caching fetcher.
- 'error': {
- code: 5,
- message: "Asset Not Found",
- }
- }
+ // We should never be fetching anything which is not already returned by the caching fetcher.
+ 'error': {
+ code: 5,
+ message: "Asset Not Found",
}
},
-
- assetStore: {
- circular: {
- directory: '/storage',
- offsetFileSizeBytes: 1024 * 1024,
- offsetCacheSize: 1000,
- dataFileSizeBytes: 100 * 1024 * 1024,
- dataAllocationChunkSizeBytes: 1048576,
- instances: [''],
+ assetCache: {
+ blobAccess: {
+ 'local': {
+ keyLocationMapOnBlockDevice: {
+ file: {
+ path: '/storage/key_location_map',
+ sizeBytes: 1024 * 1024,
+ },
+ },
+ keyLocationMapMaximumGetAttempts: 8,
+ keyLocationMapMaximumPutAttempts: 32,
+ oldBlocks: 8,
+ currentBlocks: 24,
+ newBlocks: 1,
+ blocksOnBlockDevice: {
+ source: {
+ file: {
+ path: '/storage/blocks',
+ sizeBytes: 100 * 1024 * 1024,
+ },
+ },
+ spareBlocks: 3,
+ },
+ },
},
},
- httpListenAddress: ':1111',
grpcServers: [{
listenAddresses: [':7981'],
authenticationPolicy: { allow: {} },
}],
allowUpdatesForInstances: [''],
maximumMessageSizeBytes: 16 * 1024 * 1024,
+ fetchAuthorizer: { allow: {} },
+ pushAuthorizer: { allow: {} },
}
diff --git a/.github/compose/buildbarn-config/storage.jsonnet b/.github/compose/buildbarn-config/storage.jsonnet
index 11fbdbee7..1cb8f8de3 100644
--- a/.github/compose/buildbarn-config/storage.jsonnet
+++ b/.github/compose/buildbarn-config/storage.jsonnet
@@ -1,26 +1,42 @@
{
- blobstore: {
- contentAddressableStorage: {
- circular: {
- directory: '/cas',
- offsetFileSizeBytes: 16 * 1024 * 1024,
- offsetCacheSize: 10000,
- dataFileSizeBytes: 10 * 1024 * 1024 * 1024,
- dataAllocationChunkSizeBytes: 16 * 1024 * 1024,
+ contentAddressableStorage: {
+ backend: {
+ 'local': {
+ keyLocationMapOnBlockDevice: {
+ file: {
+ path: '/cas/key_location_map',
+ sizeBytes: 16 * 1024 * 1024,
+ },
+ },
+ keyLocationMapMaximumGetAttempts: 16,
+ keyLocationMapMaximumPutAttempts: 64,
+ oldBlocks: 8,
+ currentBlocks: 24,
+ newBlocks: 3,
+ blocksOnBlockDevice: {
+ source: {
+ file: {
+ path: '/cas/blocks',
+ sizeBytes: 10 * 1024 * 1024 * 1024,
+ },
+ },
+ spareBlocks: 3,
+ },
},
},
- actionCache: {
- 'error': {
- code: 12, # UNIMPLEMENTED
- message: "AC requests are not supported for this endpoint.",
- }
- },
+ getAuthorizer: { allow: {} },
+ putAuthorizer: { allow: {} },
+ findMissingAuthorizer: { allow: {} },
},
- httpListenAddress: ':6981',
+ global: { diagnosticsHttpServer: {
+ httpServers: [{
+ listenAddresses: [':6981'],
+ authenticationPolicy: { allow: {} },
+ }],
+ } },
grpcServers: [{
listenAddresses: [':7982'],
authenticationPolicy: { allow: {} },
}],
- allowAcUpdatesForInstanceNamePrefixes: [''],
maximumMessageSizeBytes: 16 * 1024 * 1024,
}
diff --git a/.github/compose/ci.buildbarn.yml b/.github/compose/ci.buildbarn.yml
index c1e90e9a7..9573f651e 100644
--- a/.github/compose/ci.buildbarn.yml
+++ b/.github/compose/ci.buildbarn.yml
@@ -19,11 +19,9 @@
# - docker-compose -f ci.buildbarn.yml up
# - docker-compose -f ci.buildbarn.yml down
-version: '3.4'
-
services:
bb-asset:
- image: buildbarn/bb-remote-asset:20200903T103837Z-90136c4
+ image: ghcr.io/buildbarn/bb-remote-asset:20241031T230517Z-4926e8e
command: /config/asset.jsonnet
restart: unless-stopped
ports:
@@ -37,7 +35,7 @@ services:
target: /config
bb-storage:
- image: buildbarn/bb-storage:20200816T115912Z-d83e1f0
+ image: ghcr.io/buildbarn/bb-storage:20241121T154059Z-f5a181e
command: /config/storage.jsonnet
restart: unless-stopped
ports: