dcgm: add note about keeping dcgm and prometheus-dcgm-exporter in sync

This commit is contained in:
Elliot Cameron 2023-10-09 16:04:57 -04:00
parent 4f381c3af1
commit a7b7ef9fea
2 changed files with 5 additions and 2 deletions

View file

@ -85,7 +85,7 @@ let
# C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22
in gcc11Stdenv.mkDerivation rec {
pname = "dcgm";
version = "3.2.5";
version = "3.2.5"; # N.B: If you change this, be sure prometheus-dcgm-exporter supports this version.
src = fetchFromGitHub {
owner = "NVIDIA";

View file

@ -7,7 +7,10 @@
}:
buildGoModule rec {
pname = "dcgm-exporter";
version = "3.2.5-3.1.7";
# The first portion of this version string corresponds to a compatible DCGM
# version.
version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version.
src = fetchFromGitHub {
owner = "NVIDIA";