JSPM

lucky-render-upload-log

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q25797F
  • License ISC

This is a library that allows you to upload the render worker log file to the cloud.

Package Exports

  • lucky-render-upload-log

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lucky-render-upload-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

lucky-render-upload-log

This library is used as a nexrender postrender action to upload the render worker log file to the cloud. It utilizes the provider packages of Nexrender and supports the same cloud uploads as the regular nexrender/action-upload

Usage

Install using npm or yarn

npm install lucky-render-upload-log / yarn add lucky-render-upload-log 

Usage from the api/client sdk.

actions: {
    postrender: [
        {
                "module": "lucky-render-upload-log",
                "provider": "s3",
                "params": {
                    "region": "eu-west-1",
                    "bucket": "bucket-name",
                    "key": "logs",
                    "acl": "private"
                }
            }
    ]
    
}

How it works

The module will upload the logfile to the supplied key and S3 Bucket.

Notes

Note that you don't need to supply the file name in the key, it only needs a folder name. The script will append the job log to the key.