This is an automated email from the ASF dual-hosted git repository.
jscheffl 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 c865dde2fae Create /mnt/ folder in case it is missing in CI runners
(#60055)
c865dde2fae is described below
commit c865dde2fae7de034330ade8a468c6c3738f62d1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jan 3 12:59:59 2026 +0100
Create /mnt/ folder in case it is missing in CI runners (#60055)
Sometimes we get a worker that does not have /mnt filesystem mounted.
In this case we will attempt to use the same approach as with
other jobs - we will just create empty /mnt folder and hope the
disk space will be enough to run the job we want to run
---
scripts/ci/make_mnt_writeable.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/ci/make_mnt_writeable.sh b/scripts/ci/make_mnt_writeable.sh
index 028b4e571f0..019d457d5b4 100755
--- a/scripts/ci/make_mnt_writeable.sh
+++ b/scripts/ci/make_mnt_writeable.sh
@@ -22,8 +22,9 @@ function make_mnt_writeable {
sudo blkid
echo "Check that we have expected /mnt to be a separate mount"
if ! lsblk | grep -q /mnt; then
- echo "/mnt is missing as a separate mount, runner misconfigured!"
- exit 42
+ echo "!!!! /mnt is missing as a separate mount, runner misconfigured!"
+ echo "Creating /mnt drive hoping that it will be enough space to use
in /"
+ sudo mkdir -p /mnt/
fi
echo "Checking free space!"
df -H