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

Run github actions in parallel #37

Open
eliasbakken opened this issue May 30, 2024 · 4 comments
Open

Run github actions in parallel #37

eliasbakken opened this issue May 30, 2024 · 4 comments
Assignees
Labels
Milestone

Comments

@eliasbakken
Copy link
Contributor

We are currently running the build sequentially, but the builds should run in parallel to save time.

@eliasbakken eliasbakken added this to the v1.1.0 milestone May 30, 2024
@eliasbakken eliasbakken self-assigned this May 30, 2024
@eliasbakken
Copy link
Contributor Author

We might want to start 4 docker containers each with it's own runner instead of having 4 runners directly on the server.
https://baccini-al.medium.com/how-to-containerize-a-github-actions-self-hosted-runner-5994cc08b9fb

@eliasbakken
Copy link
Contributor Author

4 runners are now working in parallel. Closing.

@eliasbakken
Copy link
Contributor Author

The server dies, probably runs out of memory or something. Perhaps the resources should be lowered for each container.

@eliasbakken eliasbakken reopened this Jun 29, 2024
@eliasbakken
Copy link
Contributor Author

The memory is 16 GB, which is a bit low. The swap file is a separate partition of 1 GB and it seems this might be the reason. I've added a second swap file of 10 GB that might work.

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

No branches or pull requests

1 participant