Skip to content

Support for Gitlab <12.4 broken #3598

@NPCDW

Description

@NPCDW

Component

server

Describe the bug

image
image
image
image

Do Woodpecker CI versions v2.4.0 and v2.4.1 drop support for lower versions of GitLab?

After clicking to add a repository, the page reports an error, but no error is logged in the logs.

This configuration operates perfectly in version v2.3.0. After upgrading to version v2.4.1, issues have emerged with functionalities related to adding repositories and other repository-related functions, whereas all other functionalities continue to operate normally.

After I reverted back to version v2.3.0, everything returned to normal again.

System Info

{
    "source": "https://github.com/woodpecker-ci/woodpecker",
    "version": "2.4.1"
}

GitLab Community Edition 11.0.3 aa62075
Docker version 24.0.6, build ed223bc
Docker Compose version v2.21.0

services:
  woodpecker-server:
    image: woodpeckerci/woodpecker-server:v2.4.1
    container_name: woodpecker-server
    ports:
      - 55555:8000
      - 55559:9000
    volumes:
      - ./data:/var/lib/woodpecker/
    environment:
      - TZ=Asia/Shanghai
      - WOODPECKER_HOST=http://10.10.10.2:55555
      - WOODPECKER_ADMIN=***,***
      - WOODPECKER_GITLAB=true
      - WOODPECKER_GITLAB_URL=
      - WOODPECKER_GITLAB_CLIENT=
      - WOODPECKER_GITLAB_SECRET=
      - WOODPECKER_AGENT_SECRET=
      - WOODPECKER_AUTHENTICATE_PUBLIC_REPOS=true
      - WOODPECKER_LOG_LEVEL=trace

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]

Metadata

Metadata

Assignees

No one assigned

    Labels

    forge/gitlabgitlab forge relatedwontfixthis will not be fixed/addressed, reason is in discussion

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions