Skip to content

[v11] Add a codegen-focused buildbox#26744

Merged
codingllama merged 3 commits intobranch/v11from
codingllama/backport/26640-v11
May 25, 2023
Merged

[v11] Add a codegen-focused buildbox#26744
codingllama merged 3 commits intobranch/v11from
codingllama/backport/26640-v11

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

@codingllama codingllama commented May 22, 2023

Backport #26640 and #26758 to branch/v11

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.

* 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-v11 branch from b4350fe to 4d69968 Compare May 23, 2023 17:02
@codingllama
Copy link
Copy Markdown
Contributor Author

Patched with #26758 and re-tested, PTAL.

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 the same as v12, PTAL.

@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/v11 with commit 44638f1 May 25, 2023
@codingllama codingllama deleted the codingllama/backport/26640-v11 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