Skip to content
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

can't trigger the pipeline from Gogs webhook #86

Open
MohamedElso opened this issue Apr 7, 2018 · 2 comments
Open

can't trigger the pipeline from Gogs webhook #86

MohamedElso opened this issue Apr 7, 2018 · 2 comments

Comments

@MohamedElso
Copy link

hello,
i have this configured in my gogs for webhook
https://openshift.default.svc.cluster.local/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/XPSJjqRT/generic
it created automatically but it doesn't trigger the pipeline and i got this message in test delivery in gogs
Delivery: Post https://openshift.default.svc.cluster.local/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/xyz/generic: x509: certificate signed by unknown authority

i tried to change it to the url of the pipeline from openshift but didn't work also

https://master.openshift.xyz.com/oapi/v1/namespaces/cicd/buildconfigs/tasks-pipeline/webhooks/xyz/generic
it complains about certs .

anybody have an idea about how to solve this issue ?

thanks

@Johnny2136
Copy link

I have the same issue a push to gogs should trigger a build and it doesn't.

@maltron
Copy link

maltron commented Sep 16, 2018

The problem is with Gogs. When deploying Gogs, use the option: SKIP_TLS=True. This will allow you to post webhooks and "skip tls" security.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants