Drone plugins > Google Cloud Storage
google_gcs.svg

Google Cloud Storage

by wyattjoh


The Google Cloud Storage plugin uploads files and build artifacts to your Google Cloud Storage bucket.

Example

kind: pipeline
name: default

steps:
- name: pipeline  
  image: wyattjoh/drone-gcs
  settings:
    acl: public
    bucket: "my-bucket-name"
    source: public/**/*
    strip_prefix: public/
    target: /target/location

Properties

  • bucket

    stringrequired

    bucket name

    Secret recommended

    Default: none

  • acl

    stringoptional

    access to files that are uploaded (private, public)

    Default: none

  • source

    stringrequired

    source location of the files, using a glob matching pattern

    Default: none

  • target

    stringrequired

    target location of files in the bucket

    Default: none

  • compress

    booleanoptional

    gzip files before they are uploaded and add a Content-Encoding gzip

    Default: false

  • strip_prefix

    booleanoptional

    strip the prefix from source path

    Default: false

  • exclude

    stringoptional

    glob exclusion patterns

    Default: none