Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up more disk space #1747

Merged
merged 14 commits into from
Jul 22, 2023
13 changes: 12 additions & 1 deletion conda_smithy/templates/azure-pipelines-linux.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,18 @@ jobs:
fetchDepth: {{ clone_depth }}
{%- endif %}
- script: |
rm -rf /opt/ghc
bkpoon marked this conversation as resolved.
Show resolved Hide resolved
sudo mkdir -p /opt/empty_dir
beckermr marked this conversation as resolved.
Show resolved Hide resolved
for d in /opt/hostedtoolcache \
/usr/lib/jvm \
/usr/local/.ghcup \
/usr/local/android \
/usr/local/powershell \
/usr/share/dotnet \
/usr/share/swift \
bkpoon marked this conversation as resolved.
Show resolved Hide resolved
; do
sudo rsync --stats -a --delete /opt/empty_dir/ $d || true
done

df -h
displayName: Manage disk space

Expand Down
23 changes: 23 additions & 0 deletions news/clean_disk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* Free up more space on the default linux image on Azure Pipelines

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
Loading