-
Notifications
You must be signed in to change notification settings - Fork 225
Conversation
This pull request introduces 1 alert and fixes 1 when merging 39dd9cd into 420d1fa - view on LGTM.com new alerts:
fixed alerts:
|
/hold |
This pull request introduces 1 alert and fixes 1 when merging a83b785 into 9aa4097 - view on LGTM.com new alerts:
fixed alerts:
|
/unhold |
/retest |
This pull request fixes 1 alert when merging 7313ac0 into c927926 - view on LGTM.com fixed alerts:
|
/assign |
|
||
func main() { | ||
ctx := webhook.WithOptions(signals.NewContext(), webhook.Options{ | ||
ServiceName: "gitlab-source-webhook", |
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.
why not logconfig.WebhookName()
and ensure we match the name passed to sharedmain.WebhookMainWithContext
?
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.
aha, you've named it gitlab-source-webhook
in the service yaml, gotcha 👍
} | ||
|
||
// New instantiates a new gitlab client from the access token from the GitLabBinding | ||
func New(ctx context.Context) (*gitlab.Client, error) { |
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 is awesome! One realization I had this morning (and was chatting with @lberk about) was aligning the changes we make to the environment with existing tooling. e.g. in the case of GitHubBinding, I think we should support the hub
CLI. Not sure if there is a Gitlab equivalent, or if it's auth is flexible enough to just trivially add this, but here's the Github issue: #1185
/lgtm |
This pull request fixes 1 alert when merging 82e0bef into 23d4d5a - view on LGTM.com fixed alerts:
|
The following is the coverage report on the affected files.
|
This pull request fixes 1 alert when merging 9886ba3 into 23d4d5a - view on LGTM.com fixed alerts:
|
/retest |
/lgtm |
/assign @chaodaiG |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chaodaiG, lberk, tzununbekov 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 |
@tzununbekov: The following test failed, say
Full PR test history. Your PR dashboard. 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. |
Fixes #1149
Basically, a shameless copy of GitHubBinding
Release Note