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

Add more docs for "Github app" section of install #51

Closed
OmgImAlexis opened this issue Apr 20, 2018 · 8 comments
Closed

Add more docs for "Github app" section of install #51

OmgImAlexis opened this issue Apr 20, 2018 · 8 comments

Comments

@OmgImAlexis
Copy link

OmgImAlexis commented Apr 20, 2018

I'm a little stuck on the "Install Derek as a GitHub app" section as I can't find it on the marketplace as most "Github apps" are.

So then I'm guessing I have to create my own Github app? If so could you help with what these fields will needs to be filled with.

I already have a publicly facing openfaas gateway that I can use.

(Also might be an idea to link to the Github app registration page.)
https://github.com/settings/apps/new

 

screen shot 2018-04-20 at 3 09 56 pm
screen shot 2018-04-20 at 3 12 40 pm

screen shot 2018-04-20 at 3 10 07 pm

@OmgImAlexis
Copy link
Author

So I finally got it working.

2018/04/20 13:28:09 stderr: time="2018-04-20T13:28:09Z" level=fatal msg="No customer found for: pymedusa/test-repo"

Seems the customer list is hardcoded. Should I just disable it via the env?

request, _ := http.NewRequest(http.MethodGet, "https://raw.githubusercontent.com/alexellis/derek/master/.CUSTOMERS", nil)

@alexellis
Copy link
Owner

@OmgImAlexis are you trying to host your own Derek or use our shared SaaS?

@alexellis
Copy link
Owner

The documentation in this site says to contact me for access to the shared instance... I'll take this issue as you doing that. Look at the Slack channel #derek - it has the public URL where you can install the hosted GitHub app.

Get your own Derek robot
You can host and manage your own Derek robot using these instuctions, or use our managed service. To use our managed service get in touch with Alex Ellis for more info.

@alexellis
Copy link
Owner

I've updated the documentation to be clearer about contacting me for access and the steps to take afterwards. You're correct in saying that the app is not listed publicly, but we have another guard in place too which is now clearly written up.

More info on Derek here - https://blog.alexellis.io/derek/

@OmgImAlexis
Copy link
Author

I'm trying to use a self hosted copy of Derek that's deployed to my Openfaas server. Sorry I didn't make that clear.

With the customers file that also wasn't mentioned anywhere in the docs which threw me off until I read the Dockerfile.

I was hoping the docs page also showed which permissions would be needed for the different functions since when I first installed it there was no indication if it was doing anything at all as the logs don't print any human readable errors.

It'd be great for the docker container to log more useful info be default. Maybe I should open a separate issue on that?

@alexellis
Copy link
Owner

It'd be great for the docker container to log more useful info be default. Maybe I should open a separate issue on that?

While this sounds useful I'm not sure it's actionable. If there is a specific thing you'd like to do perhaps we can target that instead?

What is the reason for self-hosting over using the free SaaS version?

@OmgImAlexis
Copy link
Author

Mainly which feature was being used and by who I was expecting to see more of a HTTP type log instead of what was presented. The reason I wanted this is so I could parse the logs for my grafana install.

I like to self-host all of my infrastructure.

@alexellis
Copy link
Owner

Derek close: resolved

@derek derek bot closed this as completed May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants