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:04:06 UTC

[airflow-ci-infra] branch clean-mssql-dir created (now 251dada)

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

ash pushed a change to branch clean-mssql-dir
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git.


      at 251dada  Clean up MSSQL data folders between runs

This branch includes the following new commits:

     new 251dada  Clean up MSSQL data folders between runs

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-ci-infra] 01/01: Clean up MSSQL data folders between runs

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 251dada114ef42790998e70d0d3010a565b3ee3f
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Wed Jul 28 11:03:25 2021 +0100

    Clean up MSSQL data folders between runs
---
 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 {} +