Skip to content

Commit

Permalink
ci: Fix diskspace issue when caching checks (envoyproxy#35599)
Browse files Browse the repository at this point in the history
using the CI diskspace hack

Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Martin Duke <[email protected]>
  • Loading branch information
phlax authored and martinduke committed Aug 8, 2024
1 parent 785ae20 commit 4c56d92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,9 @@ steps:
else
sudo chown -R azure-pipelines:azure-pipelines ${{ parameters.pathCacheTemp }}/all
fi
sudo systemctl stop docker docker.socket
sudo umount /var/lib/docker
sudo rm -rf /mnt/docker
displayName: "Cache/save (${{ parameters.cacheName}})"
condition: and(succeeded(), ne('${{ parameters.cacheName }}', ''), ne(variables.CACHE_RESTORED, 'true'))
Expand Down
1 change: 1 addition & 0 deletions .azure-pipelines/stage/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
cacheName: $(CI_TARGET)
envoyBuildFilterExample: $(ENVOY_FILTER_EXAMPLE)
cacheTestResults: ${{ parameters.cacheTestResults }}
diskspaceHack: true
managedAgent: false
repoFetchDepth: $(REPO_FETCH_DEPTH)
repoFetchTags: $(REPO_FETCH_TAGS)
Expand Down

0 comments on commit 4c56d92

Please sign in to comment.