This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 8303ad1b94 Ignore error on mssql temp removal when cleaning (#32433)
8303ad1b94 is described below

commit 8303ad1b94d3b541a63248f0af0fea2817a15356
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jul 7 21:52:18 2023 +0200

    Ignore error on mssql temp removal when cleaning (#32433)
    
    When there is a loack of sudo capability, clean command might
    return with error. We should ignore it.
---
 dev/breeze/src/airflow_breeze/commands/ci_commands.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/ci_commands.py 
b/dev/breeze/src/airflow_breeze/commands/ci_commands.py
index c35fa34302..526ef30735 100644
--- a/dev/breeze/src/airflow_breeze/commands/ci_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/ci_commands.py
@@ -81,9 +81,7 @@ def free_space():
         run_command(["docker", "system", "prune", "--all", "--force", 
"--volumes"])
         run_command(["df", "-h"])
         run_command(["docker", "logout", "ghcr.io"], check=False)
-        run_command(
-            ["sudo", "rm", "-f", os.fspath(Path.home() / MSSQL_TMP_DIR_NAME)],
-        )
+        run_command(["sudo", "rm", "-f", os.fspath(Path.home() / 
MSSQL_TMP_DIR_NAME)], check=False)
 
 
 @ci_group.command(name="resource-check", help="Check if available docker 
resources are enough.")

Reply via email to