From 4d2610c22e4adda79c741d2d1615ed1aa893b412 Mon Sep 17 00:00:00 2001 From: Patrick Schratz Date: Tue, 30 Apr 2024 12:51:25 +0200 Subject: [PATCH] Allow running tests on arm64 runners (#2605) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: 6543 Co-authored-by: Robert Kaussow --- .woodpecker/binaries.yaml | 3 ++- .woodpecker/docker.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker/binaries.yaml b/.woodpecker/binaries.yaml index cc2296619..6312cdc17 100644 --- a/.woodpecker/binaries.yaml +++ b/.woodpecker/binaries.yaml @@ -4,7 +4,8 @@ when: variables: - &golang_image 'docker.io/golang:1.22.2' - &node_image 'docker.io/node:22-alpine' - - &xgo_image 'docker.io/techknowlogick/xgo:go-1.22.1' + # TODO: switch back to upstream image after https://github.com/techknowlogick/xgo/pull/224 got merged + - &xgo_image 'docker.io/pats22/xgo:go-1.22.1' - &xgo_version 'go-1.21.2' steps: diff --git a/.woodpecker/docker.yaml b/.woodpecker/docker.yaml index 09ae867ec..abedad407 100644 --- a/.woodpecker/docker.yaml +++ b/.woodpecker/docker.yaml @@ -1,7 +1,8 @@ variables: - &golang_image 'docker.io/golang:1.22.2' - &node_image 'docker.io/node:22-alpine' - - &xgo_image 'docker.io/techknowlogick/xgo:go-1.22.1' + # TODO: switch back to upstream image after https://github.com/techknowlogick/xgo/pull/224 got merged + - &xgo_image 'docker.io/pats22/xgo:go-1.22.1' - &xgo_version 'go-1.21.2' - &buildx_plugin 'docker.io/woodpeckerci/plugin-docker-buildx:3.2.1' - &platforms_release 'linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/amd64,linux/ppc64le,linux/riscv64,linux/s390x,freebsd/arm64,freebsd/amd64,openbsd/arm64,openbsd/amd64'