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

patch(integration_test_charm.yaml): Free up disk space #104

Merged
merged 9 commits into from
Nov 30, 2023

Conversation

carlcsaposs-canonical
Copy link
Contributor

Reduce issues with running out of disk space (causing the runner to crash)

@carlcsaposs-canonical carlcsaposs-canonical force-pushed the free-disk-space branch 3 times, most recently from 613adba to 6aaafa6 Compare November 29, 2023 10:42
@carlcsaposs-canonical carlcsaposs-canonical changed the base branch from main to get-workflow-fix November 29, 2023 11:03
@carlcsaposs-canonical
Copy link
Contributor Author

depends on #105

Copy link

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but:

  1. Are we cleaning the same pathes for Canonical runners GH runners? It looks strange, but code is correct. LGTM.

  2. we will have surprises if AGENT_TOOLSDIRECTORY=/

Better safe then sorry (c) MrMEEE/bumblebee-Old-and-abbandoned#123.

IMHO, at least:

: "${AGENT_TOOLSDIRECTORY?ERROR: variable 'AGENT_TOOLSDIRECTORY' is NOT defined, aborted.}"
...
rm -rf "${AGENT_TOOLSDIRECTORY:?}"

Base automatically changed from get-workflow-fix to main November 29, 2023 11:33
Copy link

@taurus-forever taurus-forever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice improvements! It will be useful to see disk details in all test stages. Tnx!

@carlcsaposs-canonical carlcsaposs-canonical merged commit 971e6b5 into main Nov 30, 2023
1 check passed
@carlcsaposs-canonical carlcsaposs-canonical deleted the free-disk-space branch November 30, 2023 13:01
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 this pull request may close these issues.

None yet

3 participants