Skip to content

Appveyor OnPremise: pushing new tag in gitea does not create new build #3765

@DoLearnWhileAlive

Description

@DoLearnWhileAlive

Environment Information

AppVeyor: v7.0.3111
OS: Windows Server 2019

Gitea: gitea-1.15.8-windows-4.0-amd64.exe
OS: Windows Server 2016
GitVersion: 2.33.1
DB: SQLite

Issue Description

I have an on-prem gitea instance connected with on-prem AppVeyor server.
Creating a new tag for a gitea repo creates below webhook. AppVeyor responsis with 200 but no build is created and also no project event shows up in the AppVeyor Web GUI.

Do not build tags in GUI and skip_tags in appveyor.yml are not checked/set to true.

Problem occurs at least also with Gitea version 1.15.6. I was not able to test other Gitea version.

Gitea Webhook

{
  "ref": "refs/tags/new",
  "before": "0000000000000000000000000000000000000000",
  "after": "bdf92eabb47df1af44f893ae10e596962411e141",
  "compare_url": "https://gitea.test.net/",
  "commits": [],
  "head_commit": null,
  "repository": {
    "id": 53,
    "owner": {"id":21,"login":"iwo","full_name":"","email":"","avatar_url":"https://gitea.test.net/user/avatar/iwo/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2021-07-09T15:44:52+02:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"private","followers_count":0,"following_count":0,"starred_repos_count":0,"username":"iwo"},
    "name": "test",
    "full_name": "iwo/test",
    "description": "",
    "empty": false,
    "private": true,
    "fork": false,
    "template": false,
    "parent": null,
    "mirror": false,
    "size": 33,
    "html_url": "https://gitea.test.net/iwo/test",
    "ssh_url": "fct_infra_gituser@t-si.de:iwo/test.git",
    "clone_url": "https://gitea.test.net/iwo/test.git",
    "original_url": "",
    "website": "",
    "stars_count": 0,
    "forks_count": 1,
    "watchers_count": 9,
    "open_issues_count": 0,
    "open_pr_counter": 0,
    "release_counter": 3,
    "default_branch": "dev",
    "archived": false,
    "created_at": "2021-09-09T11:10:55+02:00",
    "updated_at": "2021-12-22T09:40:22+01:00",
    "permissions": {
      "admin": true,
      "push": true,
      "pull": true
    },
    "has_issues": true,
    "internal_tracker": {
      "enable_time_tracker": true,
      "allow_only_contributors_to_track_time": true,
      "enable_issue_dependencies": true
    },
    "has_wiki": true,
    "has_pull_requests": true,
    "has_projects": true,
    "ignore_whitespace_conflicts": false,
    "allow_merge_commits": true,
    "allow_rebase": true,
    "allow_rebase_explicit": true,
    "allow_squash_merge": true,
    "default_merge_style": "rebase",
    "avatar_url": "",
    "internal": false,
    "mirror_interval": ""
  },
  "pusher": {"id":9,"login":"testuser","full_name":"Testname TestSurname","email":"Testname.TestSurname@t-systems.com","avatar_url":"https://gitea.test.net/user/avatar/testuser/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2018-06-13T17:46:49+02:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":2,"username":"testuser"},
  "sender": {"id":9,"login":"testuser","full_name":"Testname TestSurname","email":"Testname.TestSurname@t-systems.com","avatar_url":"https://gitea.test.net/user/avatar/testuser/-1","language":"","is_admin":false,"last_login":"0001-01-01T00:00:00Z","created":"2018-06-13T17:46:49+02:00","restricted":false,"active":false,"prohibit_login":false,"location":"","website":"","description":"","visibility":"public","followers_count":0,"following_count":0,"starred_repos_count":2,"username":"testuser"}
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions