From: Michael Howe Date: Mon, 10 Apr 2023 11:08:57 +0000 (+0100) Subject: Update to 2.8.0, add arm64 architecture X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=287d80c55a383c9810528a9c0cc7795a0b7c5f00;p=packages%2Fp%2Fpromtail.git Update to 2.8.0, add arm64 architecture --- diff --git a/Makefile b/Makefile index fc87836..cd6ea78 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ prefix = /usr # do some juggling to account for arm/armhf differences in names BUILDARCH_amd64 = amd64 BUILDARCH_armhf = arm +BUILDARCH_arm64 = arm64 BUILDARCH = ${BUILDARCH_${DEB_BUILD_ARCH}} build: diff --git a/debian/changelog b/debian/changelog index 50dfe8f..53e94ae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +promtail (2.8.0+internal.0) unstable; urgency=medium + + * New upstream release, 2.8.0 + + -- Michael Howe Mon, 10 Apr 2023 12:08:12 +0100 + promtail (2.7.4+internal.0) unstable; urgency=medium * Initial Release. diff --git a/download/promtail-linux-amd64-2.8.0.zip b/download/promtail-linux-amd64-2.8.0.zip new file mode 100644 index 0000000..e69de29 diff --git a/download/promtail-linux-amd64-v2.7.4.zip b/download/promtail-linux-amd64-v2.7.4.zip deleted file mode 100644 index e036ee7..0000000 Binary files a/download/promtail-linux-amd64-v2.7.4.zip and /dev/null differ diff --git a/download/promtail-linux-amd64-v2.8.0.zip b/download/promtail-linux-amd64-v2.8.0.zip new file mode 100644 index 0000000..cc2c310 Binary files /dev/null and b/download/promtail-linux-amd64-v2.8.0.zip differ diff --git a/download/promtail-linux-arm-v2.7.4.zip b/download/promtail-linux-arm-v2.7.4.zip deleted file mode 100644 index a1e696e..0000000 Binary files a/download/promtail-linux-arm-v2.7.4.zip and /dev/null differ diff --git a/download/promtail-linux-arm-v2.8.0.zip b/download/promtail-linux-arm-v2.8.0.zip new file mode 100644 index 0000000..39b00a7 Binary files /dev/null and b/download/promtail-linux-arm-v2.8.0.zip differ diff --git a/download/promtail-linux-arm64-v2.8.0.zip b/download/promtail-linux-arm64-v2.8.0.zip new file mode 100644 index 0000000..c1a6b9d Binary files /dev/null and b/download/promtail-linux-arm64-v2.8.0.zip differ diff --git a/extract/promtail-linux-amd64 b/extract/promtail-linux-amd64 index 842dfc8..a485998 100755 Binary files a/extract/promtail-linux-amd64 and b/extract/promtail-linux-amd64 differ diff --git a/extract/promtail-linux-arm b/extract/promtail-linux-arm index 78aecc8..5d9d1d6 100755 Binary files a/extract/promtail-linux-arm and b/extract/promtail-linux-arm differ diff --git a/extract/promtail-linux-arm64 b/extract/promtail-linux-arm64 new file mode 100755 index 0000000..2291890 Binary files /dev/null and b/extract/promtail-linux-arm64 differ diff --git a/update-version b/update-version index f33d391..45e208a 100755 --- a/update-version +++ b/update-version @@ -6,7 +6,7 @@ set -u # eg v2.7.4 VER=$1 -ARCHES=('amd64' 'arm') +ARCHES=('amd64' 'arm' 'arm64') mkdir -p extract/ mkdir -p download/ @@ -15,5 +15,5 @@ for arch in "${ARCHES[@]}"; do DOWNLOAD_URL="https://github.com/grafana/loki/releases/download/${VER}/promtail-linux-${arch}.zip" ZIPFILE="download/promtail-linux-${arch}-${VER}.zip" wget -O "${ZIPFILE}" "${DOWNLOAD_URL}" - unzip "${ZIPFILE}" -d extract/ + unzip -o "${ZIPFILE}" -d extract/ done