0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-13 23:40:39 +00:00
wp-opentofu/.drone.yml

34 lines
649 B
YAML
Raw Normal View History

2016-10-08 17:17:12 +00:00
workspace:
base: /go
path: src/github.com/drone-plugins/drone-terraform
pipeline:
test:
image: golang:1.6
environment:
- CGO_ENABLED=0
commands:
- go test -cover -coverprofile=coverage.out
2016-10-09 05:08:37 +00:00
- go build -ldflags "-s -w -X main.revision=$(git rev-parse HEAD)" -a
2015-11-09 19:23:42 +00:00
2016-01-26 22:47:58 +00:00
coverage:
2016-10-08 17:17:12 +00:00
image: coverage
2016-01-26 22:47:58 +00:00
when:
branch: master
2016-10-08 17:17:12 +00:00
latest:
image: docker
2016-01-26 22:47:58 +00:00
repo: plugins/drone-terraform
2016-10-08 17:17:12 +00:00
tags: [ "latest", "1.0", "1" ]
2015-11-09 19:23:42 +00:00
when:
branch: master
2016-10-08 17:17:12 +00:00
event: push
2015-11-09 19:23:42 +00:00
plugin:
name: Terraform
2016-01-26 22:47:58 +00:00
desc: Execute Terraform plan and apply
2015-11-10 14:52:53 +00:00
type: deploy
2016-01-26 22:47:58 +00:00
image: plugins/drone-terraform
2015-11-09 19:23:42 +00:00
labels:
- terraform