Skip to content
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

Set up Cobalt build acceleration with RBE #4604

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

briantting
Copy link
Contributor

@briantting briantting commented Dec 18, 2024

b/384982606

@briantting briantting changed the title Setup default RBE usage, facilitating CI RBE usage. Set up Chrobalt build acceleration with RBE. Dec 18, 2024
@briantting briantting force-pushed the main branch 2 times, most recently from a320f77 to dd5de54 Compare December 20, 2024 22:41
@briantting briantting force-pushed the main branch 4 times, most recently from 7985666 to 8ae2da3 Compare January 9, 2025 13:44
@briantting briantting marked this pull request as ready for review January 9, 2025 21:06
@briantting briantting requested review from a team as code owners January 9, 2025 21:06
@briantting briantting requested a review from dahlstrom-g January 9, 2025 21:06
@briantting briantting requested a review from kaidokert January 9, 2025 21:09
DEPS Outdated Show resolved Hide resolved
buildtools/reclient_cfgs/rewrapper_linux_cc.cfg Outdated Show resolved Hide resolved
build/toolchain/rbe.gni Outdated Show resolved Hide resolved
@briantting briantting force-pushed the main branch 5 times, most recently from 188ea9a to 43c02b2 Compare January 10, 2025 21:58
build/toolchain/rbe.gni Outdated Show resolved Hide resolved
build/toolchain/rbe.gni Outdated Show resolved Hide resolved
Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took a pass through - please take a look.

Other than the comments, it looks okay

.github/actions/build/action.yaml Show resolved Hide resolved
cobalt/build/gn.py Outdated Show resolved Hide resolved
@briantting briantting force-pushed the main branch 4 times, most recently from 29c02ca to 9799e1e Compare January 14, 2025 00:48
.github/actions/build/action.yaml Show resolved Hide resolved
.github/actions/build/action.yaml Show resolved Hide resolved
.github/actions/build/action.yaml Show resolved Hide resolved
.github/actions/build/action.yaml Show resolved Hide resolved
Copy link
Contributor

@dahlstrom-g dahlstrom-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote the comment below in my previous reply
but GitHub silently lost it, so I had to write it again.
This has happened to me repeatedly. 😠
GitHub PRs feel inadequate as a review tool.

.github/actions/build/action.yaml Show resolved Hide resolved
cobalt/build/gn.py Outdated Show resolved Hide resolved
Copy link
Member

@kaidokert kaidokert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comments are all in, LGTM 👍

dahlstrom-g
dahlstrom-g previously approved these changes Jan 15, 2025
Copy link
Contributor

@dahlstrom-g dahlstrom-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (especially if not squashed)
… are the commits in the right order? 🤷

Copy link
Contributor

@dahlstrom-g dahlstrom-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As it stands I believe this PR will break Kokoro builds.

nits:
The word “Chrobalt” should probably be
dropped from the PR and commit titles.
The PR and commit titles shouldn't have periods.
https://cbea.ms/git-commit/#end
Each commit title should be imperative.
https://cbea.ms/git-commit/#imperative

.github/actions/build/action.yaml Outdated Show resolved Hide resolved
@dahlstrom-g dahlstrom-g dismissed their stale review January 15, 2025 18:00

see comments

@briantting briantting changed the title Set up Chrobalt build acceleration with RBE. Set up Cobalt build acceleration with RBE Jan 15, 2025
Set up Cobalt build acceleration with RBE making it the default
accelerator for both developers and the CI system.

Remove fetching of RBE cfg files with CIPD. Instead rely on local cfg
files which use public docker images rather than private ones. Taken
from Chromium's trunk.

b/384982606
Disables Chromium client side build telemetry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants