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

Please provide a ubuntu-minimal image for Standard Runners #10414

Closed
4 of 13 tasks
christopher-mullen opened this issue Aug 9, 2024 · 7 comments
Closed
4 of 13 tasks

Please provide a ubuntu-minimal image for Standard Runners #10414

christopher-mullen opened this issue Aug 9, 2024 · 7 comments

Comments

@christopher-mullen
Copy link

Description

There are existing issues calling out that GitHub actions can run out of space. An open example can be seen here
#10386

The solutions that users are coming up with involve removing packages from the runner.

The alternative option would be to provide a minimal image - for example https://wiki.ubuntu.com/Minimal.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Runner version: '2.317.0'
But could apply to any versions

Is it regression?

Based on the job the action is performing.

Expected behavior

Support for a smaller runner image that frees up more space on standard runners
Something like runs-on: ubuntu-minimal

Actual behavior

Currently unavailable to select anything other than full-size ubuntu

Repro steps

Create a GitHub Action.
Note the limited selection from https://github.com/actions/runner-images?tab=readme-ov-file#available-images

@RaviAkshintala
Copy link
Contributor

@christopher-mullen Thank you for bringing this issue to us. We are looking into this issue and will update you on this issue after investigating.

@HinTak
Copy link

HinTak commented Aug 15, 2024

I found myself being affected by this - I am running a very large build job inside a fedora 40 docker container on ubuntu-latest.

The last round was successful 3 weeks ago after some careful clean up in between steps
https://github.com/HinTak/Qt6WE-OT-SVG/actions/runs/10126487704 - and I had about 1 GB available space left. But somehow in last 3 weeks the available spaces at the beginning has dropped from over 19GB to below 17GB, so there is no way I can finish at the moment.

Unlike the others, since I am running a docker container inside ubuntu-latest, I can't clear up unbuntu-latest within the container - and I don't care about what is available under ubuntu-latest , since its role is only to load the docker image of another Linux.

@HinTak
Copy link

HinTak commented Aug 15, 2024

It seems to be getting worse - I checked my notes, 6 months ago the available space was in the region of 26GB. Is the runner image keeping a large apt-cache, for example? I seem to remember ubuntu systems can get progressively worse that way over time.

@HinTak
Copy link

HinTak commented Aug 15, 2024

Okay, for my purpose, since I am just using the ubuntu runner to load a fedora docker container, what version of ubuntu doesn't matter to me. Just switching from ubuntu-latest (22.04) to ubuntu-24.04 gives me an extra 10 GB from just over 19GB to just over 30GB.

I remember at some point in the last 12 months, ubuntu-latest gave me use of close to 26GB. There seems to be a gradual decline - it is probably the apt-cache.

@HinTak
Copy link

HinTak commented Aug 15, 2024

I am doing

    runs-on: ubuntu-24.04 # unbuntu-latest is 22.04
    container: fedora:40

so any clean-up of ubuntu can't be done.

@HinTak
Copy link

HinTak commented Aug 16, 2024

Yes, this is where I kept my notes - 7 months ago the ubuntu-latest image had about 7GB more disk space than it currently is:
https://github.com/HinTak/chromium-mod-CI - so I am finding myself switching to ubuntu-24.04 just for it higher available space - I am using it merely to run another linux's docker container, so it doesn't matter what ubuntu-* contains, as long as it is sufficient to run docker.

@RaviAkshintala
Copy link
Contributor

@christopher-mullen As of now there is no plans to provide ubuntu minimal image.Kindly please look into this discussion.We are closing this issue for now.Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants