0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-09-20 01:42:45 +02:00
wp-opentofu/.drone.yml

39 lines
681 B
YAML
Raw Normal View History

2015-11-09 20:23:42 +01:00
build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
2016-01-26 23:47:58 +01:00
- make deps
- make vet
- make build
- make test
2015-11-09 20:23:42 +01:00
publish:
2016-01-26 23:47:58 +01:00
coverage:
when:
branch: master
2015-11-09 20:23:42 +01:00
docker:
2016-01-26 23:47:58 +01:00
username: $$DOCKER_USER
2015-11-09 20:23:42 +01:00
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
2016-01-26 23:47:58 +01:00
repo: plugins/drone-terraform
tag: latest
2015-11-09 20:23:42 +01:00
when:
branch: master
2016-01-26 23:47:58 +01:00
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-terraform
tag: develop
when:
branch: develop
2015-11-09 20:23:42 +01:00
plugin:
name: Terraform
2016-01-26 23:47:58 +01:00
desc: Execute Terraform plan and apply
2015-11-10 15:52:53 +01:00
type: deploy
2016-01-26 23:47:58 +01:00
image: plugins/drone-terraform
2015-11-09 20:23:42 +01:00
labels:
- terraform