Closed Ryan-Draves closed 1 year ago
The https://github.com/buildbarn/bb-deployments repository should work. Please give it a try.
Thanks for the quick reply. I was able to get that repo's example working, but I was hoping to run the browser alongside a Buildgrid deployment as well. The README in this repo followed ~closely with the example config file in the Buildgrid docs, but I'm unsure how to translate the deployment repo's setup.
Running docker run -p 80:80 -v $(pwd)/config:/config bazel/cmd/bb_browser:bb_browser_container "/config/browerser.jsonnet"
with the browser.jsonnet
file in other repo gave:
2023/02/27 21:24:42 Failed to read configuration from /config/browser.jsonnet: rpc error: code = Unknown desc = Failed to evaluate configuration: RUNTIME ERROR: couldn't open import "common.libsonnet": no match locally or in the Jsonnet library paths
/config/browser.jsonnet:1:16-41 thunk <common> from <$>
/config/browser.jsonnet:4:14-20
Field "blobstore"
During manifestation
Is there a simple standalone deployment option?
I'll give it a try to sync browser.jsonnet
tomorrow.
The example in the README spits out errors.
bazel run //cmd/bb_browser:bb_browser_container
yields:but does produce the docker image, however
docker run -p 80:80 -v $(pwd)/config:/config bazel/cmd/bb_browser:bb_browser_container
also yields:I took at guess that maybe there's a missing entrypoint, so I fed in the example
blobstore.conf
file as an argument, butdocker run -p 80:80 -v $(pwd)/config:/config bazel/cmd/bb_browser:bb_browser_container "/config/blobstore.conf"
yields:How do I run this?