From 961981f45686c8dfc9858f0a29a7eb78530960cc Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Fri, 1 Mar 2024 13:01:04 +0100 Subject: [PATCH] CI: make docker volume always succeed in startup Some CI users (OAI developers) expressed that the warning of the `docker volume prune` before starting RFsim is confusing. To avoid the warning in the HTML, force the removal; if the volume does not exist, no warning is emitted. To still catch possible problems, do not do this in the `terminate.xml` so we might still see if there are other problems. --- ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml | 2 +- ci-scripts/xml_files/container_5g_rfsim_fr2_32prb.xml | 2 +- ci-scripts/xml_files/container_5g_rfsim_tdd_dora.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml b/ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml index 7eba071e16..6ed13ceb6e 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml @@ -50,7 +50,7 @@ Custom_Command Clean-Up any residual volume localhost - docker volume rm 5g_rfsimulator_fdd_phytest_rrc.config + docker volume rm 5g_rfsimulator_fdd_phytest_rrc.config -f diff --git a/ci-scripts/xml_files/container_5g_rfsim_fr2_32prb.xml b/ci-scripts/xml_files/container_5g_rfsim_fr2_32prb.xml index 25ffb4b7b2..452f2c33f9 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_fr2_32prb.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_fr2_32prb.xml @@ -48,7 +48,7 @@ Custom_Command Clean-Up any residual volume localhost - docker volume rm 5g_rfsimulator_fr2_32prb_rrc.config + docker volume rm 5g_rfsimulator_fr2_32prb_rrc.config -f diff --git a/ci-scripts/xml_files/container_5g_rfsim_tdd_dora.xml b/ci-scripts/xml_files/container_5g_rfsim_tdd_dora.xml index 9f0c3bc93a..306b8e4e05 100644 --- a/ci-scripts/xml_files/container_5g_rfsim_tdd_dora.xml +++ b/ci-scripts/xml_files/container_5g_rfsim_tdd_dora.xml @@ -48,7 +48,7 @@ Custom_Command Clean-Up any residual volume localhost - docker volume rm 5g_rfsimulator_tdd_dora_rrc.config + docker volume rm 5g_rfsimulator_tdd_dora_rrc.config -f