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

39 lines
681 B
YAML
Raw Normal View History

2015-11-09 19:23:42 +00:00
build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
2016-01-26 22:47:58 +00:00
- make deps
- make vet
- make build
- make test
2015-11-09 19:23:42 +00:00
publish:
2016-01-26 22:47:58 +00:00
coverage:
when:
branch: master
2015-11-09 19:23:42 +00:00
docker:
2016-01-26 22:47:58 +00:00
username: $$DOCKER_USER
2015-11-09 19:23:42 +00:00
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
2016-01-26 22:47:58 +00:00
repo: plugins/drone-terraform
tag: latest
2015-11-09 19:23:42 +00:00
when:
branch: master
2016-01-26 22:47:58 +00:00
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-terraform
tag: develop
when:
branch: develop
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