shyiko / gitlab-ci-build-on-merge-request Goto Github PK
View Code? Open in Web Editor NEWMissing "build on Merge Request" feature of Gitlab CI
Home Page: https://gitlab.com/gitlab-org/gitlab-ci/issues/360
Missing "build on Merge Request" feature of Gitlab CI
Home Page: https://gitlab.com/gitlab-org/gitlab-ci/issues/360
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.