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

Automatically test built Docker containers for open-BMC #25

Open
AtomicFS opened this issue Jul 13, 2023 · 5 comments
Open

Automatically test built Docker containers for open-BMC #25

AtomicFS opened this issue Jul 13, 2023 · 5 comments
Assignees
Labels
docker docker related feature New feature or request github_actions Pull requests that update GitHub Actions code help_wanted Extra attention is needed low_priority Not very important testing Testing related

Comments

@AtomicFS
Copy link
Collaborator

No description provided.

@MDr164
Copy link
Collaborator

MDr164 commented Aug 16, 2023

Automatically testing those containers on GitHubs runners might not be possible due to them requiring a lot of disk space. I guess we will have to blindly create those and then test those locally. Generally speaking the container to do so is not that complex. Building OpenBMC is a matter of having a sane base e.g. Ubuntu as we use on the other containers, the dependencies as usual (mostly python, gcc toolchain, etc.) and then run two commands: . setup $BOARD_NAME followed by bitbake obmc-phosphor-image. After that grab a coffee in the neighboring city by bike and go back, if you're lucky the process has finished by then.

@AtomicFS
Copy link
Collaborator Author

Might be interesting idea to look into KAS which does not build everything from source, but from pre-compiled distro repositories.

@AtomicFS AtomicFS added github_actions Pull requests that update GitHub Actions code and removed github actions labels Feb 14, 2024
@AtomicFS AtomicFS added the low_priority Not very important label Jul 22, 2024
@MDr164
Copy link
Collaborator

MDr164 commented Aug 22, 2024

I recently had a discussion about extending CI storage in ephemeral runners using online network storage which might solve the issue of being limited to 14G storage BUT will in turn slow down file operations even further. The idea would be to mount something like an S3 bucket into the runner and then set the working directory into the mounted network storage, effectively enlarging the disk space to what is needed. But I still don't think this is the best solution here.

@AtomicFS
Copy link
Collaborator Author

AtomicFS commented Aug 22, 2024

While that is an option, I fear it would slow down the build my at least an entire order of magnitude.
Just by comparing cheap SSD read speeds (500 MB/s for 2.5" and 1600 MB/s for M.2 SATA) vs 1 Gb/s connection (128 MB/s). That is assuming that you get full speed out of the network with no overhead. They are probably hosting their runners on faster HW than some cheap SSD.

@AtomicFS AtomicFS reopened this Aug 22, 2024
@AtomicFS
Copy link
Collaborator Author

Sorry, closed by mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker docker related feature New feature or request github_actions Pull requests that update GitHub Actions code help_wanted Extra attention is needed low_priority Not very important testing Testing related
Projects
None yet
Development

No branches or pull requests

2 participants