-
Notifications
You must be signed in to change notification settings - Fork 249
Run bats test with TMPDIR pointing at /mnt/tmp #1548
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
Conversation
Reviewer's GuideThis PR updates the GitHub Actions CI workflow to create and use /mnt/tmp as the temporary directory (TMPDIR) for bats tests, ensuring sufficient disk space. Flow diagram for bats test execution with custom TMPDIRflowchart TD
Start([Start CI Job])
Mkdir[/Create /mnt/tmp directory/]
SetTMPDIR[Set TMPDIR to /mnt/tmp]
Validate[Run make validate]
Bats[Run make bats]
End([End])
Start --> Mkdir --> SetTMPDIR --> Validate --> Bats --> End
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
@ericcurtin going to try this again, I am not sure why you reverted this one before. This should only run on Ubuntu systems. |
Signed-off-by: Daniel J Walsh <[email protected]>
@@ -103,6 +103,9 @@ jobs: | |||
|
|||
- name: run bats | |||
run: | | |||
# /mnt has ~ 65 GB free disk space. / is too small. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno if this one makes a difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm gonna assume no, we got a green build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was several issues with the last version of this PR, this PR is different, failed on macOS, runroot path too long, I was battling with it for hours, this might be worth changing:
to
to see if it works, if we hit this issue, this PR is different only does TMPDIR in one place. The runroot character length restriction was removed in the latest podman, I tried to install Ubuntu 25.04 podman on 24.04, it failed badly. Hopefully we see a green build |
Summary by Sourcery
CI: