-
Notifications
You must be signed in to change notification settings - Fork 1
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
Integrate CLA Bot with FINOS Pure/Alloy instance of GitLab #35
Comments
Yay, first successful deployment! I'm adding below the list of operations (and GitLab/AWS configurations) I performed, would be great to add them to the project I'm going to play a bit with the bot now, so I can find a way to configure it for the Alloy initiative. Please find below the installation steps I followed and some simple suggestions to make deployment process smoother. AWS Setup
Create GitLab User
Checkout code and deploy
Set GitLab WebHook
GitLab project setup
Test the CLA bot
Known issues
Suggestions and improvements
|
Discovered a common issue with SAM; on every
Found a simple solution on https://www.npmjs.com/package/serverless-plugin-existing-s3 and submitted a PR on #36 |
I'm stuck on a 401 error logged in CloudWatch, when I hit
I tried to:
But none of the solutions seem to work; any idea what could be the issue? |
@ColinEberhardt @sehaswell - I did some good progress with the deployment, see #35 (comment) . However, I still get an error: Maybe I'm using the wrong configuration in Thank you in advance! |
Hi @maoo, The contributionVerifier module is next on my list of things to unit test, but I can see that it is looking for an object property "contributors" and then checking if the value is a URL so I suspect changing "contributorListUrl" to "contributors" might do the trick, or at least move you on to the next bug. For info I have mostly been testing against an array of Gitlab usernames that looks like:
|
Thanks @sehaswell , that worked! And I got a I had to use a gist file, because when I tried to use a file hosted by a GitLab repository, I got a 406:
Let me know if you experience this issue, meanwhile I'll contact GitLab support, as it may be something related with our installation. Question, is it possible to add basic authentication to that call, ie adding a username and password environment variables that can be wired in the call? This way, I could host the Thanks! |
Here's the gist I used as contributors list - https://gist.github.com/maoo/2b9c9deec284621940656cb22674ef37 |
Glad you've got there :) |
Thanks @sehaswell ! Please let me know if you manage to fetch the contributors list from a private GitLab repo; at FINOS we're currently using a public GitHub URL (see #38), which is not a viable solution. |
@sehaswell @strangerich - any update on this? I'm currently using a private GitLab repo to host the contributions.json file, but I still get the 406 ; did you have any luck using this setup? TIA |
Description
FINOS needs the GitLab CLA Bot team to help integrate the system into a private instance of GitLab to help complete the following development story ...
Contact Details
Please leave a comment on finos/open-developer-platform#15 when you're ready to engage or contact the following FINOS team members direct ...
The text was updated successfully, but these errors were encountered: