Code Monkey home page Code Monkey logo

Comments (5)

phlax avatar phlax commented on June 27, 2024 1

@Winbobob sgtm

we have been gradually shifting configs into .bazelrc and away from env vars or cli flags for the reasons you point out and many others also

are you up for raising a PR to adjust the dev docs?

the readme you linked is pretty hopelessly out of date - its on my agenda to do some work on dev docs - but for now i think its the best place (for ref there is also bazel/README amongst others)

from envoy.

htuch avatar htuch commented on June 27, 2024

@phlax

from envoy.

Winbobob avatar Winbobob commented on June 27, 2024

Cool, thank you for the confirmation! I can create the PR.

from envoy.

moderation avatar moderation commented on June 27, 2024

After a couple of years of enjoying the Google RBE, my builds now download GBs of *.dwo files and the builds are now super slow and serial.
image
I'm guessing my ~/.bazelrc is out of date but haven't been able to work out the right commands

from envoy.

phlax avatar phlax commented on June 27, 2024

@moderation the easiest way to use RBE ive found is to place just the credentials in user.bazelrc - ie:

build --google_credentials=./gcloud.token

and then after doing export ENVOY_RBE=1 use the ci/do_ci.sh targets

this is the closest to what ci is doing

using bazel directly you want something like:

build --remote_instance_name=projects/envoy-ci/instances/default_instance
build --remote_cache=grpcs://remotebuildexecution.googleapis.com
build --remote_executor=grpcs://remotebuildexecution.googleapis.com
build --jobs=40

depending on the toolchain you want you probably also need something like:

build --config=rbe-toolchain-clang-libc++

from envoy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.