Hi, I think drone have a strange behavior when I push a tag to him…
Let’s go… scenario:
1 - gogs 2018 Gogs Version: 0.11.88.0220
2 - drone(single) 1.0.0 rc6
I have a repo with some commits… I used the hello world .drone.yml file…
first drone activity
then I’ve added one step “pt”
then I restricted to run just on tag event… You can see that just the two first logs had run by a commit push… the others were by tag push…
In the log #7 we have five steps(clone,en,es,fr,pt) as log #2…
now it’s strange because the commit that v1.3 tag points at, has only 2 steps(clone,pt)
this is the last(#7) webhook
It seems that drone server doesn’t get the .drone.yml file of the same commit that this tag(v1.3) points at.
Is this the normal behavior?
This is the payload
{
"ref": "v1.3",
"ref_type": "tag",
"default_branch": "master",
"repository": {
"id": 1,
"owner": {
"id": 1,
"username": "gogs",
"login": "gogs",
"full_name": "",
"email": "gogs@local",
"avatar_url": "https://secure.gravatar.com/avatar/?d=identicon"
},
"name": "first_test",
"full_name": "gogs/first_test",
"description": "",
"private": false,
"fork": false,
"parent": null,
"empty": false,
"mirror": false,
"size": 102400,
"html_url": "http://x.x.x.x:3000/gogs/first_test",
"ssh_url": "ssh://git@gogs:2201/gogs/first_test.git",
"clone_url": "http://x.x.x.x:3000/gogs/first_test.git",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 1,
"open_issues_count": 0,
"default_branch": "master",
"created_at": "2019-03-12T18:27:29Z",
"updated_at": "2019-03-13T11:03:09Z"
},
"sender": {
"id": 1,
"username": "gogs",
"login": "gogs",
"full_name": "",
"email": "gogs@local",
"avatar_url": "https://secure.gravatar.com/avatar/?d=identicon"
}
}