From dfa2a0d1b0ca734d66f2562cfbd3d117da5488b4 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Wed, 12 Jan 2022 22:08:05 +1100 Subject: [PATCH] ci(buildkite): use armv7l architecture and ignore check (#2792) * ci(buildkite): use armv7l architecture and ignore check * fix: only ignore architecture check for armhf --- .buildkite/steps/debhelper.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/steps/debhelper.sh b/.buildkite/steps/debhelper.sh index 7ea6860f9..b5d14c026 100755 --- a/.buildkite/steps/debhelper.sh +++ b/.buildkite/steps/debhelper.sh @@ -12,15 +12,15 @@ wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=authelia-bin -qO PK sed -i -e '/^pkgname=/c pkgname=authelia' -e "/pkgver=/c $VERSION" -e '10,14d' \ -e 's/source_x86_64.*/source_x86_64=("authelia-linux-amd64.tar.gz")/' \ -e 's/source_aarch64.*/source_aarch64=("authelia-linux-arm64.tar.gz")/' \ --e 's/source_armv7h.*/source_armv7h=("authelia-linux-arm.tar.gz")/' \ +-e 's/source_armv7h.*/source_armv7l=("authelia-linux-arm.tar.gz")/' \ -e 's/sha256sums_x86_64.*/sha256sums_x86_64=("SKIP")/' \ -e 's/sha256sums_aarch64.*/sha256sums_aarch64=("SKIP")/' \ --e 's/sha256sums_armv7h.*/sha256sums_armv7h=("SKIP")/' PKGBUILD +-e 's/sha256sums_armv7h.*/sha256sums_armv7l=("SKIP")/' PKGBUILD if [[ "${PACKAGE}" == "amd64" ]]; then docker run --rm -v $PWD:/build authelia/aurpackager bash -c "cd /build && makedeb" elif [[ "${PACKAGE}" == "armhf" ]]; then - docker run --rm --platform linux/arm/v7 -v $PWD:/build authelia/debpackager bash -c "cd /build && makedeb" + docker run --rm --platform linux/arm/v7 -v $PWD:/build authelia/debpackager bash -c "cd /build && makedeb -A" else docker run --rm --platform linux/arm64 -v $PWD:/build authelia/debpackager bash -c "cd /build && makedeb" fi