jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
16 stars 10 forks source link

[INFRA-3145] Creds/token/key for pushing to infra-statistics' gh-pages branch #2690

Open jenkins-infra-bot opened 2 years ago

jenkins-infra-bot commented 2 years ago

As part of moving to using https://github.com/jenkins-infra/jenkins-usage-stats, we'll have a monthly job that will do the actual report generation, and will push the results to the gh-pages branch in https://github.com/jenkins-infra/infra-statistics. That means the job will need some creds that allow it to do that push.

I don't actually know what the state of the art for this kind of GitHub situation is these days - a deploy key in the repo? A carefully-scoped personal access token using some GH account or other? So I'll defer to you all - whatever you think best will work fine, so long as it lets us do a git push origin gh-pages to infra-statistics.git. Presumably this cred will be stored on infra.ci.jenkins.io?


Originally reported by abayer, imported from: Creds/token/key for pushing to infra-statistics' gh-pages branch
  • assignee: hlemeur
  • status: In Progress
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022/01/10
jenkins-infra-bot commented 2 years ago

hlemeur:

We'll make you a github app restricted to your application, and we'll give you access to it. It will be usable in Github Actions and/or Jenkins.

Part of https://github.com/jenkins-infra/jenkins-usage-stats/issues/2