[arch-commits] Commit in loki/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Mon Jun 6 16:03:39 UTC 2022


    Date: Monday, June 6, 2022 @ 16:03:39
  Author: foutrelis
Revision: 1226801

upgpkg: loki 2.5.0-1: fix tests and upload new release

Modified:
  loki/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++++
 1 file changed, 10 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-06 16:02:07 UTC (rev 1226800)
+++ PKGBUILD	2022-06-06 16:03:39 UTC (rev 1226801)
@@ -13,10 +13,14 @@
 options=('!lto')
 source=($pkgname-$pkgver.tar.gz::https://github.com/grafana/loki/archive/v$pkgver.tar.gz
         $pkgname-go1.18.patch::https://github.com/grafana/loki/commit/d0160cb09c1e.patch
+        $pkgname-gcs-use-fake-creds-in-tests.patch::https://github.com/grafana/loki/commit/c0cc004333b1.patch
+        $pkgname-use-fake-creds-in-storage-tests.patch::https://github.com/grafana/loki/commit/a877febf75be.patch
         promtail.sysusers promtail.service promtail.tmpfiles
         loki.sysusers loki.service loki.tmpfiles)
 sha512sums=('1a37cc3f5685d822e4ddc9d733505905ee4ef8f664e78954a69d34b5cab90b2dd82133bd309da2d98e7235ead1d952815f76dbd6ec655ebd26027506238fa7a3'
             '5f06db86127d5601b37bea65decd469b6d1b126bddfcaf1dd85b0c074b6c1ed30e0d96d2b331399154bb2e7a72ed0edb3d9ea1bc62e8986d40148ba4caa2dacf'
+            '20fe843571e5e5ad45c18f5fa96210a10665acd494ec41c157372d90843056e4b29da55b2d02e7d58d10b19d9f6c9fdcf03ab699b8c9b494a8ab44a328e172e3'
+            '82977ab8f6867ccf2f033a9bca9a3d5135dbe6478c5970f2b9a1d593054e67cdf7fb9a92af584f1d16677376b6099302c61e91774aee0dce42314853a3807d54'
             '2b6c44b18ea3c9f955a7450222180d0b20b5fc551d0b7e5d0d8949e40adc847c4166829146260f87a75732cc5473eab0347dd56fc2125517698bac0652738c74'
             '18011b135c7817f2542f7a93b607ee46e5d61625921c7dc6e46e1b29e31c67147653b215d8677fde21cdce3b577c479cebd2d85f47e4b8cbe4c30f8be5f910cd'
             '598042c40673a7914c5a1eeccfb78f832379a61f4360212c5d86f667343cf2fc78e98d9025f9717ea64f3e16e0a28f08cd7709706d811656722019f6167dd788'
@@ -28,6 +32,12 @@
   cd "$pkgname-$pkgver"
   patch -Np1 -i ../$pkgname-go1.18.patch
 
+  # https://github.com/grafana/loki/issues/5832
+  patch -Np1 -i ../$pkgname-gcs-use-fake-creds-in-tests.patch
+
+  # https://github.com/grafana/loki/issues/6185
+  patch pkg/storage/chunk/gcp/fixtures.go <../$pkgname-use-fake-creds-in-storage-tests.patch
+
   go mod download
 }
 



More information about the arch-commits mailing list