Closed sah-anshu closed 5 months ago
I'm also facing the same issue, not having the option for github.
same here, any word? @aonnikov
Hey! Github integration is not available for self-hosted deployments. It requires Huly github integration app that exists as a single instance and is configured to work on huly.io only.
@sah-anshu you can disable bitrix plugin by running this command:
rushx run-local configure workspace-name --disable bitrix
Hey! Github integration is not available for self-hosted deployments. It requires Huly github integration app that exists as a single instance and is configured to work on huly.io only.
Probably the worst decision ever, my only interest in this project was that it was self-hosted and had Github integration, guess it's back to the drawing board as I'm going to now have to drop this solution from our deployment.
We can't satisfy everyone, there are people who want to use open-source solutions and do not want to work with any commercial providers such as Google or GitHub. So here we provide configuration which rely on open source tools and projects. If you want to integrate your self-hosted deployment with Google, GitHub, Telegram or anything else, you're free to do it. All these services are open-source and available in the platform
repository.
Is GitHub integration being planned for self-hosted instances? Just spun up a self-hosted instance of Huly today and GitHub is in the integration list, however, there aren't any instructions on configuring the CLIENT_ID and CLIENT_SECRET in the account env variables, so trying to integrate it ends up redirecting you to GitHub auth with a blank client_id and login.
@channingbabb I ended up opting to use OpenProject instead, unless they add this in standard to the self-hosted version it's just less hassle then trying to figure out how to launch Huly platform other than locally.
Is GitHub integration being planned for self-hosted instances? Just spun up a self-hosted instance of Huly today and GitHub is in the integration list, however, there aren't any instructions on configuring the CLIENT_ID and CLIENT_SECRET in the account env variables, so trying to integrate it ends up redirecting you to GitHub auth with a blank client_id and login.
As of now, all our code is open sources and all services that we have in Huly can be set up locally, though not all of them were supposed to be self-hosted 😄 So, yes, it is possible to configure Github integration for self-hosted instance and there are couple of people in the community who did this. But like with other services, it requires a bit of configuration in Huly and in your Github account.
@channingbabb I ended up opting to use OpenProject instead, unless they add this in standard to the self-hosted version it's just less hassle then trying to figure out how to launch Huly platform other than locally.
Thank you for mentioning this @Fibbicles. I actually tried OpenProject out first, just could not get past their UI. Hope it works out for you.
Is GitHub integration being planned for self-hosted instances? Just spun up a self-hosted instance of Huly today and GitHub is in the integration list, however, there aren't any instructions on configuring the CLIENT_ID and CLIENT_SECRET in the account env variables, so trying to integrate it ends up redirecting you to GitHub auth with a blank client_id and login.
As of now, all our code is open sources and all services that we have in Huly can be set up locally, though not all of them were supposed to be self-hosted 😄 So, yes, it is possible to configure Github integration for self-hosted instance and there are couple of people in the community who did this. But like with other services, it requires a bit of configuration in Huly and in your Github account.
Oh, cool! Was there a discussion about setting GitHub integration up (maybe in an issue, PR, etc)? I do think that the only thing that's making this difficult is not knowing what environment variables are being pointed to the client id, secret, and redirect. I currently have it pointing at account.GITHUB_CLIENT_ID/account.GITHUB_CLIENT_SECRET but that doesn't seem to be what it is pointing at. I'll sift through the main Huly repo and see if I can figure it out later today/tomorrow. @Fibbicles I'll ping you if I figure it out just in case you're wanting to try it out as well.
Front Environment Variables:
I did verify that setting GITHUB_CLIENTID in the front environment variables let me do the GitHub integration, just getting an internal server error. Going to test a bit more and see what the issue is.
Account Environment Variables: It does seem like account also needs these environment variables, I did already have these set.
Follow these instructions for the GITHUB_APP: https://github.com/hcengineering/platform/blob/5061856f1264a26007d4b0c9b6b516faf525470a/services/github/pod-github/Readme.md?plain=1#L61
@Fibbicles @pukimaa
@channingbabb I can share our config with redacted values so you guys can see what you need to add to the config to get github integration working.
@channingbabb I can share our config with redacted values so you guys can see what you need to add to the config to get github integration working.
That would be super helpful!
@channingbabb I can share our config with redacted values so you guys can see what you need to add to the config to get github integration working.
That would be super helpful!
As you noticed, the account
service requires some env variables related to Github, but these are for authentication, not for integration.
So basically, you need to do two things.
github
container. Below you can find an example of configuration (not important parts of config is omitted for clarity). Ensure that 3500 port is accessible from outside of your network, the service exposes webhook endpoint, that is used to listen for github updates. github:
image: hardcoreeng/github
ports:
- 3500:3500
environment:
- ACCOUNTS_URL=http://localhost:3000
- COLLABORATOR_URL=ws://collaborator:3078
- FRONT_URL=http://localhost:8087
- DB_URL=mongodb://mongodb:27017
- MONGO_URL=mongodb://mongodb:27017
- SERVER_SECRET=secret
- STORAGE_CONFIG=minio|minio?accessKey=minioadmin&secretKey=minioadmin
- PORT=3500
- APP_ID=<your-app-id>
- BOT_NAME=<your-unique-bot-name>
- CLIENT_ID=<your-client-id>
- CLIENT_SECRET=<your-client-secret>
- PRIVATE_KEY=<your-private-key>
- WEBHOOK_SECRET=<your-webhook-secret>
restart: unless-stopped
...
Front Environment Variables:
- GITHUB_CLIENTID
- GITHUB_APP
I did verify that setting GITHUB_CLIENTID in the front environment variables let me do the GitHub integration, just getting an internal server error. Going to test a bit more and see what the issue is.
Account Environment Variables: It does seem like account also needs these environment variables, I did already have these set.
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
Follow these instructions for the GITHUB_APP: https://github.com/hcengineering/platform/blob/5061856f1264a26007d4b0c9b6b516faf525470a/services/github/pod-github/Readme.md?plain=1#L61
@Fibbicles @Pukimaa
Did you manage to get your installation working?
Front Environment Variables:
- GITHUB_CLIENTID
- GITHUB_APP
I did verify that setting GITHUB_CLIENTID in the front environment variables let me do the GitHub integration, just getting an internal server error. Going to test a bit more and see what the issue is. Account Environment Variables: It does seem like account also needs these environment variables, I did already have these set.
- GITHUB_CLIENT_ID
- GITHUB_CLIENT_SECRET
Follow these instructions for the GITHUB_APP: https://github.com/hcengineering/platform/blob/5061856f1264a26007d4b0c9b6b516faf525470a/services/github/pod-github/Readme.md?plain=1#L61 @Fibbicles @Pukimaa
Did you manage to get your installation working?
I tried a day or two after @aonnikov showed the configuration, but even after the GitHub container, wasn't able to get it working properly. It goes to the integrations GitHub screen correctly and asks for authorization, I granted it, but just seems like Huly isn't picking up on any repositories even though the app has access to two. I'll probably take another look into it sometime next week. Maybe there'll be more information about it by then.
Same here, keep getting stuck here
I can see the logs getting the webhook data but the connection will not work
Hi Team,
How can i remove bitrix24 and add Github Integration?
Thanks in advance.