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

rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new cb8ae28  [FLINK-17223][AZP] Clean up disk space on Azure-hosted 
builders
cb8ae28 is described below

commit cb8ae2892c37dd37431b1b56f96805a3dee0335d
Author: Robert Metzger <rmetz...@apache.org>
AuthorDate: Fri Apr 17 17:41:53 2020 +0200

    [FLINK-17223][AZP] Clean up disk space on Azure-hosted builders
---
 tools/azure-pipelines/jobs-template.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tools/azure-pipelines/jobs-template.yml 
b/tools/azure-pipelines/jobs-template.yml
index a377cad..0c31a74 100644
--- a/tools/azure-pipelines/jobs-template.yml
+++ b/tools/azure-pipelines/jobs-template.yml
@@ -35,6 +35,11 @@ jobs:
     # See also 
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml#workspace
 
 
   steps:
+  # if on Azure, free up disk space
+  - script: ./tools/azure-pipelines/free_disk_space.sh
+    target: host
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Free up disk space
   # The cache task is persisting the .m2 directory between builds, so that
   # we do not have to re-download all dependencies from maven central for 
   # each build. The hope is that downloading the cache is faster than
@@ -100,6 +105,11 @@ jobs:
       misc:
         module: misc
   steps:
+  # if on Azure, free up disk space
+  - script: ./tools/azure-pipelines/free_disk_space.sh
+    target: host
+    condition: not(eq('${{parameters.test_pool_definition.name}}', 'Default'))
+    displayName: Free up disk space
 
   # download artifacts
   - task: DownloadPipelineArtifact@2

Reply via email to