-
Notifications
You must be signed in to change notification settings - Fork 544
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
test(catalog): add e2e test to verify configmap changes are detected #670
test(catalog): add e2e test to verify configmap changes are detected #670
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold |
/lgtm cancel |
@njhale: I really want to buy one of those supermarket checkout dividers, but the cashier keeps putting it back. In response to this:
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. |
32103ac
to
68c52b7
Compare
/test e2e-aws |
@@ -55,8 +55,8 @@ var ( | |||
// NOTE: The $Format strings are replaced during 'git archive' thanks to the | |||
// companion .gitattributes file containing 'export-subst' in this same | |||
// directory. See also https://git-scm.com/docs/gitattributes | |||
gitVersion string = "v0.0.0-master+$Format:%h$" | |||
gitCommit string = "$Format:%H$" // sha1 from git, output of $(git rev-parse HEAD) | |||
gitVersion string = "v0.0.0-master+7d04d0e2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like client-go updated the way they generate version strings? What looks off to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it has changed? (Not sure which is the source of truth, but they are equal.)
https://github.com/kubernetes/client-go/blob/master/pkg/version/base.go#L58
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/pkg/version/base.go#L58
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we seeing the result of:
// NOTE: The $Format strings are replaced during 'git archive' thanks to the
// companion .gitattributes file containing 'export-subst' in this same
// directory. See also https://git-scm.com/docs/gitattributes
I wonder if k8s.io changed to start serving the git archive instead of the git repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe so, will assume that's correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nick's PR actually undoes the change in operator-registry, so maybe it was a mistake after all. - operator-framework/operator-registry#19.
32f031c
to
4bc3b50
Compare
/retest |
2 similar comments
/retest |
/retest |
/test e2e-aws-olm |
3 similar comments
/test e2e-aws-olm |
/test e2e-aws-olm |
/test e2e-aws-olm |
4a298d2
to
be8c631
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
and recorded on the catalogsource object. Also verifies that the pod is updated when the configmap changes.
grpc sourcetype takes a new `image` field which specifies an image which is expected to serve a registry API over grpc on port 50051.
we shouldn't process an installplan unless it has had its status set by the subscription resolver
and retrigger catalog sync if we attempt to resolve with an unhealthy catalog this should fix issues where subscriptions fail when created immedately after a catalog is updated
bf7ee9b
to
e441c1d
Compare
/retest |
1 similar comment
/retest |
/cc so I know when this merges, creates a lot of spam in the e2e runs |
/retest |
@smarterclayton Do all of our PRs create spam in the e2e runs? |
/lgtm |
[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 |
/retest |
1 similar comment
/retest |
…nges test(catalog): add e2e test to verify configmap changes are detected
and recorded on the catalogsource object
This was an attempt to replicate an issue marketplace was seeing, but the test appears to pass with no additional changes.