Skip to content

bazel: add target_compatible_with to envoy_cc_test - #48813

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
akonradi:envoy-cc-test-target-compatible-with
Oct 28, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
akonradi:envoy-cc-test-target-compatible-with

Conversation

@akonradi

Copy link
Copy Markdown
Contributor

Commit Message:
Exposes Bazel's standard target_compatible_with attribute on envoy_cc_test. This can be used by consuming repositories to keep using envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Lets downstream test targets declare platform constraints, for example to
skip under an emulated test runner, without bypassing the macro.

Signed-off-by: Alex Bakon <[email protected]>

@phlax phlax left a comment

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.

lgtm, thanks @akonradi

@phlax

phlax commented Oct 28, 2026

Copy link
Copy Markdown
Member

/retest unrelated gh fail

@phlax
phlax enabled auto-merge (squash) October 28, 2026 19:51
@phlax
phlax merged commit 5e58dfa into envoyproxy:main Oct 28, 2026
27 checks passed
@akonradi
akonradi deleted the envoy-cc-test-target-compatible-with branch October 28, 2026 20:02
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 6, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 9, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 9, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 11, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 11, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
jwendell pushed a commit that referenced this pull request Nov 11, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 12, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 13, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 13, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 17, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit that referenced this pull request Nov 17, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
phlax pushed a commit to phlax/envoy that referenced this pull request Nov 18, 2026
Commit Message:
Exposes Bazel's standard target_compatible_with attribute on
envoy_cc_test. This can be used by consuming repositories to keep using
envoy_cc_test while also enforcing their own constraints.

Risk Level: low, no-op if not set
Testing: CI
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: none

Signed-off-by: Alex Bakon <[email protected]>
(cherry picked from commit 5e58dfa)
Signed-off-by: Ryan Northey <[email protected]>
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