Skip to content

Commit 74f0810

Browse files
committed
On OL9, use a different version of curl (GR-62813).
Does not affect jobs in this repo.
1 parent 43374c5 commit 74f0810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/common.jsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Note that using a os-arch mixin like linux_amd64 mixin is required for using common.deps.
55

66
local common_json = import "../common.json";
7+
local std_get = (import "ci_common/common-utils.libsonnet").std_get;
78

89
{
910
# JDK definitions
@@ -286,9 +287,8 @@ local common_json = import "../common.json";
286287
if (self.os == "linux" && self.arch == "amd64") then {
287288
readline: '==6.3',
288289
pcre2: '==10.37',
289-
curl: '==7.50.1',
290290
gnur: '==4.0.3-gcc4.8.5-pcre2',
291-
}
291+
} + if (std_get(self, 'os_distro', '') == 'ol' && std_get(self, 'os_distro_version', '') == '9') then {curl: '==7.78.0'} else {curl: '==7.50.1'}
292292
else if (self.os == "darwin" && self.arch == "amd64") then {
293293
'pcre2': '==10.37',
294294
} else {},

0 commit comments

Comments
 (0)