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

GitHub Enterprise support #92

Open
tristanbes opened this issue Jun 11, 2018 · 14 comments
Open

GitHub Enterprise support #92

tristanbes opened this issue Jun 11, 2018 · 14 comments

Comments

@tristanbes
Copy link

Hello,

We're soon migrating from Github SAAS to Github Entreprise.
Is WIP app supported on Gtihub Entreprise ?

Thank you :-)

@gr2m
Copy link
Collaborator

gr2m commented Jun 11, 2018

I think so, as long as you use the latest version of WIP. I also created a docker image but that part is new to me so might be a little outdated. Please let me know if there is anything I can do to make it easier for you.

I want to look into using replicated.com for the enterprise version. It will be either free or I’ll donate all revenue for it to https://railsgirlssummerofcode.org

@tristanbes
Copy link
Author

tristanbes commented Jun 12, 2018

I think so, as long as you use the latest version of WIP

You mean a local installation of WIP should do it right ?

Thanks for the answer

@gr2m
Copy link
Collaborator

gr2m commented Jun 12, 2018

Oopps sorry that was confusing I meant the latest version of GitHub Enterprise :)

@bbatha
Copy link

bbatha commented Jul 6, 2018

It works on our 2.13 instance.

@gr2m
Copy link
Collaborator

gr2m commented Jul 6, 2018

@bbatha how do you set it up locally? I wonder if there is something I can do to make that process easier? I was looking into creating a docker image and maybe setup https://www.replicated.com/, but I don’t have experience with any of it. Do you have any recommendations?

@bbatha
Copy link

bbatha commented Jul 10, 2018

We have an internal heroku like service that can use heroku buildpacks. We're just using the standard node buildpack through the auto-detection features to deploy it. We didn't need to do anything special.

I've installed a few tools using replicated, its a fairly easy experience as a consumer. I've never bundled anything with it. But it might be overkill for an opensource project that's just a single small service. A simple docker container is probably sufficient for this.

@tristanbes
Copy link
Author

So, would it be possible to have installation steps to guide users/adminsys please ? I'm confused here.

@gr2m
Copy link
Collaborator

gr2m commented Oct 24, 2018

I’d love help to create a docker image for the app, I’ve no idea about containers :D

@gr2m gr2m changed the title Is github entreprise supported ? GitHub Enterprise support Oct 26, 2018
@HaydenMeloche
Copy link
Contributor

@gr2m Any work you have in mind here? I've setup probot apps before on GHE

@gr2m
Copy link
Collaborator

gr2m commented Feb 4, 2019

Anything you can share about it? I’d love to see how it works

@HaydenMeloche
Copy link
Contributor

HaydenMeloche commented Feb 4, 2019

Sure. The process is very similar to setting up an app manually.
GHE currently doesn't support what probot does to automate the creation of repos (the app.yml file).

So essentially you need to manually make a github app on your enterprise account. Set all the perms you would like.
Once the app is created you then need to generate the key (pem file) and place it in the root of the project
Then fill out the .env file with details required.
The last thing I did was I added GHE_HOST=mycompanygithub.com to my .env file to redirect it to my on prem GHE.

Since where I work security is a big concern I setup my own version of the smee server internally and have the app point to that.

I could write up more detailed instructions if you wanted. That is the jist of it though.

@gr2m
Copy link
Collaborator

gr2m commented Feb 4, 2019

I think it would make a great blog post: "How to package your probot app for GitHub Enterprise".

It sounds like you do it for your own GHE instance. For WIP, I’d be more interested in providing the most simple way possible to run WIP with their GHE instance. I don’t know what the best practise is here, I assume it’s a Docker image, but I don’t know. And if it is a Docker image, what would it look like to help with the setup, etc

@HaydenMeloche
Copy link
Contributor

Yeah, I and a few others built our own little probot app and that's the process I went through to get it working.

Since the automated way isn't supported a Docker image wouldn't make the setup any easier I feel. Someone would still have to manually setup the app on GHE and fill out the env file. But it would make deployment easier & you could pass the above info into docker.
https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file

@gr2m
Copy link
Collaborator

gr2m commented Feb 8, 2020

If anyone is interested, I'd love a Dockerfile and documentation on how to deploy the WIP for GitHub Enterprise Server. I don't have a GHES instance available myself for testing

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

4 participants