Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

tosametal/digdag-plugin-s3-touch

Repository files navigation

digdag-plugin-s3-touch

CircleCI

Usage

_export:
  plugin:
    repositories:
      - https://jitpack.io/
    dependencies:
      - com.github.tosametal:digdag-plugin-s3-touch:0.0.2

  s3_touch:
    bucket_name: bucket_name
    access_key: access_key
    secret_key: secret_key
    service_endpoint: service_endpoint
    default_region: default_region
    access_control_list: access_control_list
    # proxy_host: proxy_host
    # proxy_port: proxy_port

+task:
  s3_touch>: path/to/flag
  • select access_control_list from private, public-read, public-read-write, authenticated-read, log-delivery-write, bucket-owner-read, bucket-owner-full-control and aws-exec-read
  • proxy_host and proxy_port is optional

See sample directory

Build

./gradlew publish

Run a sample workflow in local environment

(1)Remove .digdag directory

rm -rf .digdag

(2)Build plugin

./gradlew publish

(3)Set secrets

cp sample/secrets.json sample/secrets.prod.json

overwrite sample/secrets.prod.json with your settings

digdag secrets --local --project sample --set @sample/secrets.prod.json

(4)Run a sample workflow

digdag run --project sample plugin.dig -p repos=`pwd`/build/repo --session "2018-12-15 00:00:00"

Code Format

./gradlew spotlessApply

Test

./gradlew test

About

digdag plugin for uploading file to amzon s3

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages