-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add commit sha to create tag webhook payload #286
Comments
bkcsoft
added
type/bug
and removed
type/enhancement
An improvement of existing functionality
labels
Nov 28, 2016
Go @bkcsoft go ! :) |
This was referenced Nov 29, 2016
tag still not work, drone give back 404, when a tag delivery
|
Your webhook failed to deliver, so the drone log could be interesting. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Drone 0.5 can not support tag hooks from Gitea when no commit sha is present in the webhook payload.
Drone needs the commit sha to request the
.drone.yml
config file through the Gitea API.Drone issue link: harness/harness#1870
Desired webhook payload:
{ + "sha": "940bd336248efae0f9ee5bc7b2d5c985887b16ac", "ref": "v1.0.0", "ref_type": "tag", "repository": { "id": 1, "owner": { "id": 1, "username": "gordon", "full_name": "Gordon the Gopher", "email": "gordon@golang.org", "avatar_url": "https://secure.gravatar.com/avatar/8c58a0be77ee441bb8f8595b7f1b4e87" }, "name": "hello-world", "full_name": "gordon/hello-world", "description": "", "private": true, "fork": false, "html_url": "http://gogs.golang.org/gordon/hello-world", "ssh_url": "git@gogs.golang.org:gordon/hello-world.git", "clone_url": "http://gogs.golang.org/gordon/hello-world.git", "default_branch": "master", "created_at": "2015-10-22T19:32:44Z", "updated_at": "2016-11-24T13:37:16Z" }, "sender": { "id": 1, "username": "gordon", "full_name": "Gordon the Gopher", "email": "gordon@golang.org", "avatar_url": "https://secure.gravatar.com/avatar/8c58a0be77ee441bb8f8595b7f1b4e87" } }
The text was updated successfully, but these errors were encountered: