Skip to content

Commit 3c1bd09

Browse files
pranavkmdougbu
andauthored
Print disk usage (#20704)
* Print disk usage * Try again * Disk util part3 * dont look at /tmp * Remove max-depth * Add disk usage stats to all non-windows platforms * Disable Ubuntu quarantined test step * Apply suggestions from code review - Make thingies worky on macOS * Update .azure/pipelines/jobs/default-build.yml * Undo skip of qurantined test run * Update .azure/pipelines/jobs/default-build.yml - do not reference directory that doesn't exist * Update .azure/pipelines/jobs/default-build.yml - reduce noise in Mac disk utilization output Co-authored-by: Doug Bunting <[email protected]>
1 parent c16d336 commit 3c1bd09

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.azure/pipelines/jobs/default-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ jobs:
134134
- ${{ if in(variables['Build.Reason'], 'PullRequest') }}:
135135
- _SignType: test
136136
steps:
137+
- ${{ if ne(parameters.agentOs, 'Windows') }}:
138+
- script: df -h
139+
displayName: Disk size
137140
- checkout: self
138141
clean: true
139142
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isTestingJob, true)) }}:
@@ -202,6 +205,13 @@ jobs:
202205

203206
- ${{ parameters.afterBuild }}
204207

208+
- ${{ if eq(parameters.agentOs, 'Linux') }}:
209+
- script: df -h && du -h --threshold=50MB ..
210+
displayName: Disk utilization
211+
- ${{ if eq(parameters.agentOs, 'macOS') }}:
212+
- script: df -h && du -h -d 3 ..
213+
displayName: Disk utilization
214+
205215
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.isTestingJob, true)) }}:
206216
- powershell: ./eng/scripts/FinishDumpCollectionForHangingBuilds.ps1 artifacts/dumps/
207217
displayName: Finish background dump collection

src/Components/Web.JS/dist/Release/blazor.server.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)