drone-plugins/drone-gcs

Name: drone-gcs

Owner: drone-plugins

Description: Drone plugin for publishing files or artifacts to Google Cloudstorage

Created: 2015-11-17 18:19:59.0

Updated: 2018-05-15 09:59:38.0

Pushed: 2018-04-22 10:14:11.0

Homepage:

Size: 531

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

drone-gcs

Build Status Join the discussion at https://discourse.drone.io Drone questions at https://stackoverflow.com Go Doc Go Report

Drone plugin to publish files and artifacts to Google Cloud Storage. For the usage information and a listing of the available options please take a look at the docs.

Build

Build the binary with the following commands:

uild
Docker

Build the Docker image with the following commands:

=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gcs
er build --rm -t plugins/gcs .
Usage
er run --rm \
 PLUGIN_SOURCE="dist" \
 PLUGIN_TARGET="bucket/dir/" \
 PLUGIN_IGNORE="bin/*" \
 PLUGIN_ACL="allUsers:READER,user@domain.com:OWNER" \
 PLUGIN_GZIP="js,css,html" \
 PLUGIN_CACHE_CONTROL="public,max-age=3600" \
 PLUGIN_METADATA='{"x-goog-meta-foo":"bar"}' \
 $(pwd):$(pwd) \
 $(pwd) \
ugins/gcs

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.