0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-21 14:50:39 +00:00

Updated drone config to 0.5 best practice

This commit is contained in:
Thomas Boerger 2016-07-31 19:06:39 +02:00
parent 6f6cb24055
commit d1dd9c6ca7
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
2 changed files with 11 additions and 7 deletions

View File

@ -2,15 +2,19 @@ workspace:
base: /go
pipeline:
build:
test:
image: golang:1.6
environment:
- CGO_ENABLED=0
commands:
- CGO_ENABLED=0 go build
- go vet
- go test -cover -coverprofile=coverage.out
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo
docker:
repo: plugins/drone-s3-sync
storage_driver: overlay
tag: latest
latest:
image: docker
repo: plugins/s3-sync
tags: [ "latest", "1.0", "1" ]
when:
branch: master
event: push

View File

@ -1 +1 @@
eyJhbGciOiJIUzI1NiJ9.d29ya3NwYWNlOgogIGJhc2U6IC9nbwogIHBhdGg6IHNyYy9naXRodWIuY29tL2Ryb25lLXBsdWdpbnMvZHJvbmUtczMtc3luYwoKcGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogZ29sYW5nOjEuNgogICAgZW52aXJvbm1lbnQ6CiAgICAgIC0gQ0dPX0VOQUJMRUQ9MAogICAgY29tbWFuZHM6CiAgICAgIC0gbWFrZSB2ZXQKICAgICAgLSBtYWtlIGJ1aWxkCiAgICAgIC0gbWFrZSB0ZXN0CgogIGRvY2tlcjoKICAgIHJlcG86IHBsdWdpbnMvZHJvbmUtczMtc3luYwogICAgc3RvcmFnZV9kcml2ZXI6IG92ZXJsYXkKICAgIHRhZzogbGF0ZXN0CiAgICB3aGVuOgogICAgICBicmFuY2g6IG1hc3RlcgogICAgICBldmVudDogcHVzaAoKcGx1Z2luOgogIG5hbWU6IFMzIFN5bmMKICBkZXNjOiBTeW5jIGEgZGlyZWN0b3J5IHdpdGggYW4gQW1hem9uIFMzIEJ1Y2tldAogIHR5cGU6IHB1Ymxpc2gKICBpb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