flamenco/debug-job-render.sh
Sybren A. Stüvel 11a352968a Fix T99434: Two-way Variables
Two-way variable implementation in the job submission end-point. Where
Flamenco v2 did the variable replacement in the add-on, this has now
been moved to the Manager itself. The only thing the add-on needs to
pass is its platform, so that the right values can be recognised.

This also implements two-way replacement when tasks are handed out, such
that the `{jobs}` value gets replaced to a value suitable for the
Worker's platform as well.
2022-07-22 11:58:35 +02:00

31 lines
790 B
Bash
Executable File

#!/bin/bash
curl -v -X 'POST' \
'http://localhost:8080/api/v3/jobs' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"metadata": {
"project": "Debugging Flamenco",
"user.name": "コードモンキー"
},
"name": "Test Render",
"type": "simple-blender-render",
"settings": {
"add_path_components": 0,
"blender_cmd": "{blender}",
"blendfile": "flamenco-test.blend",
"chunk_size": 30,
"format": "PNG",
"fps": 24,
"frames": "1-60",
"image_file_extension": ".png",
"images_or_video": "images",
"render_output_path": "/tmp/flamenco/Demo for Peoples/######",
"render_output_root": "/tmp/flamenco/",
"video_container_format": "MPEG1"
},
"priority": 50,
"submitter_platform": "manager"
}'