GoogleCloudPlatform / testgrid

Apache License 2.0
193 stars 68 forks source link

Use SearchConfiguredTargets when searching targets. #1278

Closed michelle192837 closed 5 months ago

michelle192837 commented 5 months ago

If searching for a target (as opposed to labels or other identifiers), we want to search for those results using a difference method (SearchConfiguredTargets, rather than SearchInvocations). Add the search method and use it if the query contains a target atom (and update the Prow label accordingly for this search).

Moved the query code into a separate package so it can be used in config validation without a circular dependency.

google-oss-prow[bot] commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: michelle192837

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/GoogleCloudPlatform/testgrid/blob/main/OWNERS)~~ [michelle192837] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
michelle192837 commented 5 months ago

/hold

Making one more small update.

michelle192837 commented 5 months ago

/hold cancel

michelle192837 commented 5 months ago

This is pushed to the wrong branch, closing and re-opening with a new one.