opentelemetry-collector-builder: 0.101.0 -> 0.112.0 (#353047)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-05 21:30:32 +01:00 committed by GitHub
commit 79b37b49bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,17 +5,17 @@
}:
buildGoModule rec {
pname = "ocb";
version = "0.101.0";
version = "0.112.0";
src = fetchFromGitHub {
owner = "open-telemetry";
repo = "opentelemetry-collector";
rev = "cmd/builder/v${version}";
hash = "sha256-Ucp00OjyPtHA6so/NOzTLtPSuhXwz6A2708w2WIZb/E=";
hash = "sha256-0eL9J+PrURiNkL6CzUIlcvjyZor8iS9vKX8j0srLlZ8=";
};
sourceRoot = "${src.name}/cmd/builder";
vendorHash = "sha256-MTwD9xkrq3EudppLSoONgcPCBWlbSmaODLH9NtYgVOk=";
vendorHash = "sha256-vZsGSLdzKa4sA/N3RG6Kwn8tMoIIhPJ6uAkM4pheitU=";
CGO_ENABLED = 0;
ldflags = [
@ -24,10 +24,12 @@ buildGoModule rec {
"-X go.opentelemetry.io/collector/cmd/builder/internal.version=${version}"
];
# The TestGenerateAndCompile tests download new dependencies for a modified go.mod. Nix doesn't allow network access so skipping.
checkFlags = [ "-skip TestGenerateAndCompile" ];
# Some tests download new dependencies for a modified go.mod. Nix doesn't allow network access so skipping.
checkFlags = [
"-skip TestGenerateAndCompile|TestReplaceStatementsAreComplete|TestVersioning"
];
# Rename the to ocb (it's generated as "builder")
# Rename to ocb (it's generated as "builder")
postInstall = ''
mv $out/bin/builder $out/bin/ocb
'';