lol

perses: 0.51.0-rc.0 -> 0.51.0 (#416176)

authored by

Weijia Wang and committed by
GitHub
48dc41f2 e10ec066

+59 -68
+4 -10
pkgs/by-name/pe/perses/package.nix
··· 25 25 in 26 26 buildGoModule (finalAttrs: { 27 27 pname = "perses"; 28 - version = "0.51.0-rc.0"; 28 + version = "0.51.0"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "perses"; 32 32 repo = "perses"; 33 33 tag = "v${finalAttrs.version}"; 34 - hash = "sha256-ts/GqBASja+IbZAKWMtExeVyFs6Q76iI9o6AKWZlp9Y="; 34 + hash = "sha256-frCSuGEnYab4CTQoAuN876dG7Mwn/RJEnWouUuo7aJQ="; 35 35 }; 36 36 37 37 outputs = [ ··· 49 49 inherit (finalAttrs) version src; 50 50 pname = "${finalAttrs.pname}-ui"; 51 51 sourceRoot = "${finalAttrs.src.name}/${finalAttrs.npmRoot}"; 52 - hash = "sha256-a3bkk8IDfxi5nbRqu4WgYZ9bDr5my11HV4a72THclNw="; 52 + hash = "sha256-nRE4IV8+wCuYXNAxrl7RfBFdY/ZyAIpXs3pDfCeIh74="; 53 53 }; 54 54 55 55 npmRoot = "ui"; ··· 59 59 preBuild = null; 60 60 }; 61 61 62 - vendorHash = "sha256-DJAWmeuRPA2pII2RQZNF37n/QNmw2wDUtDpATMqkSJ8="; 62 + vendorHash = "sha256-FfT3z48JaOiUTsVMmcbJdFJesO7cIMkYt/0gQ0jHh8I="; 63 63 64 64 ldflags = [ 65 65 "-s" ··· 75 75 subPackages = [ 76 76 "cmd/percli" 77 77 "cmd/perses" 78 - ]; 79 - 80 - patches = [ 81 - # This patch allows to override the default config paths using linker constants above 82 - # See https://github.com/perses/perses/issues/2947 83 - ./plugin-path-config.patch 84 78 ]; 85 79 86 80 prePatch = ''
-13
pkgs/by-name/pe/perses/plugin-path-config.patch
··· 1 - diff --git a/pkg/model/api/config/plugin.go b/pkg/model/api/config/plugin.go 2 - index 9ece1ced..603c6b0b 100644 3 - --- a/pkg/model/api/config/plugin.go 4 - +++ b/pkg/model/api/config/plugin.go 5 - @@ -17,7 +17,7 @@ import ( 6 - "os" 7 - ) 8 - 9 - -const ( 10 - +var ( 11 - DefaultPluginPath = "plugins" 12 - DefaultPluginPathInContainer = "/etc/perses/plugins" 13 - DefaultArchivePluginPath = "plugins-archive"
+55 -45
pkgs/by-name/pe/perses/plugins.nix
··· 2 2 # Do not edit this file manually. 3 3 { 4 4 "BarChart" = { 5 - version = "0.6.1"; 6 - url = "https://github.com/perses/plugins/releases/download/barchart/v0.6.1/BarChart-0.6.1.tar.gz"; 7 - hash = "sha256-A5p46sZfzzS6ss3wNJFTyI8N4YAPVev5+rmakbM1n1g="; 5 + version = "0.8.0"; 6 + url = "https://github.com/perses/plugins/releases/download/barchart/v0.8.0/BarChart-0.8.0.tar.gz"; 7 + hash = "sha256-YXTQyn/BN9pbhIlFZoNkiIPvmFopkJdu0LHTnBAPcWM="; 8 + }; 9 + "DatasourceVariable" = { 10 + version = "0.2.0"; 11 + url = "https://github.com/perses/plugins/releases/download/datasourcevariable/v0.2.0/DatasourceVariable-0.2.0.tar.gz"; 12 + hash = "sha256-QqdikGca2ufzQ2CvXn9ThU+2ShM7twsoL6OweMs1ocw="; 8 13 }; 9 14 "GaugeChart" = { 10 - version = "0.6.0"; 11 - url = "https://github.com/perses/plugins/releases/download/gaugechart/v0.6.0/GaugeChart-0.6.0.tar.gz"; 12 - hash = "sha256-Ug/GzdlRZjIbio72F/fWquIkg7xqTLf5y1gW9IoXl7g="; 15 + version = "0.8.0"; 16 + url = "https://github.com/perses/plugins/releases/download/gaugechart/v0.8.0/GaugeChart-0.8.0.tar.gz"; 17 + hash = "sha256-vWqZZZBOq87tz01ZezdODvFOBFIU9mOfgUE5N01zcvw="; 18 + }; 19 + "HistogramChart" = { 20 + version = "0.8.0"; 21 + url = "https://github.com/perses/plugins/releases/download/histogramchart/v0.8.0/HistogramChart-0.8.0.tar.gz"; 22 + hash = "sha256-BiBC4CgAn1JcS8dH9qv0nNYxx+Nte5ifvdrzO9yM+QA="; 13 23 }; 14 24 "Markdown" = { 15 - version = "0.7.0"; 16 - url = "https://github.com/perses/plugins/releases/download/markdown/v0.7.0/Markdown-0.7.0.tar.gz"; 17 - hash = "sha256-KGlmEMUirjbwvirIT5Alt6Rsxk/2TIxspa2ikG6AJ7Y="; 25 + version = "0.8.0"; 26 + url = "https://github.com/perses/plugins/releases/download/markdown/v0.8.0/Markdown-0.8.0.tar.gz"; 27 + hash = "sha256-L6bNqNp/agaV1N2Htdv072df5qUUkYexr/KKsDLOWW8="; 18 28 }; 19 29 "PieChart" = { 20 - version = "0.6.0"; 21 - url = "https://github.com/perses/plugins/releases/download/piechart/v0.6.0/PieChart-0.6.0.tar.gz"; 22 - hash = "sha256-AseYkh7Vl1TQJbOPwuMmCvKQls79fIQHQb7Gq6yZIUE="; 30 + version = "0.8.0"; 31 + url = "https://github.com/perses/plugins/releases/download/piechart/v0.8.0/PieChart-0.8.0.tar.gz"; 32 + hash = "sha256-hp4IUDit0GgIqFKcVlf53FFBWDjbQPY0hYmsUTGKmkw="; 23 33 }; 24 34 "Prometheus" = { 25 - version = "0.51.0-beta.2"; 26 - url = "https://github.com/perses/plugins/releases/download/prometheus/v0.51.0-beta.2/Prometheus-0.51.0-beta.2.tar.gz"; 27 - hash = "sha256-PUsaZyycDDNaIIhBPIjxnucij9yYZP2TxsX2GvqUTVo="; 35 + version = "0.51.0-rc.3"; 36 + url = "https://github.com/perses/plugins/releases/download/prometheus/v0.51.0-rc.3/Prometheus-0.51.0-rc.3.tar.gz"; 37 + hash = "sha256-DqiYuZmWaxMzoKr0/IqciyxwOi8xf65lehwed8iCiJc="; 28 38 }; 29 39 "ScatterChart" = { 30 - version = "0.6.0"; 31 - url = "https://github.com/perses/plugins/releases/download/scatterchart/v0.6.0/ScatterChart-0.6.0.tar.gz"; 32 - hash = "sha256-M1g/EWL5P/jSeTYMGTShuD+AavqK9vJkLeOjYX+dP3c="; 40 + version = "0.7.0"; 41 + url = "https://github.com/perses/plugins/releases/download/scatterchart/v0.7.0/ScatterChart-0.7.0.tar.gz"; 42 + hash = "sha256-OaX1q4Iy4x4IYVKL2aBYYQnNaHfjGiSrI+s3ZyzDfFI="; 33 43 }; 34 44 "StatChart" = { 35 - version = "0.6.0"; 36 - url = "https://github.com/perses/plugins/releases/download/statchart/v0.6.0/StatChart-0.6.0.tar.gz"; 37 - hash = "sha256-lxT2Zimo62i6dLR01uuEgcYs55LLlqyuXIv0DGZlAaM="; 45 + version = "0.8.0"; 46 + url = "https://github.com/perses/plugins/releases/download/statchart/v0.8.0/StatChart-0.8.0.tar.gz"; 47 + hash = "sha256-K6zCZ0C2Y7kTQYXYxGdBPn2pB9DzMYgn15rEwJYkt5k="; 38 48 }; 39 49 "StaticListVariable" = { 40 - version = "0.3.0"; 41 - url = "https://github.com/perses/plugins/releases/download/staticlistvariable/v0.3.0/StaticListVariable-0.3.0.tar.gz"; 42 - hash = "sha256-1PmMDuWIq7ALV8DqqL+XJilkfGV2qXVOy9ZMTQrzRq8="; 50 + version = "0.4.0"; 51 + url = "https://github.com/perses/plugins/releases/download/staticlistvariable/v0.4.0/StaticListVariable-0.4.0.tar.gz"; 52 + hash = "sha256-tuygC5ipfGe2KpsuHS+aaI+avCIQpfAUC+kubk+/ULs="; 43 53 }; 44 54 "StatusHistoryChart" = { 45 - version = "0.6.0"; 46 - url = "https://github.com/perses/plugins/releases/download/statushistorychart/v0.6.0/StatusHistoryChart-0.6.0.tar.gz"; 47 - hash = "sha256-+U5IIZME3FXACIh3S725tuCdbTzlVRUrU9LFSldnMiI="; 55 + version = "0.8.0"; 56 + url = "https://github.com/perses/plugins/releases/download/statushistorychart/v0.8.0/StatusHistoryChart-0.8.0.tar.gz"; 57 + hash = "sha256-61k3G+8bCsUErBCwvFxgnYCPLAqpCIcuF3GEZHacMB0="; 48 58 }; 49 59 "Table" = { 50 - version = "0.6.0"; 51 - url = "https://github.com/perses/plugins/releases/download/table/v0.6.0/Table-0.6.0.tar.gz"; 52 - hash = "sha256-pndqD5lrwXe66GiaC+NQgFJiaSJasldpmgwrnEAFmJU="; 60 + version = "0.7.0"; 61 + url = "https://github.com/perses/plugins/releases/download/table/v0.7.0/Table-0.7.0.tar.gz"; 62 + hash = "sha256-MemCUd/9RhodqMzDuYCNPYDMaSy7LpVPCTP4IUFE3lM="; 53 63 }; 54 64 "Tempo" = { 55 - version = "0.51.0-beta.2"; 56 - url = "https://github.com/perses/plugins/releases/download/tempo/v0.51.0-beta.2/Tempo-0.51.0-beta.2.tar.gz"; 57 - hash = "sha256-p1ey0we7ncsnoIcCNhlmzp3NRNrxtayTKruJCuR50gw="; 65 + version = "0.51.0-rc.3"; 66 + url = "https://github.com/perses/plugins/releases/download/tempo/v0.51.0-rc.3/Tempo-0.51.0-rc.3.tar.gz"; 67 + hash = "sha256-oy2jBdZzf86G8+6wFkFPKiOj2yyYpUD1nVSGwou9vxg="; 58 68 }; 59 69 "TimeSeriesChart" = { 60 - version = "0.6.0"; 61 - url = "https://github.com/perses/plugins/releases/download/timeserieschart/v0.6.0/TimeSeriesChart-0.6.0.tar.gz"; 62 - hash = "sha256-6inzw4W7lakhbmVDkrgA8uwI6MLiVuk1xbiy904y6Ig="; 70 + version = "0.9.1"; 71 + url = "https://github.com/perses/plugins/releases/download/timeserieschart/v0.9.1/TimeSeriesChart-0.9.1.tar.gz"; 72 + hash = "sha256-07Fuj8Zem5xHMmScD9FFZRDTNNB994SyskFv3rzwFG0="; 63 73 }; 64 74 "TimeSeriesTable" = { 65 - version = "0.6.0"; 66 - url = "https://github.com/perses/plugins/releases/download/timeseriestable/v0.6.0/TimeSeriesTable-0.6.0.tar.gz"; 67 - hash = "sha256-bkVhkfRZXGgKZGrQ9crag92jFFiRxZaZOb/UyBTyWGM="; 75 + version = "0.8.0"; 76 + url = "https://github.com/perses/plugins/releases/download/timeseriestable/v0.8.0/TimeSeriesTable-0.8.0.tar.gz"; 77 + hash = "sha256-GPvoiWWaoG+EgtdqjB8IeHy4+QjXV9PkGVvlBeBZe2M="; 68 78 }; 69 79 "TraceTable" = { 70 - version = "0.6.0"; 71 - url = "https://github.com/perses/plugins/releases/download/tracetable/v0.6.0/TraceTable-0.6.0.tar.gz"; 72 - hash = "sha256-u8/NW23rGX2sAyuVoL7pH1WFYOhcdMFlzE4qMvMBYgE="; 80 + version = "0.7.0"; 81 + url = "https://github.com/perses/plugins/releases/download/tracetable/v0.7.0/TraceTable-0.7.0.tar.gz"; 82 + hash = "sha256-PeCR0Oe8V8dBQMjPtU6xo5hpZJIXXPyXPfOtAMp2CjU="; 73 83 }; 74 84 "TracingGanttChart" = { 75 - version = "0.6.0"; 76 - url = "https://github.com/perses/plugins/releases/download/tracingganttchart/v0.6.0/TracingGanttChart-0.6.0.tar.gz"; 77 - hash = "sha256-R1U/Uq5QPVQWBe24IKovRXCsCyuUmATBcnqxRuRD+Aw="; 85 + version = "0.7.0"; 86 + url = "https://github.com/perses/plugins/releases/download/tracingganttchart/v0.7.0/TracingGanttChart-0.7.0.tar.gz"; 87 + hash = "sha256-satiNlwzbHdgrHgfWs99lUCXt4tsKi/K2ON1/NNFyGU="; 78 88 }; 79 89 }