Sign inSign up

ukos/printserver-postprocess

By ukos

•Updated over 4 years ago

drone plugin for postprocessing scanned data

Image
0

2.2K

ukos/printserver-postprocess repository overview

⁠printserver-postprocess

This is a drone plugin for converting scanned *.tiff or *.pnm files to pdf

Available settings variables and their standard settings:

    PLUGIN_VERBOSE=1
    PLUGIN_BASE_DIR="/printserver/data"
    PLUGIN_STORAGE="cache"
    PLUGIN_OUTPUT="_build"
    PLUGIN_DESTINATION="processed.pdf"
    PLUGIN_FILE_POOL=SnapScanLossless
    PLUGIN_FILE_FORMAT=tiff
    PLUGIN_SCAN_LANG=deu

Remove PLUGIN_ prefix when configuring the .drone.yml plugin.

Example plugin:

kind: pipeline
name: default

clone:
  depth: 1

steps:
- name: postprocess
  image: ukos/printserver-postprocess
  settings:
    BASE_DIR: .
    STORAGE: cache
    DESTINATION: processed.pdf
    FILE_POOL: SnapScanLossless
    FILE_FORMAT: tiff
    SCAN_LANG: deu
    VERBOSE: 1
  when:
    branch:
      exclude:
      - master

trigger:
  branch:
    - scan/*
  event:
  - push

Tag summary

Content type

Image

Digest

Size

450.5 MB

Last updated

over 4 years ago

docker pull ukos/printserver-postprocess