Skip to content

Commit

Permalink
[FLINK-17223][AZP] Clean up disk space on Azure-hosted builders
Browse files Browse the repository at this point in the history
  • Loading branch information
rmetzger committed Apr 19, 2020
1 parent 7a7aaec commit cb8ae28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tools/azure-pipelines/jobs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cb8ae28

Please sign in to comment.