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

Add /tmp volume to media download task container #129

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

philmcmahon
Copy link
Contributor

What does this change?

I've seen occasionaly failures in the media download service because yt-dlp yt-dlp needs to be able to write to the /tmp directory. In #114 I made the media export filesystem read only, allowing writes to a /media-download mounted volume. This PR adds an extra volume to support writing to /tmp.

How to test

I've tested this on CODE. As it doesn't happen every time it's hard to test properly but I think it's a fairly harmless change.

@philmcmahon philmcmahon requested a review from a team as a code owner January 31, 2025 11:17
@philmcmahon philmcmahon changed the title Add /tmp volume media download service Add /tmp volume to media download task container Jan 31, 2025
};
mediaDownloadTask.taskDefinition.addVolume(volume);
const tempVolume = {
Copy link
Contributor

Choose a reason for hiding this comment

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

might be worth a comment explaining why this is needed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good shout

@philmcmahon philmcmahon merged commit db82a5a into main Feb 7, 2025
4 of 5 checks passed
@philmcmahon philmcmahon deleted the pm-add-tmp-volume-media-download branch February 7, 2025 11:38
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.

2 participants