woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.09k stars 354 forks source link

ISA: aarch64 vs arm64 #4051

Open Release-Candidate opened 3 weeks ago

Release-Candidate commented 3 weeks ago

Component

agent

Describe the bug

The Woodpecker agent registers itself as running on linux/aarch64

{
"message":"starting Woodpecker agent with version 'next-0b34578923' and backend 'docker' using platform 'linux/aarch64' running up to 1 pipelines in parallel"
}

and does not work when using the platform linux/arm64 in workflows.

Steps to reproduce

  1. Compile Woodpecker agent from the current main branch on AARCH64
  2. Install and configure the agent
  3. Setup a workflow which uses linux/arm64 as platform.
  4. Observe, that linux/aarch64 is not regarded the same as linux/arm64 by Woodpecker.

Expected behavior

Woodpecker recognizes arm64 and aarch64 as synonyms for the same CPU ISA or uses one of these consistently - the agent sets linux/arm64 on AARCH64.

System Info

Linux debian 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux
{
  "source": "https://github.com/woodpecker-ci/woodpecker",
  "version": "next-0b34578923"
}

Additional context

No response

Validations

zc-devs commented 3 weeks ago

Seems, the same as https://github.com/woodpecker-ci/woodpecker/discussions/2861 https://ci.daniil.it/repos/65/pipeline/1469/config