Build, test and push
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user