2016-05-13 06:54:07 +00:00
|
|
|
workspace:
|
|
|
|
base: /go
|
|
|
|
path: src/github.com/drone-plugins/drone-s3-sync
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: golang:1.6
|
|
|
|
environment:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
commands:
|
|
|
|
- make vet
|
|
|
|
- make build
|
|
|
|
- make test
|
2015-10-16 20:09:45 +00:00
|
|
|
|
2016-01-18 21:32:57 +00:00
|
|
|
docker:
|
|
|
|
repo: plugins/drone-s3-sync
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: master
|
2016-05-13 06:54:07 +00:00
|
|
|
event: push
|
2015-10-16 20:09:45 +00:00
|
|
|
|
|
|
|
plugin:
|
|
|
|
name: S3 Sync
|
2016-01-18 21:32:57 +00:00
|
|
|
desc: Sync a directory with an Amazon S3 Bucket
|
2015-10-16 20:09:45 +00:00
|
|
|
type: publish
|
|
|
|
image: plugins/drone-s3-sync
|
|
|
|
labels:
|
|
|
|
- publish
|
|
|
|
- artifacts
|
|
|
|
- amazon
|
|
|
|
- aws
|
|
|
|
- s3
|