From 4129d5ed344357c1d0516688b9079ac844868ff2 Mon Sep 17 00:00:00 2001 From: Fabian Albert Date: Wed, 25 Oct 2023 08:32:47 +0200 Subject: [PATCH] TLS-Anvil nightly fix Pull the docker image of the newest TLS-Anvil version containing a fix that addresses the rare TLS-Anvil nightly failure. --- src/scripts/ci/ci_tlsanvil_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/ci/ci_tlsanvil_test.py b/src/scripts/ci/ci_tlsanvil_test.py index c633b32d419..8f5120cac93 100644 --- a/src/scripts/ci/ci_tlsanvil_test.py +++ b/src/scripts/ci/ci_tlsanvil_test.py @@ -14,7 +14,7 @@ class Config: """ Hardcoded configurations for this CI script """ tls_anvil_docker_image = "ghcr.io/tls-attacker/tlsanvil" - tls_anvil_version_tag = "v1.2.2" + tls_anvil_version_tag = "@sha256:e9abe034e6b1dac7fe204d524db338f379087a16aca71e94dc7b51ac835bb53f" # v1.2.2 + HelloRetry test fix key_and_cert_storage_path = "/tmp/" test_suite_results_dest = "." test_suite_results_dir_name = "TestSuiteResults" @@ -76,7 +76,7 @@ def build_botan(botan_dir: str, parallel_jobs: int) -> str: def server_test(botan_dir_path: str, parallel: int): """ Test the Botan TLS server """ cert_path, key_path = create_cert_and_key(botan_dir_path) - docker_img = f"{Config.tls_anvil_docker_image}:{Config.tls_anvil_version_tag}" + docker_img = f"{Config.tls_anvil_docker_image}{Config.tls_anvil_version_tag}" group_output("Pull TLS-Anvil image", subprocess.run)(["docker", "pull", docker_img], check=True)