prometheus-snap:21.10

Last commit made on 2021-08-12
Get this branch:
git clone -b 21.10 https://git.launchpad.net/prometheus-snap
Members of prometheus-snap-developers can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
21.10
Repository:
lp:prometheus-snap

Recent commits

91db28e... by Sergio Durigan Junior

Fix typo when matching "ppc64el"

dpkg --print-architecture will return "ppc64el", not "ppc64le".
Conversely, the adjusted name should be "ppc64le", not "ppc64el".

Signed-off-by: Sergio Durigan Junior <email address hidden>

c0d79f9... by Sergio Durigan Junior

Update prometheus to 2.28.1

This commit updates the prometheus version to 2.28.1.

The problem is one of the dependencies of the web interface shipped
with prometheus requires nodejs >= 12, and core20 offers nodejs 10.
For this reason, I decided to download nodejs directly from upstream
and use their binaries instead. The good news is that upstream offers
binaries for all our supported architectures (amd64, arm64, s390x and
ppc64el).

I think it should be possible to split the build into two and use the
"npm" plugin in order to automate this process, but I could not come
up with an implementation that works.

Signed-off-by: Sergio Durigan Junior <email address hidden>

31696e9... by Sergio Durigan Junior

Update prometheus 2.25.2

This commit also updates the snapcraft to use core20, instead of
core18.

Signed-off-by: Sergio Durigan Junior <email address hidden>

8595033... by Haw Loeung

4k max. open files is not enough

Reviewed-on: https://code.launchpad.net/~hloeung/prometheus-snap/+git/prometheus-snap/+merge/396456
Reviewed-by: Benjamin Allot <email address hidden>

27649cc... by Haw Loeung

4k max. open files is not enough

e9a371e... by Lucas Kanashiro

Update prometheus2 to version 2.20.1

Reviewed-on: https://code.launchpad.net/~canonical-server/prometheus-snap/+git/prometheus-snap/+merge/388843
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: Junien Fridrick <email address hidden>

0a1f9cc... by Lucas Kanashiro

Alphabetically sort fields with multiple values

4ecc7a0... by Lucas Kanashiro

Add curl as a build dependency

1fd9074... by Lucas Kanashiro

Build the snap on multiple architectures

fd3c332... by Lucas Kanashiro

Run the tests that not take too long during the build