-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose: Add bb-remote-asset to setup #91
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
local common = import 'common.libsonnet'; | ||
{ | ||
fetcher: { | ||
caching: { | ||
fetcher: { | ||
http: { | ||
allowUpdatesForInstances: ['fuse', 'hardlinking'], | ||
contentAddressableStorage: common.blobstore.contentAddressableStorage, | ||
}, | ||
}, | ||
}, | ||
}, | ||
|
||
assetCache: { | ||
actionCache: { | ||
blobstore: common.blobstore, | ||
}, | ||
}, | ||
global: common.global, | ||
grpcServers: [{ | ||
listenAddresses: [':8984'], | ||
authenticationPolicy: { allow: {} }, | ||
}], | ||
allowUpdatesForInstances: ['foo'], | ||
maximumMessageSizeBytes: 16 * 1024 * 1024 * 1024, | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,3 +124,15 @@ services: | |
- ./volumes/worker-hardlinking-ubuntu22-04:/worker | ||
depends_on: | ||
- runner-installer | ||
|
||
remote-asset: | ||
# TODO(minor-fixes): Replace with actual container once pushed to ghcr | ||
image: bazel/cmd/bb_remote_asset:bb_remote_asset_container | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can't be merged as-is until this image is put somewhere public (ghcr.io?) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you mind updating the image reference now when |
||
command: | ||
- /config/remote-asset.jsonnet | ||
expose: | ||
- 9980 | ||
ports: | ||
- 8984:8984 | ||
volumes: | ||
- ./config:/config | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Please add an empty line at the end of file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a more descriptive name, or just a comment, about what this instance name refers to?