From 60a45ef0c5fa992e3dc5bac6fc5874853f085ed8 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Fri, 15 Mar 2024 14:43:29 +0100 Subject: [PATCH] ci-automation/test: Always pull mantle image when running tests Signed-off-by: Jeremi Piotrowski --- ci-automation/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-automation/test.sh b/ci-automation/test.sh index bdddb4a3b4..04890e4746 100644 --- a/ci-automation/test.sh +++ b/ci-automation/test.sh @@ -167,7 +167,7 @@ function _test_run_impl() { # determine success based on test results (tapfile). set +e touch sdk_container/.env - docker run --rm --name="${container_name}" --privileged --net host -v /dev:/dev \ + docker run --pull always --rm --name="${container_name}" --privileged --net host -v /dev:/dev \ -w /work -v "$PWD":/work "${mantle_ref}" \ bash -c "git config --global --add safe.directory /work && \ source sdk_container/.env && \ @@ -176,7 +176,7 @@ function _test_run_impl() { rm -f "${work_dir}/first_run" # Note: git safe.directory is not set in this run as it does not use git - docker run --rm --name="${container_name}" --privileged --net host -v /dev:/dev \ + docker run --pull always --rm --name="${container_name}" --privileged --net host -v /dev:/dev \ -w /work -v "$PWD":/work "${mantle_ref}" \ ci-automation/test_update_reruns.sh \ "${arch}" "${vernum}" "${image}" "${retry}" \