Skip to content

chore: setup envoy_api MODULE#41907

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
mmorel-35:modules/envoy_api
Nov 8, 2025
Merged

chore: setup envoy_api MODULE#41907
phlax merged 1 commit into
envoyproxy:mainfrom
mmorel-35:modules/envoy_api

Conversation

@mmorel-35
Copy link
Copy Markdown
Contributor

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #41907 was opened by mmorel-35.

see: more, trace.

@mmorel-35 mmorel-35 force-pushed the modules/envoy_api branch 5 times, most recently from 0da6e29 to b7f6a9f Compare November 8, 2025 09:27
@mmorel-35
Copy link
Copy Markdown
Contributor Author

/retest

@mmorel-35
Copy link
Copy Markdown
Contributor Author

@phlax , I confirm, retest command is properly working

@mmorel-35 mmorel-35 marked this pull request as ready for review November 8, 2025 10:43
@mmorel-35
Copy link
Copy Markdown
Contributor Author

mmorel-35 commented Nov 8, 2025

@phlax ,

Once this is merged, There only be ci parts to merge in envoyproxy/data-plane-api#632

@mmorel-35 mmorel-35 force-pushed the modules/envoy_api branch 4 times, most recently from ebd76ca to 0ea7138 Compare November 8, 2025 12:57
@mmorel-35
Copy link
Copy Markdown
Contributor Author

I provided bcr config but it won't be operational until the publish.yaml workflow is setup

@mmorel-35 mmorel-35 changed the title chore: add MODULE.bazel and .bazelversion for Envoy API dependency management chore: setup envoy_api MODULE Nov 8, 2025
@mmorel-35
Copy link
Copy Markdown
Contributor Author

@phlax ,

The first version of envoy_api MODULE is ready for review.
I believe we can merge this as first version then more refinements can come ;)

Copy link
Copy Markdown
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

really nice work, thanks @mmorel-35 - a couple of nits, questions, comments, etc

Comment thread .bcr/api/metadata.template.json
Comment thread .bcr/api/presubmit.yml Outdated
- "@envoy_api//tools/..."
build_flags:
- "--java_runtime_version=remotejdk_21"
- '--cxxopt=-std=c++17'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: my pref is " but either way lets keep it consistent

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK

Comment thread api/.bazelversion Outdated
Comment thread api/MODULE.bazel
@@ -0,0 +1,102 @@
module(
name = "envoy_api",
version = "1.37.0-dev",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i guess no way to have it read from the VERSION.txt ? this will need to be added to ci to ensure its not out of sync etc, and gets updated on releases

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It will be overriden by publish workflow anyway but it needs to be statically defined yes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

k - probs we should open a ticket to make sure the release/ci tooling has this added

Comment thread .gitignore Outdated
!\.zuul.yaml

/bazel-*
MODULE.bazel.lock
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i still dont understand why you dont commit bazel lock files

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll commit it if you prefer

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not sure on current wisdom with this - so ill defer to whatever you think best - but i would have thought hashes were needed to ensure reproducible builds

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Let's try with it first, we'll see how it goes ;)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe im thinking about it wrong - im thinking in terms of us consuming/building/testing the code (so i guess envoy will eventually commit its lockfile including api etc) - whereas this is more about publishing to bcr - probs we will need to adjust the gitignore at some point i guess

…nagement

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mmorel-35
Copy link
Copy Markdown
Contributor Author

@phlax ,

CI is happy with all that, I believe it's better to merge this one before the gitignore PR

Copy link
Copy Markdown
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @mmorel-35

"homepage": "https://www.envoyproxy.io/",
"maintainers": [
{
"github": "mering",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@mering ill land this for now but wanted to confirm you are happy being listed as a bcr maintainer

we have an envoy-bzlmod channel on the envoy slack - would you be able to jump on there if so?

@phlax phlax merged commit 977c4c9 into envoyproxy:main Nov 8, 2025
24 checks passed
@mmorel-35 mmorel-35 deleted the modules/envoy_api branch November 8, 2025 20:36
grnmeira pushed a commit to grnmeira/envoy that referenced this pull request Mar 20, 2026
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Gustavo <grnmeira@gmail.com>
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.

2 participants