Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Jun 29, 2020

Decluttering the root verify package and making it more store-agnostic.

I've also replaced the ClientBuilder interface with a single HTTPClient function type, which removes the need for verifyClientBuilder and other wrappers. I'm also adding a rate-limiter around the client builder to avoid pounding away at that logic, even if it's mostly fed through informers (so should be no API-call reduction, but will save some local CPU cycles).

Spun off from my earlier 0cc3e41 as another nibbly bit (hopefully easy to review), now that the bulk of the earlier change has landed via #294. Still to go after this change will be a similar sub-package for the file store, or deprecating the file store in favor of #294's memory store for unit testing.

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 29, 2020
@wking
Copy link
Member Author

wking commented Jun 29, 2020

/assign @jottofar

Since he'd reviewed #393 and will be familiar with all of this.

@wking wking force-pushed the push-http-signature-store-to-subpackage branch from ac60956 to d8afaa3 Compare June 29, 2020 22:32
Decluttering the root verify package and making it more
store-agnostic.

I've also replaced the ClientBuilder interface with a single
HTTPClient function type, which removes the need for
verifyClientBuilder and other wrappers.  I'm also adding a
rate-limiter around the client builder to avoid pounding away at that
logic, even if it's mostly fed through informers (so should be no
API-call reduction, but will save some local CPU cycles).
@wking wking force-pushed the push-http-signature-store-to-subpackage branch from d8afaa3 to e5a075b Compare June 29, 2020 23:14
@jottofar
Copy link
Contributor

/lgtm
/retest

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jottofar, wking

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jul 10, 2020

@wking: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws e5a075b link /test e2e-aws
ci/prow/e2e-gcp e5a075b link /test e2e-gcp
ci/prow/e2e-gcp-upgrade e5a075b link /test e2e-gcp-upgrade

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 5c6d72c into openshift:master Jul 10, 2020
@wking wking deleted the push-http-signature-store-to-subpackage branch July 21, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants