Git Product home page Git Product logo

gitlab-ci-build-on-merge-request's People

Contributors

pzehner avatar shyiko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gitlab-ci-build-on-merge-request's Issues

Running on Heroku

Hi @shyiko,
I'm trying to run this script on a server, specified on Heroku. Everything seems going well when doing a test webhook from gitlab integration section, response 200. But the server gets timeout(H12) issue when I open a merge request in gitlab. The server was using a free web dyno.

Have you ever tried this yet? or any ideas to resolve the issue?
Sorry for bothering. I'm new to the backend.
Thanks.

Deserialize response error

Hi,

I'm getting the below error continuously when opening a merge request on gitlab.

WARN: Failed to deserialize response of GET https://gitlab.xxx.com/api/v4/projects/894/repository/commits/3f51d0d5aced9db8b45b8690d9d7b5f11b672677/statuses?private_token=xxx (json: cannot unmarshal object into Go value of type []main.build)

Seem like the gitlab API json response has been updated in some fields.
Any ideas to resolve it is very much appreciated. Thanks.

Allow to not check SSL certificate

Hello, thank you for your tool!

If the Gitlab instance runs with a self-signed SSL certificate, the web hook refuses to communicate with it, hence in the logs:

2018/12/04 06:57:58 WARN: Get <<url>>: x509: certificate signed by unknown authority

Which is produced by line 102.

It would be nice to add an extra command line to disable SSH certificate checks.

Pipeline always gets stuck

Hi
I am trying to get this working and have followed the instructions but a merge request always results in a stuck pipeline
This is my yaml file
`build:
script:
- ...
only:
- master
- atest
- triggers
- /^release-.*$/
'
I have added a webhook -

Webhooks (1)

http://192.168.100.213:1234
Merge Requests Events

I then run this command on the remote
go run gitlab-ci-build-on-merge-request.go -private_token s5F1GozW2pj79cmxzRV2 -url 192.168.100.235 -port 1234

If I test the webhook on gitlab it tells me that it executed but returned 404

Please can you tell me what I have wrong or how I can debug

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.