Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gRPC registry pod recreation #835

Conversation

njhale
Copy link
Member

@njhale njhale commented May 1, 2019

Addresses fixes deleted gRPC registry pod recreation; the other half of OLM-902.

  • Corrects a bad gRPC registry pod check causing them to not be recreated when missing
  • Factors out common fake client decorator options into separate package
  • Fixes some gRPC unit tests that were checking for internal catalog resources

This steals some test tools from #816 (e.g. k8s fake client decorator, simple name generator option)

- Add k8s fake client decorator
- Add shared options for k8s and olm decorators
- Add simple name generator option
- Use fake k8s decorator for reconciler tests
- Consolidate fake reconciler factory constructors
- Add gRPC registry pod check unit tests
- Refactor gRPC registry pod reconcile unit tests
@openshift-ci-robot openshift-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 1, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 1, 2019
@njhale njhale changed the title Fix registry recreation Fix gRPC registry pod recreation May 1, 2019
@ecordell
Copy link
Member

ecordell commented May 1, 2019

/retest

Copy link
Member

@ecordell ecordell left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 1, 2019
@njhale
Copy link
Member Author

njhale commented May 1, 2019

/retest

@njhale
Copy link
Member Author

njhale commented May 1, 2019

/hold

There's an issue with one of the postfix constant. Will fix.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 1, 2019
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label May 1, 2019
@njhale
Copy link
Member Author

njhale commented May 1, 2019

/hold cancel

Fixed the resource name postfixes.

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 1, 2019
Copy link
Member

@ecordell ecordell left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 1, 2019
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ecordell, njhale

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:

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

@ecordell
Copy link
Member

ecordell commented May 1, 2019

/test e2e-aws

@ecordell
Copy link
Member

ecordell commented May 1, 2019

/test e2e-aws-olm

@openshift-merge-robot openshift-merge-robot merged commit 06ba90e into operator-framework:master May 1, 2019
@njhale njhale deleted the fix-registry-recreation branch September 30, 2019 21:36
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants