Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions eng/ci/templates/jobs/run-docker-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

pool:
name: ${{ parameters.poolName }}
image: 1es-ubuntu-22.04
image: 1es-ubuntu-24.04-min
os: linux

strategy:
Expand Down Expand Up @@ -37,15 +37,11 @@ jobs:
inputs:
artifactsFeeds: upstream-public
- bash: |
echo "=== disk BEFORE cleanup ==="
echo "=== disk space (no cleanup: measuring 1es-ubuntu-24.04-min baseline) ==="
df -h /
echo "=== freeing space (toolsets this job does not use) ==="
sudo rm -rf /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift \
/opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/PyPy 2>/dev/null || true
sudo apt-get clean || true
echo "=== disk AFTER cleanup ==="
df -h /
displayName: 'Free up disk space'
echo "=== top consumers on / ==="
sudo du -xh --max-depth=2 / 2>/dev/null | sort -rh | head -20 || true
displayName: 'Report disk space'

- bash: |
mvn --version
Expand Down
15 changes: 4 additions & 11 deletions eng/ci/templates/jobs/run-emulated-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

pool:
name: ${{ parameters.poolName }}
image: 1es-ubuntu-22.04
image: 1es-ubuntu-24.04-min
os: linux

variables:
Expand Down Expand Up @@ -57,18 +57,11 @@ jobs:
inputs:
artifactsFeeds: upstream-public
- bash: |
echo "=== disk BEFORE cleanup ==="
echo "=== disk space (no cleanup: measuring 1es-ubuntu-24.04-min baseline) ==="
df -h /
echo "=== top consumers on / (baseline) ==="
echo "=== top consumers on / ==="
sudo du -xh --max-depth=2 / 2>/dev/null | sort -rh | head -20 || true
echo "=== freeing space (toolsets this job does not use) ==="
sudo rm -rf /usr/local/lib/android /opt/ghc /usr/local/.ghcup /usr/share/swift \
/opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/PyPy 2>/dev/null || true
docker image prune -af || true
sudo apt-get clean || true
echo "=== disk AFTER cleanup ==="
df -h /
displayName: 'Free up disk space'
displayName: 'Report disk space'
- task: NuGetToolInstaller@1
inputs:
checkLatest: true
Expand Down
Loading