infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark McKenna (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16473) GitHub credentials
Date Tue, 08 May 2018 09:42:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467165#comment-16467165
] 

Mark McKenna commented on INFRA-16473:
--------------------------------------

[~cml] Consider this a report of a project hitting a rate limit when unauthenticated (see
attached) ... I agree with [~tbouron] using a personal account token is wrong



> GitHub credentials
> ------------------
>
>                 Key: INFRA-16473
>                 URL: https://issues.apache.org/jira/browse/INFRA-16473
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Thomas Bouron
>            Priority: Major
>         Attachments: Screen Shot 2018-05-03 at 09.06.08.png, Screen Shot 2018-05-08 at
10.37.31.png
>
>
> I’m looking to migrate our current Jenkins job to multibranch pipeline jobs (using
Jenkinsfile). Those type of jobs are nice as they handle all the branches you want + PRs automatically.
For this to work though, it requires valid GitHub credentials to scan the repos and branches
(to avoid hitting the rate API limits). However, there is no defined yet.
> I could create a personal access token for this but it feels very wrong.
> What are the best practices for this? How other projects manage that? Is it possible
for infra to create a set of credentials only for Jenkins use? Would be great!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message