Skip to content

Conversation

aakash070
Copy link
Collaborator

This change contains the following:

  1. a bazel rule to trigger CEL test for policies and expressions
  2. sample usages of the cel_go_test rule
  3. return policy metadata as a result of creating CEL programs for the expressions configured in the test runner

@aakash070 aakash070 requested a review from TristonianJones May 8, 2025 13:50
@aakash070 aakash070 force-pushed the add_cel_go_test_bazel_rule branch from 7a6c2e2 to 5b2b965 Compare May 9, 2025 10:28
updated test trigger classes for policy tests

return policy metadata along with the CEL program as a result of the call to Programs()

fix typo in PolicyMetadata

add debug code to parse runfiles dir

add logs

replaced path with runfile path

update file paths of data files with runfiles paths

fix test failures

fix build rule for external test data path

update file path used to register messages from file descriptor

updated build rule parameter documentation

refactor build rule
@aakash070 aakash070 force-pushed the add_cel_go_test_bazel_rule branch from 5b2b965 to 6f8147b Compare May 9, 2025 10:30
@aakash070 aakash070 requested a review from TristonianJones May 13, 2025 09:55
@TristonianJones TristonianJones merged commit b1209b8 into google:master May 20, 2025
2 checks passed
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