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

Asset job could accept Blender version information so smaller container could be used #42

Open
agajdosi opened this issue Jan 29, 2025 · 4 comments
Assignees

Comments

@agajdosi
Copy link
Member

Right now the RESOLUTIONS job downloads huge container which has all versions of Blender installed. It gets bigger and bigger and will cause problems in the future.

As solution the server should trigger the asset_tasks job with additional field of blender_version. The job will then start the container with just a single version of Blender which will be aligned with the requested Blender version.

@agajdosi
Copy link
Member Author

@PetrDlouhy Would it be a lot of work on the server side?

@agajdosi agajdosi self-assigned this Jan 29, 2025
@PetrDlouhy
Copy link

@agajdosi Just to add this field?

Image

That would be super easy.

@PetrDlouhy
Copy link

https://github.com/BlenderKit/BlenderKit-server/pull/1233
Along with 2 other fields.

@agajdosi
Copy link
Member Author

@PetrDlouhy Cool, but let's keep it simple, the add-on version nor the source app is needed now. I have updated the process_asset_tasks workflow to accept the source Blender version under parameter source_app_version (387e453).

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

No branches or pull requests

2 participants