Skip to content
Snippets Groups Projects

pipeline: support all Alpine architectures

Merged achill (fossdd) requested to merge fossdd/mrhlpr:full-alpine-archs into master
All threads resolved!
+ 1
4
@@ -10,17 +10,14 @@ def get_arch_alpine_native() -> str:
machine = platform.machine()
mapping = {
"aarch64": "aarch64",
"arm64": "aarch64",
"armv6l": "armhf",
"armv7l": "armv7",
"i686": "x86",
"riscv64": "riscv64",
"x86_64": "x86_64",
}
if machine in mapping:
return mapping[machine]
raise ValueError(f"Cannot map platform.machine '{machine}' to the right Alpine Linux arch")
return machine
def get_build_job(api_pipeline_jobs: dict) -> dict | None:
Loading