hikerspath
4/8/2019 - 8:47 PM

Drone Pipeline (S3 Caching)

Each file / directory in the mount list will be individually archived and cached to the specified S3 bucket beneat the repository

  # Download previously cached info from S3
  cache-restore:
    image: meltwater/drone-cache
    bucket: __AWS_bucket__
    restore: true
    region: eu-west-1
    mount:
      - some_workspace_dir
  # Push adjusted code back up to S3
  cache-rebuild:
    image: meltwater/drone-cache
    bucket: __AWS_bucket__
    rebuild: true
    region: eu-west-1
    mount:
      - some_workspace_dir