You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "lordgamez (via GitHub)" <gi...@apache.org> on 2023/08/17 13:28:33 UTC

[GitHub] [nifi-minifi-cpp] lordgamez commented on a diff in pull request #1632: MINIFICPP-2187 Free up disk space on CI runners for CentOS job

lordgamez commented on code in PR #1632:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1632#discussion_r1297223277


##########
.github/workflows/ci.yml:
##########
@@ -289,6 +289,16 @@ jobs:
           sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
+      - id: free_disk_space
+        run: |
+          # We can gain additional disk space on the Ubuntu runners thanks to these suggestions:
+          # https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
+          # https://github.com/actions/runner-images/issues/2606#issuecomment-772683150
+          sudo rm -rf /usr/share/dotnet
+          sudo rm -rf /usr/local/lib/android
+          sudo rm -rf /opt/ghc
+          sudo rm -rf "/usr/local/share/boost"
+          sudo rm -rf "$AGENT_TOOLSDIRECTORY"

Review Comment:
   I thought about it, but because this step may take up to 2 minutes, I wouldn't add it to other jobs until it is needed. We can reconsider it if we need more disk space in other jobs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org