Build, test and push

This commit is contained in:
2026-07-24 23:50:12 +02:00
parent d57e2ac46c
commit 7734668166
7 changed files with 232 additions and 37 deletions
+16 -7
View File
@@ -5,7 +5,22 @@
This repository is an automated blender docker image file generated, it's usefully with blender addon unit test.
# Adding an Addon
# Building
## Start your build
You can use Invoke to easily start a build, a clean or more.
```shell
invoke --li
```
## Debug and logs
Some log are generated inside a `logs` folder.
- `build`: all operation on build docker file.
- `clean`: from the dedicated function to clean all dockers images and cache.
- `test`: simple class method to try a specific docker image.
## Check if the build work
# Use case
## Adding an Addon
Mount a new volume with your addon inside a folder (ex `/blender-plugin/plugin-archive.zip`), when you run your docker container add this volume and execute a script to add-it with the blender installed.
Python function to install an addon with Blender. The file his named `install.py`
@@ -59,9 +74,3 @@ python -m blender.cli get-tags-release
python -m blender.cli get-tags-docker
```
# Logs
Some log are generated inside a `logs` folder.
- `build`: all operation on build docker file.
- `clean`: from the dedicated function to clean all dockers images and cache.
- `test`: simple class method to try a specific docker image.