Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Releases: bcgov/sfts2s3

v1.1.0

03 Nov 22:48
72b059e

Choose a tag to compare

Introduces options: run-on-init, mode, and no-clobber-copy. New options are defaulted to maintain backwards compatibility with v1.0.0.

  • run-on-init if true will trigger a SFTS2S3 transfer process once at deployment time. Deployment will continue to run according to cron-time-spec if set. To retain v1.0.0 behavior, this option defaults to false.
  • mode introduces a cp mode, which will preserve files in SFTS without deleting them after the transfer as v1.0.0 did. To retain v1.0.0 behavior, this option defaults to mv.
  • no-clobber introduces a the option to not overwrite files in S3 if files of the same name already exist. Enabled by setting to true. To retain v1.0.0 behavior, this option defaults to flase.

v1.0.0

03 Nov 22:45
85e1b63

Choose a tag to compare

  • Moves all files from SFTS to the S3 bucket under the S3 path prefix specified
  • Clobbers files in S3 when moving identically named files (or causes a new version of the file if S3 bucket versioning is enabled)
  • Drains files from SFTS by default (as in a mv rather than a cp)