Skip to content
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

Research task: automate creation of GitHub App #70

Open
alexellis opened this issue Jul 3, 2018 · 8 comments
Open

Research task: automate creation of GitHub App #70

alexellis opened this issue Jul 3, 2018 · 8 comments

Comments

@alexellis
Copy link
Owner

Can we make development and testing easier by automating the creation/config of the Github App via the GitHub API?

Ideal flow:

  • User creates personal access_token
  • User runs derek --provision-app --name="Derek PR 68"
  • GitHub App created and then access token revoked?
@alexellis
Copy link
Owner Author

If we can do this with curl I think that's OK too, updating the CLI is of lower priority.

@alexellis
Copy link
Owner Author

@rgee0 I can't assign issues on a personal repo, but would you be willing to take this on with your automation experience it might make sense?

@alexellis
Copy link
Owner Author

I put this together for OpenFaaS Cloud, someone could send me a PR to add an option for Derek? https://github.com/alexellis/github-app

@Waterdrips
Copy link
Contributor

@alexellis I would like to take this one

@alexellis
Copy link
Owner Author

alexellis commented Jan 17, 2020

I would assume you can copy my approach or vendor it from ofc-bootstrap?

https://github.com/openfaas-incubator/ofc-bootstrap/blob/6ea58839a0c615e457cae37dc99cd6cd70a3dbc2/cmd/create_github.go#L22

@Waterdrips
Copy link
Contributor

yep - looks like a nice easy one to get me started on the Derek codebase

@alexellis
Copy link
Owner Author

This is lower priority IMHO than the overrides and merge feature, esp. as we offer a hosted version of Derek now.

@Waterdrips
Copy link
Contributor

yep, iv put it low on my list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants