From 6890ad6f533e824674692c785959a14c78259558 Mon Sep 17 00:00:00 2001 From: Slach Date: Tue, 5 Dec 2023 22:27:44 +0400 Subject: [PATCH] update-ca-certificates for 1.1.54394 --- test/integration/integration_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/integration/integration_test.go b/test/integration/integration_test.go index 6314d6bd..1e67be00 100644 --- a/test/integration/integration_test.go +++ b/test/integration/integration_test.go @@ -399,10 +399,12 @@ func init() { logLevel = os.Getenv("LOG_LEVEL") } log.SetLevelFromString(logLevel) - /* + if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "1.1.54394") <= 0 { r := require.New(&testing.T{}) installDebIfNotExists(r, "clickhouse-backup", "ca-certificates", "curl") r.NoError(dockerExec("clickhouse-backup", "update-ca-certificates")) + } + /* r.NoError(dockerExec("clickhouse-backup", "bash", "-xce", "command -v yq || curl -sL \"https://github.com/mikefarah/yq/releases/latest/download/yq_linux_$(dpkg --print-architecture)\" -o /usr/bin/yq && chmod +x /usr/bin/yq")) installDebIfNotExists(r, "clickhouse-backup", "jq", "bzip2", "pgp", "git") // rsync