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

google-cloud-sdk renamed to google-cloud-cli #17

Closed
sensedata1 opened this issue Sep 27, 2023 · 6 comments · Fixed by #18
Closed

google-cloud-sdk renamed to google-cloud-cli #17

sensedata1 opened this issue Sep 27, 2023 · 6 comments · Fixed by #18

Comments

@sensedata1
Copy link

sensedata1 commented Sep 27, 2023

Looks like gh actions hosted runners are now installing the latest renamed google-cloud-cli package so the action is failing when it tries to remove the deprecated google-cloud-sdk package
actions/runner-images#8335

E: Unable to locate package google-cloud-sdk
Error: Process completed with exit code 100.
@Jonatha-Varjao
Copy link

Facing the same issue, just put

large-packages: false

in the options, and it worked for my case

@sensedata1
Copy link
Author

Facing the same issue, just put

large-packages: false

in the options, and it worked for my case

Indeed, but it would be nice not to have to throw the baby out with the bathwater. 😉

@wind57
Copy link

wind57 commented Sep 28, 2023

here is a manual work-around:

    - name: manually remove gcloud
      shell: bash
      run: sudo apt-get remove google-cloud-cli

    - name: same as 'large-packages' but without 'google-cloud-sdk'
      shell: bash
      run: | 
        sudo apt-get remove -y '^dotnet-.*'
        sudo apt-get remove -y '^llvm-.*'
        sudo apt-get remove -y 'php.*'
        sudo apt-get remove -y '^mongodb-.*'
        sudo apt-get remove -y '^mysql-.*'
        sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
        sudo apt-get autoremove -y
        sudo apt-get clean

    - name: Free Disk Space
      uses: jlumbroso/free-disk-space@main
      with:
        tool-cache: true
        android: true
        dotnet: true
        haskell: true
        large-packages: false
        swap-storage: true

@andreped
Copy link
Contributor

Made a PR: #18

@bhavaniravi
Copy link

Thanks for raising this and making a PR. Added this to my CI yesterday. Everything was working fine and today it broke

@jlumbroso
Copy link
Owner

@wind57 Thanks for the manual workaround! 🙏🏻

@andreped Thanks for the PR. 🥳

@briedel @v1v @bhavaniravi @sensedata1 @Jonatha-Varjao @KurtAhn @tokatoka @kenjis @sp98 Sorry for the disruption. Please let me know if the latest release v1.3.0 addresses all your concerns. Thank you!

silverwind pushed a commit to go-gitea/gitea that referenced this issue Nov 24, 2023
According to jlumbroso/free-disk-space#17, the
issue has been fixed in the main branch.
fuxiaohei pushed a commit to fuxiaohei/gitea that referenced this issue Jan 17, 2024
According to jlumbroso/free-disk-space#17, the
issue has been fixed in the main branch.
silverwind pushed a commit to silverwind/gitea that referenced this issue Feb 20, 2024
According to jlumbroso/free-disk-space#17, the
issue has been fixed in the main branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants