You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2024/10/01 08:18:46 UTC
(airflow) branch v2-6-test created (now b26c344d8b)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
at b26c344d8b Ignore error on mssql temp removal when cleaning (#32433)
This branch includes the following new commits:
new b26c344d8b Ignore error on mssql temp removal when cleaning (#32433)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow) 01/01: Ignore error on mssql temp removal when cleaning (#32433)
Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-6-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit b26c344d8b94c8d5c6bc386203afaae7fe3c7866
Author: Jarek Potiuk <ja...@potiuk.com>
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.
(cherry picked from commit 8303ad1b94d3b541a63248f0af0fea2817a15356)
---
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.")