You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/07/28 10:20:22 UTC

[airflow-ci-infra] branch main updated: Clean up MSSQL data folders between runs (#33)

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

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git


The following commit(s) were added to refs/heads/main by this push:
     new ea0226b  Clean up MSSQL data folders between runs (#33)
ea0226b is described below

commit ea0226bd6b16bb5ab17719fca1e0bb08d47ca9e6
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Wed Jul 28 11:20:12 2021 +0100

    Clean up MSSQL data folders between runs (#33)
---
 github-runner-ami/packer/files/runner-cleanup-workdir.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/github-runner-ami/packer/files/runner-cleanup-workdir.sh b/github-runner-ami/packer/files/runner-cleanup-workdir.sh
index 41ae1c7..23141d7 100644
--- a/github-runner-ami/packer/files/runner-cleanup-workdir.sh
+++ b/github-runner-ami/packer/files/runner-cleanup-workdir.sh
@@ -39,3 +39,6 @@ if [[ -d ~runner/actions-runner/_work/airflow/airflow ]]; then
         "
     fi
 fi
+
+# Remove left over mssql data dirs
+find . -maxdepth 1 -name 'tmp-mssql-volume-*' -type d -printf 'Deleting %f\n' -exec sudo rm -r {} +