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
15 changes: 14 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,20 @@ jobs:
fetchDepth: {{ clone_depth }}
{%- endif %}
- script: |
rm -rf /opt/ghc
bkpoon marked this conversation as resolved.
Show resolved Hide resolved
sudo rm -rf /opt/ghc \
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
/opt/hostedtoolcache/CodeQL \
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
/usr/lib/jvm \
/usr/local/.ghcup \
/usr/local/lib/android \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
sudo aptitude purge -y -f firefox \
google-chrome-stable \
microsoft-edge-stable
sudo apt-get autoremove -y >& /dev/null
sudo apt-get autoclean -y >& /dev/null
sudo docker image prune --all --force
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