Skip to content

Commit

Permalink
install-dependencies.sh: update node_exporter to 1.7.0
Browse files Browse the repository at this point in the history
Update node_exporter to 1.7.0.

The previous version (1.6.1) was flagged by security scanners (such as
Trivy) with HIGH-severity CVE-2023-39325. 1.7.0 release fixed that
problem.

[Botond: regenerate frozen toolchain]

Fixes #16085

Closes #16086

Closes #16090

(cherry picked from commit 321459e)

[avi: regenerate frozen toolchain]
[avi: update build script to work around https://users.rust-lang.org/t/cargo-uses-too-much-memory-being-run-in-qemu/76531]
  • Loading branch information
avelanarius authored and avikivity committed Nov 27, 2023
1 parent 0f2269a commit 74ebd48
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@ arch_packages=(
thrift
)

NODE_EXPORTER_VERSION=1.3.1
NODE_EXPORTER_VERSION=1.7.0
declare -A NODE_EXPORTER_CHECKSUM=(
["x86_64"]=68f3802c2dd3980667e4ba65ea2e1fb03f4a4ba026cca375f15a0390ff850949
["aarch64"]=f19f35175f87d41545fa7d4657e834e3a37c1fe69f3bf56bc031a256117764e7
["s390x"]=a12802101a5ee1c74c91bdaa5403c00011ebdf36b83b617c903dbd356a978d03
["x86_64"]=a550cd5c05f760b7934a2d0afad66d2e92e681482f5f57a917465b1fba3b02a6
["aarch64"]=e386c7b53bc130eaf5e74da28efc6b444857b77df8070537be52678aefd34d96
["s390x"]=aeda68884918f10b135b76bbcd4977cb7a1bb3c4c98a8551f8d2183bafdd9264
)
declare -A NODE_EXPORTER_ARCH=(
["x86_64"]=amd64
Expand Down
2 changes: 1 addition & 1 deletion tools/toolchain/image
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker.io/scylladb/scylla-toolchain:fedora-34-branch-5.1-20231023
docker.io/scylladb/scylla-toolchain:fedora-34-branch-5.1-20231127
2 changes: 1 addition & 1 deletion tools/toolchain/prepare
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ for arch in "${archs[@]}"; do
fi
done

buildah bud "${archs[@]/#/--platform=linux/}" --jobs 0 --squash --no-cache --pull -f tools/toolchain/Dockerfile --manifest "$(<tools/toolchain/image)"
buildah bud --env CARGO_NET_GIT_FETCH_WITH_CLI=true "${archs[@]/#/--platform=linux/}" --jobs 0 --squash --no-cache --pull -f tools/toolchain/Dockerfile --manifest "$(<tools/toolchain/image)"

echo "Done building $(<tools/toolchain/image). You can now test it, and push with"
echo ""
Expand Down

0 comments on commit 74ebd48

Please sign in to comment.