Skip to content

[v12] Add a codegen-focused buildbox#26741

Merged
codingllama merged 2 commits intobranch/v12from
codingllama/backport/26640-v12
May 25, 2023
Merged

[v12] Add a codegen-focused buildbox#26741
codingllama merged 2 commits intobranch/v12from
codingllama/backport/26640-v12

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented May 22, 2023

Backport #26640 and #26758 to branch/v12

Add the "grpcbox", a codegen-focused buildbox. It's meant to cut down build
times for make grpc and related commands.

The original buildbox still retains the ability to build protos, as GHA
pipelines require it to run make protos-up-to-date/host. That could also,
in the future, be changed to rely on the grpcbox instead.

@codingllama
Copy link
Copy Markdown
Contributor Author

Patched with #26758 and re-tested, PTAL.

* Add the babybox Dockerfile and Makefile

* Change Makefiles to use the babybox

* Change buildbox to use version args

* Keep the old "if BUILDARCH" on protoc install

* Drop --platform directive on babybox (its platform doesn't matter)

* Use mktemp to download protoc

* Remove defaults from ARGs

* Copy ARG comments to buildbox Dockerfile

* Rename babybox to grpcbox
* Revert protoc downgrade

* Use correct protoc URL for arm64
@codingllama codingllama force-pushed the codingllama/backport/26640-v12 branch from cd7b340 to fcf1056 Compare May 23, 2023 16:48
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy left a comment

Choose a reason for hiding this comment

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

It looks like the first commit and description of this PR still reference babybox. Can you please update them now that we're using grpcbox instead?

@codingllama
Copy link
Copy Markdown
Contributor Author

Fixed description. The first commit is squashed so the title is generic, the description has the same history as master so I'd rather not change it.

@codingllama
Copy link
Copy Markdown
Contributor Author

Friendly ping?

@codingllama
Copy link
Copy Markdown
Contributor Author

Friendly ping @jakule @nklaassen @timothyb89 @tobiaszheller ?

@codingllama codingllama enabled auto-merge May 25, 2023 12:54
@codingllama codingllama added this pull request to the merge queue May 25, 2023
Merged via the queue into branch/v12 with commit 8d0dd4f May 25, 2023
@codingllama codingllama deleted the codingllama/backport/26640-v12 branch May 25, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants