-
Notifications
You must be signed in to change notification settings - Fork 167
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
0 buils founds with GitLab #79
Comments
@datakurre Do you have any idea what could be wrong with the configuration? |
@aborderon Could you try to debug the app to see what could be wrong? |
Yes @marcells , I found the problem, this is the self-signed certificate that I use with Gitlab. In the request.js, the I managed to access my GitLab builds by adding the line just below the exports module of GitLab.js but it is not an acceptable resolution : Do you have a better solution? |
Hm, that's just an environment variable. Please remove your change from If you use the executable, just set it in your shell before starting the build-monitor. If you use docker, then take a look here how to define an environment variable. Please let me know, if it worked. |
Hello, thank you for your answer. I run node-build-monitor with docker with the following command and it work:
It would be necessary to add documentation for self signed certificates I think. I will try to make a pull request to adding docker-compose support. I would take this opportunity to add a configuration with self signed certificates. Thanks again ! |
Nice to hear! I did update the docs right now. Feel free to make a PR for docker-compose support. |
Can I somehow set NODE_TLS_REJECT_UNAUTHORIZED=0 when running the standalone version? Or can you update the standalone version with this setting? I tried setting it as a Windows environment variable but I still get 0 builds found... |
Hm, that should work. At least for the Linux build I tested it. Did you set it on cmd with I did create a new version right now, which outputs the important environment variables, when you start the monitor. |
Hi Marcells, thank for your reply! Yes I tried that and the variable is printed and set to 0:
Now I instead get "check for builds.." and "node-build-monitor is listening on port ... " but there is no message about number of builds? With version 9.2 I get
|
So there was a response with 0 builds now. Could it be, that your configuration is wrong? |
Hi I'm having this same problem. The server is running but I can't see in any logs why no builds are fetched. Only output I git from docker-compose logs is this:
I've tried setting NODE_TLS_REJECT_UNAUTHORIZED: 0 under service: node-build-monitor: environment in docker-compose.with-tfs-proxy.yml. Still nothing happens :/. My config looks like this:
Any idea what I could be doing wrong? Ok it seems i was using the wrong kind of token (readonly before - now api). No builds appear on the server but at least now i get an error:
|
Hello,
I have a small problems to run node-build-monitor with GitLab.
I use Docker in production, so I have a Dockerfile and a config.js like :
but I have no results on the website and in my docker logs I get :
$ docker logs --tail all node-build-monitor
For information, my Gitlab uses a self-signed certificate.
Thank you for your help ;)
The text was updated successfully, but these errors were encountered: