* OP-6439 - mark farm rendered images for deletion only if not persistent
Farm produces images into `renders` folder, which might be set as persistent for some hosts (Nuke). Mark rendered images for explicit deletion if they are not stored in persistent staging folder.
* OP-6439 - allow storing of stagingDir_persistent into metadata.json
Instance could carry `stagingDir_persistent` flag denoting that staging dir shouldnt be deleted. This allow to propagate this into farm publishing.
TODO - shouldnt this be on representation as stagingDir is there and each repre could have different stagingDir?
* OP-6439 - mark all Nuke staging dir as persistent
Backward compatibility as previously Nuke kept images rendered in `renders` eg. stagingDir. There are workflows which rely on presence of files in `renders` folder.
* Update openpype/pipeline/farm/pyblish_functions.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
---------
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
* use proper start script
* implemented ayon variants of execute functions
* more suitable names of functions
* use 'PACKAGE_DIR' instead of 'OPENPYPE_REPOS_ROOT' environment variable
* use suitable enviornment variables in ayon mode
* keep sync server in openpype
* Better comment
* OP-6407 - fix wrong value used in comparison
`prerender.farm` is correct value for prerender family sent to farm
* OP-6407 - added test class for prerender family
* apply project environemnts after context environments are set
* make asset and task environments optional
* added more conditions for host environemnts
* validate context for host
* fix double negative
* removed AYON launch logic from OpenPype
* updated ayon api to 0.3.3
* removed common from include files
---------
Co-authored-by: 64qam <dvorak.peta@gmail.com>
Ayon code will get purged in the future therefore all ayon_common will be gone. file_handler gets internalized to tests as it is not used anywhere else.
* implemented helper functions to get ffmpeg and oiio tool arguments
* modified validation functions to be able to handle list of arguments
* path getters can return a path in AYON mode if one argument is returned
* removed test exception
* modified docstrings
* is_oiio_supported is using new functions to get launch arguments
* new functions are in lib public =
* use new functions all over the place
* renamed 'ffmpeg_path' to 'ffmpeg_args'
* raise 'ToolNotFoundError' if tool argument could not be found
* reraise 'KnownPublishError' in publish plugins
* fix comment
* simplify args start
* ffmpeg and oiio function require tool name and support additional arguments
* renamed 'get_oiio_tools_args' to 'get_oiio_tool_args'
* fix variable name