CI: Free more disk space with free-disk-space script by whiteio · Pull Request #134151 · rust-lang/rust (original) (raw)
| sudo apt-get remove -y '^aspnetcore-.*' || echo ":⚠️:The command [sudo apt-get remove -y '^aspnetcore-.*'] failed to complete successfully. Proceeding..." | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | sudo apt-get remove -y '^dotnet-.*' --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y '^dotnet-.*' --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y '^llvm-.*' --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y '^llvm-.*' --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y 'php.*' --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y 'php.*' --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y '^mongodb-.*' --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y '^mongodb-.*' --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y '^mysql-.*' --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y '^mysql-.*' --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing || echo ":⚠️:The command [sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y google-cloud-sdk --fix-missing || echo "::debug::The command [sudo apt-get remove -y google-cloud-sdk --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y google-cloud-cli --fix-missing || echo "::debug::The command [sudo apt-get remove -y google-cloud-cli --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y microsoft-edge-stable --fix-missing || echo "::debug::The command [sudo apt-get remove -y microsoft-edge-stable --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get remove -y snapd --fix-missing || echo "::debug::The command [sudo apt-get remove -y snapd --fix-missing] failed to complete successfully. Proceeding..." | | sudo apt-get autoremove -y || echo ":⚠️:The command [sudo apt-get autoremove -y] failed to complete successfully. Proceeding..." | | sudo apt-get clean || echo ":⚠️:The command [sudo apt-get clean] failed to complete successfully. Proceeding..." | | PACKAGES_TO_REMOVE=( | | '^aspnetcore-.*' | | '^dotnet-.*' | | '^llvm-.*' | | 'php.*' | | '^mongodb-.*' | | '^mysql-.*' | | 'azure-cli' | | 'google-chrome-stable' | | 'firefox' | | 'powershell' | | 'mono-devel' | | 'libgl1-mesa-dri' | | 'google-cloud-sdk' | | 'google-cloud-cli' | | 'microsoft-edge-stable' | | 'snapd' | | ) | | for pkg in "${PACKAGES_TO_REMOVE[@]}"; do | | sudo apt-get remove -y "$pkg" --fix-missing || echo ":⚠️:Failed to remove $pkg" | | done | | sudo apt-get autoremove -y || echo ":⚠️:The command [sudo apt-get autoremove -y] failed" | | sudo apt-get clean || echo ":⚠️:The command [sudo apt-get clean] failed failed" |