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

Runners crash when building too many rocks #153

Closed
lucabello opened this issue Mar 15, 2024 · 0 comments · Fixed by #154
Closed

Runners crash when building too many rocks #153

lucabello opened this issue Mar 15, 2024 · 0 comments · Fixed by #154

Comments

@lucabello
Copy link
Contributor

When a PR is modifying multiple rocks, the rock-pull-request.yaml workflow will try to build all of them. However, without some cleanup we fill up the disk of the runner, which in turn makes CI fail.

We should run at least rockcraft clean (which might be enough if we run it as we build every rock), or something along the lines of:

for instance in $(lxc list --project= rockcraft --format json | jq -r '.[] | select(.name | startswith("rockcraft-")) | .name'); do
    lxc --project=rockcraft delete $instance
done
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.

1 participant