0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-11-28 18:20:35 +00:00

Updated drone config to 0.5 best practice

This commit is contained in:
Thomas Boerger 2016-07-22 19:36:15 +02:00
parent bc210137f1
commit c9ac50d723
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
2 changed files with 9 additions and 6 deletions

View File

@ -1,17 +1,20 @@
workspace:
base: /go
pipeline: pipeline:
test: test:
image: golang:1.6 image: golang:1.6
environment: environment:
- CGO_ENABLED=0 - CGO_ENABLED=0
- GO15VENDOREXPERIMENT=1
- GOPATH=/drone
commands: commands:
- go vet
- go test -cover -coverprofile=coverage.out - go test -cover -coverprofile=coverage.out
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" - go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER"
docker:
storage_driver: vfs latest:
image: docker
repo: plugins/docker repo: plugins/docker
tag: [ "latest", "1.0", "1" ] tags: [ "latest", "1.0", "1" ]
when: when:
branch: master branch: master
event: push event: push

View File

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