-
Notifications
You must be signed in to change notification settings - Fork 121
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
WIP: Use go-github client to replace rest request for pubsubhubbub #379
Conversation
/test tekton-experimental-unit-tests |
Just had a go with this on Docker Desktop, the hook gets made but I see
I don't see any logs from my EventListener. Redelivered and it's green and all is well |
Give it another spin .... likely caused by eventlistener not being up and running before the webhook is created - I've added in a loop checking the eventlistener deployment for readiness .... the loop checks over a period of 30 seconds, breaking when the eventlistener is ready .... after 30 seconds the code continues to create the webhook - so you could still get the 503. Debatable as to whether this is correct behavior or not. |
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.
Gave this a try, all good now
/approve
Can lgtm once we're ready and we get a test pass (a new flaky unrelated to this I'm guessing)
Hmm, seeing
I1205 10:12:17.702] --- FAIL: Test_createOpenshiftRoute (0.00s)
I1205 10:12:17.703] --- FAIL: Test_createOpenshiftRoute/OpenShift_Route (0.00s)
I1205 10:12:17.703] webhook_test.go:945: Route mismatch (-want +got):
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a-roberts 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 |
/test tekton-experimental-unit-tests |
/lgtm |
Issue #362
Changes
Rather than changing to use the Hooks API via a REST request - these changes move to using the go-github library for interacting with GitHub.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.